summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-08 18:48:31 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-08 18:48:31 -0500
commitec268aa29d339098cbdde574541c381da8254e9a (patch)
treed1602afd861c1d57a2abd3b0bcade74096a9999b
parent9b82458d7cde69cbe3200df7e1cb80dff390b8e2 (diff)
downloadpackages-ec268aa29d339098cbdde574541c381da8254e9a.tar.gz
packages-ec268aa29d339098cbdde574541c381da8254e9a.tar.bz2
packages-ec268aa29d339098cbdde574541c381da8254e9a.tar.xz
packages-ec268aa29d339098cbdde574541c381da8254e9a.zip
user/libxvmc: pull in, take, fix
-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"