summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2019-06-02 15:20:27 +0000
committerDaniel Bermond2019-06-02 15:22:20 +0000
commit719018ddc8e14bdc8b01d2af2eb43ba7c3b510a3 (patch)
treeda12c2752c5fcdcbcdbbb06b5103d56e745edb9d
parent253fcfe021c6e96511ec54f917e864fb388f49a8 (diff)
downloadaur-719018ddc8e14bdc8b01d2af2eb43ba7c3b510a3.tar.gz
Rewrite
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD60
2 files changed, 26 insertions, 57 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 810b13817389..b3487f32e3c7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,30 +1,21 @@
pkgbase = xine-ui-hg
- pkgdesc = A free video player for Unix (Mercurial version with all possible libs)
- pkgver = 0.99.10.r3326.12aa9b3c98fb
+ pkgdesc = A free video player for Unix (mercurial version)
+ pkgver = 0.99.10.r3349.44f5b990a7ad
pkgrel = 1
url = https://www.xine-project.org/
- arch = i686
arch = x86_64
- license = GPL2
- makedepends = libxt
+ license = GPL
makedepends = mercurial
- depends = desktop-file-utils
- depends = hicolor-icon-theme
- depends = libcaca
+ depends = xine-lib
+ depends = curl
depends = libxft
- depends = libxinerama
- depends = libxss
- depends = libxtst
- depends = libxv
depends = libxxf86vm
depends = lirc
- depends = shared-mime-info
- depends = tar
depends = xdg-utils
- depends = xine-lib
+ depends = libxss
provides = xine-ui
conflicts = xine-ui
- source = xine-ui-hg::hg+http://hg.code.sf.net/p/xine/xine-ui
+ source = hg+http://hg.code.sf.net/p/xine/xine-ui
sha256sums = SKIP
pkgname = xine-ui-hg
diff --git a/PKGBUILD b/PKGBUILD
index e396f7c8137b..31bf29f7b1c1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,64 +1,42 @@
-# Maintainer: Daniel Bermond < yahoo-com: danielbermond >
+# Maintainer: Daniel Bermond < gmail-com: danielbermond >
pkgname=xine-ui-hg
-pkgver=0.99.10.r3326.12aa9b3c98fb
+pkgver=0.99.10.r3349.44f5b990a7ad
pkgrel=1
-pkgdesc='A free video player for Unix (Mercurial version with all possible libs)'
-arch=('i686' 'x86_64')
+pkgdesc='A free video player for Unix (mercurial version)'
+arch=('x86_64')
url='https://www.xine-project.org/'
-license=('GPL2')
-depends=('desktop-file-utils' 'hicolor-icon-theme' 'libcaca' 'libxft'
- 'libxinerama' 'libxss' 'libxtst' 'libxv' 'libxxf86vm' 'lirc'
- 'shared-mime-info' 'tar' 'xdg-utils' 'xine-lib')
-makedepends=('libxt' 'mercurial')
+license=('GPL')
+depends=('xine-lib' 'curl' 'libxft' 'libxxf86vm' 'lirc' 'xdg-utils' 'libxss')
+makedepends=('mercurial')
provides=('xine-ui')
conflicts=('xine-ui')
-source=("$pkgname"::'hg+http://hg.code.sf.net/p/xine/xine-ui')
+source=('hg+http://hg.code.sf.net/p/xine/xine-ui')
sha256sums=('SKIP')
pkgver() {
- cd "$pkgname"
+ cd xine-ui
- # mercurial
- printf '%s.r%s.%s' "$(hg log --rev='branch(default) and tag()' --template='{tags}\n' | \
- grep '^[0-9]*\(\.[0-9]*\(\.[0-9]*\(\.[0-9]*\)\?\)\?\)\?$' | \
- sort -Vr | \
- head -n1)" \
- "$(hg identify -n)" \
- "$(hg identify -i)"
+ local _version
+ _version="$(hg log --rev='branch(default) and tag()' --template='{tags}\n' |
+ grep '^[0-9]*\(\.[0-9]*\(\.[0-9]*\(\.[0-9]*\)\?\)\?\)\?$' |
+ sort -Vr | head -n1)"
+ printf '%s.r%s.%s' "$_version" "$(hg identify -n)" "$(hg identify -i)"
}
build() {
- cd "$pkgname"
-
- ./autogen.sh
-
- LIBS='-ldl' \
- ./configure \
+ cd xine-ui
+ ./autogen.sh \
--prefix='/usr' \
--mandir='/usr/share/man' \
- --enable-nls \
- --enable-shm \
- --enable-xinerama \
- --disable-aalibtest \
- --enable-mbs \
- --enable-xft \
- --enable-lirc \
- --enable-vdr-keys \
- --disable-nvtvsimple \
- --disable-debug \
--with-x \
- --with-curl \
+ --enable-lirc \
--without-aalib \
- --with-caca \
- --with-fb \
- --with-tar
-
+ --enable-debug
make
}
package() {
- cd "$pkgname"
-
+ cd xine-ui
make DESTDIR="$pkgdir" desktopdir='/usr/share/applications' install
}