mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/xine-lib to 1.2.11-1
This commit is contained in:
parent
71d0516098
commit
6fbeb8cc8b
1 changed files with 45 additions and 44 deletions
|
@ -1,56 +1,57 @@
|
||||||
# Maintainer: Eric Bélanger <eric@archlinux.org>
|
# Maintainer : Daniel Bermond <dbermond@archlinux.org>
|
||||||
|
# Contributor: Eric Bélanger <eric@archlinux.org>
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||||
# - disabled vdpau
|
# - disabled vdpau
|
||||||
|
|
||||||
pkgname=xine-lib
|
pkgname=xine-lib
|
||||||
pkgver=1.2.10
|
pkgver=1.2.11
|
||||||
pkgrel=5
|
pkgrel=1
|
||||||
pkgdesc="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=('GPL' 'LGPL')
|
||||||
depends=('libxvmc' 'ffmpeg' 'libxinerama' 'libnsl')
|
depends=('ffmpeg' 'libjpeg-turbo' 'libnsl' 'libpng' 'libx11' 'libxcb'
|
||||||
makedepends=('wavpack' 'faad2' 'libmng' 'imagemagick' 'mesa' 'libmodplug'
|
'libxext' 'libxinerama' 'libxv' 'libxvmc' 'zlib')
|
||||||
'vcdimager' 'jack' 'aalib' 'libdca' 'a52dec' 'libmad' 'libdvdnav'
|
optdepends=('libdvdnav: for dvd plugin'
|
||||||
'libmpcdec' 'libcaca' 'libbluray' 'glu' 'gdk-pixbuf2'
|
'libdvdread: for spu and dxr3 plugins'
|
||||||
'dav1d')
|
'vcdimager: for vcd plugin'
|
||||||
optdepends=('imagemagick: for using the imagemagick plugin' \
|
'glu: for opengl and vaapi plugins'
|
||||||
'jack: for using the jack plugin' \
|
'sdl: for sdl plugin'
|
||||||
'vcdimager: for using the vcd plugin' \
|
'wayland: for egl_wl plugin'
|
||||||
'glu: for using the opengl plugin' \
|
'aalib: for aalib plugin'
|
||||||
'wavpack: for using the wavpack plugin' \
|
'a52dec: for a52 plugin'
|
||||||
'faad2: for using the faad plugin' \
|
'faad2: for faad plugin'
|
||||||
'libmng: for using the mng plugin' \
|
'flac: for flac plugin'
|
||||||
'aalib: for using the aalib plugin' \
|
'libdca: for dts (dca) plugin'
|
||||||
'libmodplug: for using the modplug plugin' \
|
'libmad: for mad (mp3) plugin'
|
||||||
'libdca: for using the dca plugin' \
|
'libmpcdec: for mpc (musepack) plugin'
|
||||||
'a52dec: for using the a52 plugin' \
|
'wavpack: for wavpack plugin'
|
||||||
'libmad: for using the mp3 plugin' \
|
'gdk-pixbuf2: for gdk_pixbuf plugin'
|
||||||
'libdvdnav: for using the dvd plugin' \
|
'imagemagick: for imagemagick plugin'
|
||||||
'libmpcdec: for using the musepack plugin' \
|
'libcaca: for caca plugin'
|
||||||
'libcaca: for using the caca plugin' \
|
'libmng: for mng plugin'
|
||||||
'libbluray: for using the bluray plugin' \
|
'libnfs: for nfs plugin'
|
||||||
'smbclient: for using the samba plugin' \
|
'smbclient: for samba plugin')
|
||||||
'dav1d: for using the dav1d decoder' \
|
makedepends=('mesa' 'libdvdnav' 'libdvdread' 'vcdimager' 'glu' 'sdl'
|
||||||
'gdk-pixbuf2: for using the gdk-pixbuf plugin')
|
'wayland' 'aalib' 'a52dec' 'faad2' 'flac' 'libdca' 'libmad'
|
||||||
source=(https://downloads.sourceforge.net/project/xine/xine-lib/$pkgver/xine-lib-$pkgver.tar.xz)
|
'libmpcdec' 'wavpack' 'gdk-pixbuf2' 'imagemagick' 'libcaca'
|
||||||
sha512sums=('1cbe033da606d67a0a59f19968b2fe1cb46eaeb32c4b4aca7b91125b7230e15bd36d1e3e39e48e6eda56e556018f9f9bf84acb0012d3dd634306e7110fdc4c5f')
|
'libmng' 'libnfs' 'smbclient')
|
||||||
b2sums=('e1bc088814c951ff56e55b626fe1f6f34c3da744e716de369a68e6c82a5adc414b452675ad19a5f82500bade6795b54efd503de8ffe4f1e65b534317ca0a26af')
|
source=("https://downloads.sourceforge.net/project/xine/xine-lib/${pkgver}/xine-lib-${pkgver}.tar.xz")
|
||||||
|
sha256sums=('ef51b21d10dda1045fa7d711bd9171cfdaf0a5a2874233bcf16ffdf28ec07005')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${pkgname}-${pkgver}
|
cd "${pkgname}-${pkgver}"
|
||||||
CFLAGS+=" -fcommon"
|
./configure \
|
||||||
./configure \
|
--prefix='/usr' \
|
||||||
--prefix=/usr \
|
--enable-antialiasing \
|
||||||
--with-wavpack \
|
--with-external-dvdnav \
|
||||||
--disable-vdpau \
|
--disable-vdpau \
|
||||||
--with-external-dvdnav
|
--with-wavpack
|
||||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd ${pkgname}-${pkgver}
|
make -C "${pkgname}-${pkgver}" DESTDIR="$pkgdir" install
|
||||||
make DESTDIR="${pkgdir}" install
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue