extra/xine-lib to 1.2.10-2

This commit is contained in:
Kevin Mihelich 2020-03-27 01:22:13 +00:00
parent 5dfb5eef71
commit ae1b0af9a6

View file

@ -5,15 +5,16 @@
pkgname=xine-lib pkgname=xine-lib
pkgver=1.2.10 pkgver=1.2.10
pkgrel=1 pkgrel=2
pkgdesc="A multimedia playback engine" pkgdesc="Multimedia playback engine"
arch=('x86_64') arch=('x86_64')
url="https://www.xine-project.org" url="https://www.xine-project.org"
license=('LGPL' 'GPL') license=('LGPL' 'GPL')
depends=('libxvmc' 'ffmpeg' 'libxinerama' 'libnsl') depends=('libxvmc' 'ffmpeg' 'libxinerama' 'libnsl')
makedepends=('wavpack' 'faad2' 'libmng' 'imagemagick' 'mesa' 'libmodplug' makedepends=('wavpack' 'faad2' 'libmng' 'imagemagick' 'mesa' 'libmodplug'
'vcdimager' 'jack' 'aalib' 'libdca' 'a52dec' 'libmad' 'libdvdnav' 'vcdimager' 'jack' 'aalib' 'libdca' 'a52dec' 'libmad' 'libdvdnav'
'libmpcdec' 'libcaca' 'libbluray' 'glu' 'gdk-pixbuf2') 'libmpcdec' 'libcaca' 'libbluray' 'glu' 'gdk-pixbuf2'
'dav1d')
optdepends=('imagemagick: for using the imagemagick plugin' \ optdepends=('imagemagick: for using the imagemagick plugin' \
'jack: for using the jack plugin' \ 'jack: for using the jack plugin' \
'vcdimager: for using the vcd plugin' \ 'vcdimager: for using the vcd plugin' \
@ -31,14 +32,19 @@ optdepends=('imagemagick: for using the imagemagick plugin' \
'libcaca: for using the caca plugin' \ 'libcaca: for using the caca plugin' \
'libbluray: for using the bluray plugin' \ 'libbluray: for using the bluray plugin' \
'smbclient: for using the samba plugin' \ 'smbclient: for using the samba plugin' \
'dav1d: for using the dav1d decoder' \
'gdk-pixbuf2: for using the gdk-pixbuf plugin') 'gdk-pixbuf2: for using the gdk-pixbuf plugin')
source=(https://downloads.sourceforge.net/project/xine/xine-lib/$pkgver/xine-lib-$pkgver.tar.xz) source=(https://downloads.sourceforge.net/project/xine/xine-lib/$pkgver/xine-lib-$pkgver.tar.xz)
sha256sums=('9cb3f069d3c1ffb7456ea91a936a85bbb07ac2ab7be1e9d0d2c94ffe4110dc57') sha512sums=('1cbe033da606d67a0a59f19968b2fe1cb46eaeb32c4b4aca7b91125b7230e15bd36d1e3e39e48e6eda56e556018f9f9bf84acb0012d3dd634306e7110fdc4c5f')
b2sums=('e1bc088814c951ff56e55b626fe1f6f34c3da744e716de369a68e6c82a5adc414b452675ad19a5f82500bade6795b54efd503de8ffe4f1e65b534317ca0a26af')
build() { build() {
cd ${pkgname}-${pkgver} cd ${pkgname}-${pkgver}
./configure --prefix=/usr --with-wavpack --disable-vdpau --with-external-dvdnav \ ./configure \
--disable-optimizations --prefix=/usr \
--with-wavpack \
--disable-vdpau \
--with-external-dvdnav
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make make
} }