PKGBUILDs/community/xine-lib/PKGBUILD

58 lines
2 KiB
Bash
Raw Normal View History

2020-12-11 17:07:40 +00:00
# Maintainer : Daniel Bermond <dbermond@archlinux.org>
# Contributor: Eric Bélanger <eric@archlinux.org>
2012-01-12 00:04:01 +00:00
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - disabled vdpau
pkgname=xine-lib
2020-12-11 17:07:40 +00:00
pkgver=1.2.11
2021-01-20 20:03:37 +00:00
pkgrel=2
2020-12-11 17:07:40 +00:00
pkgdesc='Multimedia playback engine'
2017-12-10 04:48:40 +00:00
arch=('x86_64')
2020-12-11 17:07:40 +00:00
url='https://www.xine-project.org'
license=('GPL' 'LGPL')
depends=('ffmpeg' 'libjpeg-turbo' 'libnsl' 'libpng' 'libx11' 'libxcb'
'libxext' 'libxinerama' 'libxv' 'libxvmc' 'zlib')
optdepends=('libdvdnav: for dvd plugin'
'libdvdread: for spu and dxr3 plugins'
'vcdimager: for vcd plugin'
'glu: for opengl and vaapi plugins'
'sdl: for sdl plugin'
'wayland: for egl_wl plugin'
'aalib: for aalib plugin'
'a52dec: for a52 plugin'
'faad2: for faad plugin'
'flac: for flac plugin'
'libdca: for dts (dca) plugin'
'libmad: for mad (mp3) plugin'
'libmpcdec: for mpc (musepack) plugin'
'wavpack: for wavpack plugin'
'gdk-pixbuf2: for gdk_pixbuf plugin'
'imagemagick: for imagemagick plugin'
'libcaca: for caca plugin'
'libmng: for mng plugin'
'libnfs: for nfs plugin'
'smbclient: for samba plugin')
makedepends=('mesa' 'libdvdnav' 'libdvdread' 'vcdimager' 'glu' 'sdl'
'wayland' 'aalib' 'a52dec' 'faad2' 'flac' 'libdca' 'libmad'
'libmpcdec' 'wavpack' 'gdk-pixbuf2' 'imagemagick' 'libcaca'
'libmng' 'libnfs' 'smbclient')
source=("https://downloads.sourceforge.net/project/xine/xine-lib/${pkgver}/xine-lib-${pkgver}.tar.xz")
sha256sums=('ef51b21d10dda1045fa7d711bd9171cfdaf0a5a2874233bcf16ffdf28ec07005')
2012-01-12 00:04:01 +00:00
2013-05-30 06:00:52 +00:00
build() {
2020-12-11 17:07:40 +00:00
cd "${pkgname}-${pkgver}"
./configure \
--prefix='/usr' \
--enable-antialiasing \
--with-external-dvdnav \
--disable-vdpau \
--with-wavpack
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
2012-01-12 00:04:01 +00:00
}
package() {
2020-12-11 17:07:40 +00:00
make -C "${pkgname}-${pkgver}" DESTDIR="$pkgdir" install
2012-01-12 00:04:01 +00:00
}