PKGBUILDs/extra/xine-lib/PKGBUILD

60 lines
2.1 KiB
Bash
Raw Normal View History

2022-07-23 21:12:27 +00:00
# Maintainer : Daniel Bermond <dbermond@archlinux.org>
# Contributor: Eric Bélanger <eric@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - configure with --without-dav1d, FTBFS
pkgname=xine-lib
2023-01-27 19:10:58 +00:00
pkgver=1.2.13
2024-01-25 14:17:02 +00:00
pkgrel=6
2022-07-23 21:12:27 +00:00
pkgdesc='Multimedia playback engine'
arch=('x86_64')
url='https://www.xine-project.org'
license=('GPL' 'LGPL')
2023-03-09 19:08:37 +00:00
depends=('ffmpeg' 'libjpeg-turbo' 'libmodplug' 'libnsl' 'libpng' 'libx11' 'libxcb'
2022-07-23 21:12:27 +00:00
'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'
2023-03-09 19:08:37 +00:00
'libmodplug: for modplug plugin'
2022-07-23 21:12:27 +00:00
'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'
'libssh2: for ssh 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')
2023-01-27 19:10:58 +00:00
source=("https://downloads.sourceforge.net/project/xine/xine-lib/${pkgver}/xine-lib-${pkgver}.tar.xz")
2023-06-16 22:29:11 +00:00
sha256sums=('5f10d6d718a4a51c17ed1b32b031d4f9b80b061e8276535b2be31e5ac4b75e6f')
2022-07-23 21:12:27 +00:00
build() {
2023-03-01 13:54:16 +00:00
cd "${pkgname}-${pkgver}"
2023-01-27 19:10:58 +00:00
./configure \
2022-07-23 21:12:27 +00:00
--prefix='/usr' \
--enable-antialiasing \
--with-external-dvdnav \
--with-wavpack \
--without-dav1d
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
2023-03-01 13:54:16 +00:00
make -C "${pkgname}-${pkgver}" DESTDIR="$pkgdir" install
2022-07-23 21:12:27 +00:00
}