PKGBUILDs/community/xine-ui/PKGBUILD
2022-02-23 00:25:11 +00:00

36 lines
1 KiB
Bash

# Maintainer : Daniel Bermond <dbermond@archlinux.org>
# Contributor: Eric Bélanger
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch from debian to fix ARM FTBFS
pkgname=xine-ui
pkgver=0.99.13
pkgrel=2
pkgdesc='A free multimedia player'
arch=('x86_64')
license=('GPL')
url='https://www.xine-project.org'
depends=('xine-lib' 'aalib' 'curl' 'hicolor-icon-theme' 'libjpeg-turbo' 'libpng'
'libx11' 'libxext' 'libxft' 'libxinerama' 'libxv' 'libxxf86vm' 'lirc'
'readline')
source=("https://downloads.sourceforge.net/xine/${pkgname}-${pkgver}.tar.xz"
'0003-Fix-build.patch')
sha256sums=('b2382d075c72b1b10039e0e90310cc86c8d910358c53559ed82d3d584201f5c5'
'f4a99353034788321c13ac754dd2122dae21d1f902f05e4917036e39d8e8b60b')
prepare() {
cd "${pkgname}-${pkgver}"
patch -p1 -i ../0003-Fix-build.patch
autoreconf -fi
}
build() {
cd "${pkgname}-${pkgver}"
./configure --prefix='/usr' --with-x --without-caca
make
}
package() {
make -C "${pkgname}-${pkgver}" DESTDIR="$pkgdir" install
}