summaryrefslogblamecommitdiff
path: root/user/libxvmc/APKBUILD
blob: c65e816d9a99d55abf3b8f35747b7e56407151a8 (plain) (tree)





































                                                                                                                                                                     
# 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"