mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-07 09:41:39 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
53 lines
1.3 KiB
Plaintext
53 lines
1.3 KiB
Plaintext
# Contributor: Timo Teräs <timo.teras@iki.fi>
|
|
# Maintainer: Timo Teräs <timo.teras@iki.fi>
|
|
pkgname=libbluray
|
|
pkgver=0.7.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
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var \
|
|
--without-libxml2 \
|
|
--without-freetype \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="efad766330164f0c7c7cb18f66389870 libbluray-0.7.0.tar.bz2"
|
|
sha256sums="f79beb9fbb24117cbb1264c919e686ae9e6349c0ad08b48c4b6233b2887eb68d libbluray-0.7.0.tar.bz2"
|
|
sha512sums="2bf73398003e5a6b12ffdf44ec5716c18da4a176328b4eac52adb3337d09fcb4e5b553362cb67d70506fb0b2cd60e2e59ccc398104630554f41f0b095fc4703f libbluray-0.7.0.tar.bz2"
|