summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2019-06-02 15:19:53 +0000
committerDaniel Bermond2019-06-02 15:19:53 +0000
commit871a2e13f615c5606f85750926427ff35cb9820d (patch)
tree1176e672fedf2d8bfee6d8ced92afc5f6e859f92
parent5a8e3786007a15df795a7a858e53787885b571fb (diff)
downloadaur-871a2e13f615c5606f85750926427ff35cb9820d.tar.gz
Rewrite
-rw-r--r--.SRCINFO96
-rw-r--r--PKGBUILD195
2 files changed, 79 insertions, 212 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3bcafea0fe7b..daf329d06bf3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,82 +1,58 @@
pkgbase = xine-lib-hg
- pkgdesc = A multimedia playback engine (Mercurial version with all possible libs)
- pkgver = 1.2.9.r13885.1868bc14317c
+ pkgdesc = A multimedia playback engine (mercurial version)
+ pkgver = 1.2.9.r14420.88e48552a162
pkgrel = 1
url = https://www.xine-project.org/
- arch = i686
arch = x86_64
- license = GPL2
- license = LGPL2.1
+ license = GPL
+ license = LGPL
makedepends = mercurial
- makedepends = a52dec
- makedepends = aalib
+ makedepends = wavpack
makedepends = faad2
- makedepends = ffmpeg
- makedepends = gdk-pixbuf2
- makedepends = glu
- makedepends = libmagick6
+ makedepends = libmng
+ makedepends = imagemagick
+ makedepends = mesa
+ makedepends = libmodplug
+ makedepends = vcdimager
makedepends = jack
- makedepends = libcaca
- makedepends = libcdio
- makedepends = libbluray
+ makedepends = aalib
makedepends = libdca
- makedepends = libdvdnav
+ makedepends = a52dec
makedepends = libmad
- makedepends = libmng
+ makedepends = libdvdnav
makedepends = libmpcdec
- makedepends = libpulse
+ makedepends = libcaca
+ makedepends = libbluray
makedepends = libvdpau
- makedepends = libxinerama
- makedepends = libxvmc
- makedepends = sdl
- makedepends = smbclient
- makedepends = v4l-utils
- makedepends = vcdimager
- makedepends = wavpack
- makedepends = esound
- makedepends = gnome-vfs-nosmb
- makedepends = sndio
- depends = fontconfig
- optdepends = a52dec: for using the a52 plugin
- optdepends = aalib: for using the aalib plugin
- optdepends = alsa-lib: for using the alsa plugin
- optdepends = esound: for using the esound plugin
- optdepends = faad2: for using the faad plugin
- optdepends = ffmpeg: for using the ff/avformat/avutil plugin
- optdepends = flac: for using the flac plugin
- optdepends = gdk-pixbuf2: for using the gdk-pixbuf plugin
- optdepends = glu: for using the opengl plugin
- optdepends = gnome-vfs-nosmb: for using the gnome-vfs plugin
+ makedepends = glu
+ makedepends = gdk-pixbuf2
+ depends = libxvmc
+ depends = ffmpeg
+ depends = libxinerama
+ depends = libnsl
+ depends = libssh2
optdepends = imagemagick: for using the imagemagick plugin
optdepends = jack: for using the jack plugin
- optdepends = libbluray: for using the bluray plugin
- optdepends = libcaca: for using the caca plugin
- optdepends = libcdio: for using the cd plugin
- optdepends = libdca: for using the dts plugin
- optdepends = libdvdnav: for using the dvd plugin
- optdepends = libjpeg-turbo: for using the libjpeg plugin
- optdepends = libmad: for using the mp3 plugin
+ optdepends = vcdimager: for using the vcd plugin
+ optdepends = glu: for using the opengl plugin
+ optdepends = wavpack: for using the wavpack plugin
+ optdepends = faad2: for using the faad plugin
optdepends = libmng: for using the mng plugin
+ optdepends = aalib: for using the aalib plugin
optdepends = libmodplug: for using the modplug plugin
+ optdepends = libdca: for using the dca plugin
+ optdepends = a52dec: for using the a52 plugin
+ optdepends = libmad: for using the mp3 plugin
+ optdepends = libdvdnav: for using the dvd plugin
optdepends = libmpcdec: for using the musepack plugin
- optdepends = libpulse: for using the pulseaudio plugin
- optdepends = libtheora: for using the xiph plugin
- optdepends = libva: for using the vaapi plugin
- optdepends = libvdpau: for using the vdpau plugin
- optdepends = libvorbis: for using the xiph plugin
- optdepends = libvpx: for using the libvpx plugin
- optdepends = libxcb: for using the xcb-shm and xcb-xv plugins
- optdepends = libxinerama: for using the xv plugin
- optdepends = sdl: for using the sdl plugin
+ optdepends = libcaca: for using the caca plugin
+ optdepends = libbluray: for using the bluray plugin
+ optdepends = libvdpau: for using the VDPAU plugin
optdepends = smbclient: for using the samba plugin
- optdepends = sndio: for using the sndio plugin
- optdepends = speex: for using the xiph plugin
- optdepends = v4l-utils: for using the v4l2 plugin
- optdepends = vcdimager: for using the vcd plugin
- optdepends = wavpack: for using the wavpack plugin
+ optdepends = gdk-pixbuf2: for using the gdk-pixbuf plugin
provides = xine-lib
conflicts = xine-lib
- source = xine-lib-hg::hg+http://hg.code.sf.net/p/xine/xine-lib-1.2
+ source = hg+http://hg.code.sf.net/p/xine/xine-lib-1.2
sha256sums = SKIP
pkgname = xine-lib-hg
diff --git a/PKGBUILD b/PKGBUILD
index f417744d6552..9f008b8d49b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,75 +1,55 @@
-# Maintainer: Daniel Bermond < yahoo-com: danielbermond >
+# Maintainer: Daniel Bermond < gmail-com: danielbermond >
pkgname=xine-lib-hg
-pkgver=1.2.9.r13885.1868bc14317c
+pkgver=1.2.9.r14420.88e48552a162
pkgrel=1
-pkgdesc='A multimedia playback engine (Mercurial version with all possible libs)'
-arch=('i686' 'x86_64')
+pkgdesc='A multimedia playback engine (mercurial version)'
+arch=('x86_64')
url='https://www.xine-project.org/'
-license=('GPL2' 'LGPL2.1')
-depends=('fontconfig')
-makedepends=(
- # official repositories:
- 'mercurial' 'a52dec' 'aalib' 'faad2' 'ffmpeg' 'gdk-pixbuf2' 'glu'
- 'libmagick6' 'jack' 'libcaca' 'libcdio' 'libbluray' 'libdca'
- 'libdvdnav' 'libmad' 'libmng' 'libmpcdec' 'libpulse' 'libvdpau'
- 'libxinerama' 'libxvmc' 'sdl' 'smbclient' 'v4l-utils' 'vcdimager'
- 'wavpack'
- # AUR:
- 'esound' 'gnome-vfs-nosmb' 'sndio'
-)
-optdepends=('a52dec: for using the a52 plugin'
- 'aalib: for using the aalib plugin'
- 'alsa-lib: for using the alsa plugin'
- 'esound: for using the esound plugin'
- 'faad2: for using the faad plugin'
- 'ffmpeg: for using the ff/avformat/avutil plugin'
- 'flac: for using the flac plugin'
- 'gdk-pixbuf2: for using the gdk-pixbuf plugin'
- 'glu: for using the opengl plugin'
- 'gnome-vfs-nosmb: for using the gnome-vfs plugin'
- 'imagemagick: for using the imagemagick plugin'
+license=('GPL' 'LGPL')
+depends=('libxvmc' 'ffmpeg' 'libxinerama' 'libnsl' 'libssh2')
+makedepends=('mercurial'
+ 'wavpack' 'faad2' 'libmng' 'imagemagick' 'mesa' 'libmodplug'
+ 'vcdimager' 'jack' 'aalib' 'libdca' 'a52dec' 'libmad' 'libdvdnav'
+ 'libmpcdec' 'libcaca' 'libbluray' 'libvdpau' 'glu' 'gdk-pixbuf2')
+optdepends=('imagemagick: for using the imagemagick plugin'
'jack: for using the jack plugin'
- 'libbluray: for using the bluray plugin'
- 'libcaca: for using the caca plugin'
- 'libcdio: for using the cd plugin'
- 'libdca: for using the dts plugin'
- 'libdvdnav: for using the dvd plugin'
- 'libjpeg-turbo: for using the libjpeg plugin'
- 'libmad: for using the mp3 plugin'
+ 'vcdimager: for using the vcd plugin'
+ 'glu: for using the opengl plugin'
+ 'wavpack: for using the wavpack plugin'
+ 'faad2: for using the faad plugin'
'libmng: for using the mng plugin'
+ 'aalib: for using the aalib plugin'
'libmodplug: for using the modplug plugin'
+ 'libdca: for using the dca plugin'
+ 'a52dec: for using the a52 plugin'
+ 'libmad: for using the mp3 plugin'
+ 'libdvdnav: for using the dvd plugin'
'libmpcdec: for using the musepack plugin'
- 'libpulse: for using the pulseaudio plugin'
- 'libtheora: for using the xiph plugin'
- 'libva: for using the vaapi plugin'
- 'libvdpau: for using the vdpau plugin'
- 'libvorbis: for using the xiph plugin'
- 'libvpx: for using the libvpx plugin'
- 'libxcb: for using the xcb-shm and xcb-xv plugins'
- 'libxinerama: for using the xv plugin'
- 'sdl: for using the sdl plugin'
+ 'libcaca: for using the caca plugin'
+ 'libbluray: for using the bluray plugin'
+ 'libvdpau: for using the VDPAU plugin'
'smbclient: for using the samba plugin'
- 'sndio: for using the sndio plugin'
- 'speex: for using the xiph plugin'
- 'v4l-utils: for using the v4l2 plugin'
- 'vcdimager: for using the vcd plugin'
- 'wavpack: for using the wavpack plugin'
-)
+ 'gdk-pixbuf2: for using the gdk-pixbuf plugin')
provides=('xine-lib')
conflicts=('xine-lib')
-source=("$pkgname"::'hg+http://hg.code.sf.net/p/xine/xine-lib-1.2')
+source=('hg+http://hg.code.sf.net/p/xine/xine-lib-1.2')
sha256sums=('SKIP')
pkgver() {
- cd "$pkgname"
+ cd xine-lib-1.2
- local _version_major="$(grep '^XINE_VERSION_MAJOR=' version.sh | sed 's/.*=//')"
- local _version_minor="$(grep '^XINE_VERSION_MINOR=' version.sh | sed 's/.*=//')"
- local _version_sub="$( grep '^XINE_VERSION_SUB=' version.sh | sed 's/.*=//')"
- local _version_patch="$(grep '^XINE_VERSION_PATCH=' version.sh | sed 's/.*=//')"
-
- local _version="$_version_major"
+ local _version_major
+ local _version_minor
+ local _version_sub
+ local _version_patch
+ local _version
+ local _number
+ _version_major="$(grep '^XINE_VERSION_MAJOR=' version.sh | sed 's/.*=//')"
+ _version_minor="$(grep '^XINE_VERSION_MINOR=' version.sh | sed 's/.*=//')"
+ _version_sub="$( grep '^XINE_VERSION_SUB=' version.sh | sed 's/.*=//')"
+ _version_patch="$(grep '^XINE_VERSION_PATCH=' version.sh | sed 's/.*=//')"
+ _version="$_version_major"
for _number in "$_version_minor" "$_version_sub" "$_version_patch"
do
@@ -80,107 +60,18 @@ pkgver() {
}
build() {
- cd "$pkgname"
-
- export PKG_CONFIG_PATH="${PKG_CONFIG_PATH:+${PKG_CONFIG_PATH}:}/usr/lib/imagemagick6/pkgconfig"
-
- ./autogen.sh
-
- ./configure \
+ cd xine-lib-1.2
+ ./autogen.sh \
--prefix='/usr' \
- \
- --enable-ipv6 \
- --enable-antialiasing \
- --enable-static='no' \
- --enable-shared='yes' \
- --enable-fast-install='yes' \
- --enable-optimizations \
- --enable-largefile \
- --enable-libxine-builtins \
- \
- --disable-coreaudio \
- --disable-irixal \
- --enable-oss \
- --disable-sunaudio \
- --enable-sndio \
- --enable-aalib \
- --disable-dha-kmod \
- --disable-directfb \
- --enable-dxr3 \
- --enable-fb \
- --disable-macosx-video \
- --enable-opengl \
- --enable-glu \
- --disable-vidix \
- --enable-xinerama \
- --disable-static-xv \
- --enable-xvmc \
+ --with-wavpack \
--enable-vdpau \
- --enable-vaapi \
- --enable-dvb \
- --enable-gnomevfs \
- --enable-samba \
- --enable-v4l2 \
- --enable-libv4l \
- --enable-vcd \
- --enable-vdr \
- --enable-bluray \
- --enable-avformat \
- --enable-a52dec \
- --enable-asf \
- --enable-nosefart \
- --enable-faad \
- --enable-ffmpeg \
- --enable-postproc \
- --enable-gdkpixbuf \
- --enable-libjpeg \
- --enable-dts \
- --enable-mad \
- --enable-modplug \
- --disable-libmpeg2new \
- --enable-musepack \
- --disable-mlib \
- --disable-mlib-lazyload \
- --enable-mng \
- --enable-real-codecs \
- --disable-w32dll \
- --enable-vpx \
- --disable-mmal \
- \
- --with-freetype \
- --with-fontconfig \
- --with-x \
- --with-alsa \
- --with-esound \
- --without-fusionsound \
- --with-jack \
- --with-pulseaudio \
- --with-caca \
- --without-linux-path \
- --without-libstk \
- --with-sdl \
- --with-xcb \
--with-external-dvdnav \
- --with-imagemagick \
- --with-libflac \
- --with-speex \
- --with-theora \
- --with-vorbis \
- --with-wavpack
-
- # TODO:
- # --enable-dha-kmod
- # --enable-vidix
- # --with-fusionsound
- # --with-linux-path=/usr/lib/modules/$(uname -r)/build
- # --with-libstk
- # --with-openhevc
-
+ --disable-optimizations
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
- cd "$pkgname"
-
+ cd xine-lib-1.2
make DESTDIR="$pkgdir" install
}