diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-08 18:48:12 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-08 18:48:12 -0500 |
commit | 9b82458d7cde69cbe3200df7e1cb80dff390b8e2 (patch) | |
tree | 283ba841efa6112ca5be657c5cf12cd00247878c /user/libxv/APKBUILD | |
parent | 998eb52d89368739a42801393dcf0d2c12097cb2 (diff) | |
download | packages-9b82458d7cde69cbe3200df7e1cb80dff390b8e2.tar.gz packages-9b82458d7cde69cbe3200df7e1cb80dff390b8e2.tar.bz2 packages-9b82458d7cde69cbe3200df7e1cb80dff390b8e2.tar.xz packages-9b82458d7cde69cbe3200df7e1cb80dff390b8e2.zip |
user/libxv: pull in, take, fix
Diffstat (limited to 'user/libxv/APKBUILD')
-rw-r--r-- | user/libxv/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/user/libxv/APKBUILD b/user/libxv/APKBUILD new file mode 100644 index 000000000..573c1c0d1 --- /dev/null +++ b/user/libxv/APKBUILD @@ -0,0 +1,38 @@ +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=libxv +pkgver=1.0.11 +pkgrel=2 +pkgdesc="X11 Video extension library" +url="https://www.X.Org/" +arch="all" +license="MIT" +depends="" +makedepends="libx11-dev libxext-dev util-macros xorgproto-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="https://www.X.Org/releases/individual/lib/libXv-$pkgver.tar.bz2" + +builddir="$srcdir"/libXv-$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 + install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +sha512sums="97cb3ab06cedc87799d06e1affd5cee32ed0e551903fa5c915f79e7ed92eded867e3220b4a663822f7ebd86fdc71b09943b7077d98f1200019992e8d24144e58 libXv-1.0.11.tar.bz2" |