From dd0e78a8b2bd54cf1c205bc495636f5e2557b6ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Klitzing?= Date: Fri, 3 Mar 2017 16:10:29 +0100 Subject: main/libbluray: upgrade to 1.0.0 and modernize abuild --- main/libbluray/APKBUILD | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/main/libbluray/APKBUILD b/main/libbluray/APKBUILD index 570bc248d6..614a32b63b 100644 --- a/main/libbluray/APKBUILD +++ b/main/libbluray/APKBUILD @@ -1,32 +1,18 @@ # Contributor: Timo Teräs # Maintainer: Timo Teräs pkgname=libbluray -pkgver=0.9.2 +pkgver=1.0.0 pkgrel=0 pkgdesc="a library designed for Blu-Ray Discs playback" url="http://www.videolan.org/developers/libbluray.html" arch="all" license="LGPL" -depends="" -depends_dev="" -makedepends="$depends_dev" -install="" subpackages="$pkgname-dev" source="http://download.videolan.org/pub/videolan/libbluray/$pkgver/libbluray-$pkgver.tar.bz2" - -_builddir="$srcdir"/libbluray-$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 -} +builddir="$srcdir"/libbluray-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ @@ -44,10 +30,8 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } -md5sums="836b2de16547776bf2726166cf796f13 libbluray-0.9.2.tar.bz2" -sha256sums="efc994f42d2bce6af2ce69d05ba89dbbd88bcec7aca065de094fb3a7880ce7ea libbluray-0.9.2.tar.bz2" -sha512sums="f7fda2ef4c0ec70eb9a38aed0e76d21d8784410cb13713e7ee66ecd23a1cc58325977b046d40c526554a4a4e4cf96706a233e15451bf34892aff201b47e25aef libbluray-0.9.2.tar.bz2" +sha512sums="fcf2193c3b76f3436bc88ce8853cac16f29c3bb6c66447109c14202a41ea938cb6814502a8f724fb1b31add6bd36b42d3aed3eb4a8010c123537e073bd7a0be1 libbluray-1.0.0.tar.bz2" -- cgit v1.2.3