diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-04-12 14:10:26 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-04-12 14:30:26 +0000 |
commit | 913f0cb8de3d47e66e1b3007e82b19158bed592b (patch) | |
tree | 98fc0d64cee87e5d1a41a8047fcd2349b830f67a /main/libdvdread | |
parent | b590addc0b11727dff69b5c9f77f286735ded699 (diff) | |
download | aports-913f0cb8de3d47e66e1b3007e82b19158bed592b.tar.bz2 aports-913f0cb8de3d47e66e1b3007e82b19158bed592b.tar.xz |
main/libdvdread: add support for CSS, modernize APKBUILD
Diffstat (limited to 'main/libdvdread')
-rw-r--r-- | main/libdvdread/APKBUILD | 27 |
1 files changed, 7 insertions, 20 deletions
diff --git a/main/libdvdread/APKBUILD b/main/libdvdread/APKBUILD index 7dfc6ea133..1cd0fded76 100644 --- a/main/libdvdread/APKBUILD +++ b/main/libdvdread/APKBUILD @@ -2,46 +2,33 @@ # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=libdvdread pkgver=5.0.3 -pkgrel=0 +pkgrel=1 pkgdesc="a simple foundation for reading DVD video disks" url="http://dvdnav.mplayerhq.hu/" arch="all" license="GPL" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" +makedepends="libdvdcss-dev" subpackages="$pkgname-dev $pkgname-doc" source="http://download.videolan.org/pub/videolan/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2" - -_builddir="$srcdir"/libdvdread-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +options="!check" +builddir="$srcdir"/libdvdread-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-static \ --enable-shared \ + --with-libdvdcss \ || return 1 make || return 1 } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } -md5sums="b7b7d2a782087ed2a913263087083715 libdvdread-5.0.3.tar.bz2" -sha256sums="321cdf2dbdc83c96572bc583cd27d8c660ddb540ff16672ecb28607d018ed82b libdvdread-5.0.3.tar.bz2" sha512sums="1ca438f0b5c406549eec62e1abef1e8745b9f932bcd30a3194ee9e37995b269ec8f1652a24cc3d2cb11ddb964e4a47a06e5405f9402e616586ff6263a1af3fc2 libdvdread-5.0.3.tar.bz2" |