summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libxvmc/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/libxvmc/APKBUILD b/user/libxvmc/APKBUILD
new file mode 100644
index 000000000..c65e816d9
--- /dev/null
+++ b/user/libxvmc/APKBUILD
@@ -0,0 +1,38 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libxvmc
+pkgver=1.0.10
+pkgrel=2
+pkgdesc="X11 Video Motion Compensation extension library"
+url="https://www.X.Org/"
+arch="all"
+license="MIT"
+subpackages="$pkgname-dev $pkgname-doc"
+depends=
+depends_dev="libxext-dev"
+makedepends="libx11-dev libxv-dev util-macros xorgproto-dev"
+source="https://www.X.Org/releases/individual/lib/libXvMC-$pkgver.tar.bz2"
+builddir="$srcdir"/libXvMC-$pkgver
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="db979627eda2e58dbc95f0705681aa4acf51dc375a078467ea0b1c78414963e52417e525bcf224b4642eab2e540619c168c1e4757fad97bac7d07b60b23b3e19 libXvMC-1.0.10.tar.bz2"