aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxv/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libxv/APKBUILD')
-rw-r--r--main/libxv/APKBUILD34
1 files changed, 13 insertions, 21 deletions
diff --git a/main/libxv/APKBUILD b/main/libxv/APKBUILD
index f298ea8afb..943c2a15fd 100644
--- a/main/libxv/APKBUILD
+++ b/main/libxv/APKBUILD
@@ -1,46 +1,38 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxv
-pkgver=1.0.10
-pkgrel=1
+pkgver=1.0.11
+pkgrel=0
pkgdesc="X11 Video extension library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends=""
-depends_dev="xproto videoproto libx11-dev libxext-dev"
-makedepends="$depends_dev"
+depends_dev="libxext-dev"
+makedepends="$depends_dev libx11-dev videoproto xproto"
subpackages="$pkgname-dev $pkgname-doc"
source="http://xorg.freedesktop.org/releases/individual/lib/libXv-$pkgver.tar.bz2
"
-_builddir="$srcdir"/libXv-$pkgver
-prepare() {
- cd "$_builddir"
-
- local i=
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1 ;;
- esac
- done
-}
-
+builddir="$srcdir"/libXv-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
|| return 1
make || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-md5sums="e0af49d7d758b990e6fef629722d4aca libXv-1.0.10.tar.bz2"
-sha256sums="55fe92f8686ce8612e2c1bfaf58c057715534419da700bda8d517b1d97914525 libXv-1.0.10.tar.bz2"
-sha512sums="3c9642006dbc7a74f91263aa3a94711a95ee436b03d97ef51fce2bc2f602c25589606e1fcb58287ea0efebb3b9dbe7ef5fcb94e11ad3ec6be7830947a4cefe03 libXv-1.0.10.tar.bz2"
+md5sums="210b6ef30dda2256d54763136faa37b9 libXv-1.0.11.tar.bz2"
+sha256sums="d26c13eac99ac4504c532e8e76a1c8e4bd526471eb8a0a4ff2a88db60cb0b088 libXv-1.0.11.tar.bz2"
+sha512sums="97cb3ab06cedc87799d06e1affd5cee32ed0e551903fa5c915f79e7ed92eded867e3220b4a663822f7ebd86fdc71b09943b7077d98f1200019992e8d24144e58 libXv-1.0.11.tar.bz2"