aboutsummaryrefslogtreecommitdiffstats
path: root/main/libbluray/APKBUILD
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-01-30 08:53:53 +0200
committerTimo Teräs <timo.teras@iki.fi>2012-01-30 08:59:15 +0200
commit6bef85d950becbb31fbab0f6f47dc580ca292545 (patch)
tree5cd9dd9c5c6d612a7a59cdbdc121fc19c8bcd7f2 /main/libbluray/APKBUILD
parent162bee4b1df6568cd0945645c770dcfd407ad453 (diff)
downloadaports-6bef85d950becbb31fbab0f6f47dc580ca292545.tar.bz2
aports-6bef85d950becbb31fbab0f6f47dc580ca292545.tar.xz
main/libbluray: upgrade to 0.2.1, and take maintainership
* the old timestamp based was 0.1 version or little bit after it * unfortunately the timestamp is greater than this, so a seeming downgrade will happen * use proper upstream source tarballs * grab maintainership
Diffstat (limited to 'main/libbluray/APKBUILD')
-rw-r--r--main/libbluray/APKBUILD43
1 files changed, 25 insertions, 18 deletions
diff --git a/main/libbluray/APKBUILD b/main/libbluray/APKBUILD
index 748ddb82ac..bcc107623e 100644
--- a/main/libbluray/APKBUILD
+++ b/main/libbluray/APKBUILD
@@ -1,23 +1,28 @@
-# Contributor: Carlo Landmeter
-# Maintainer:
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libbluray
-pkgver=20100902
-pkgrel=2
-pkgdesc="Blu-ray playback libraries"
-url="http://git.videolan.org/?p=libbluray.git;a=summary"
+pkgver=0.2.1
+pkgrel=0
+pkgdesc="a library designed for Blu-Ray Discs playback"
+url="http://www.videolan.org/developers/libbluray.html"
arch="all"
-license="GPL"
-depends=
-makedepends=
-install=
+license="LGPL"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
subpackages="$pkgname-dev"
-source="http://alpine.nethq.org/distfiles/libbluray-$pkgver.tar.bz2"
-
-_builddir="$srcdir"/$pkgname
+source="http://download.videolan.org/pub/videolan/libbluray/$pkgver/libbluray-$pkgver.tar.bz2"
+_builddir="$srcdir"/libbluray-$pkgver
prepare() {
+ local i
cd "$_builddir"
- # apply patches here
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
}
build() {
@@ -25,14 +30,16 @@ build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
make || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
- rm "$pkgdir"/usr/lib/*.la
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
}
-md5sums="c9ba7a906f5071affc347a6024f174d9 libbluray-20100902.tar.bz2"
+md5sums="d4cfcf3f110e9d2afe01d29feb8c842b libbluray-0.2.1.tar.bz2"