aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxvmc/APKBUILD
blob: 41bb6fdc3faa929d613aa19044db108daff05f78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxvmc
pkgver=1.0.11
pkgrel=0
pkgdesc="X11 Video Motion Compensation extension library"
url="http://xorg.freedesktop.org/"
arch="all"
license="MIT"
options="!check"  # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
depends=
depends_dev="libxext-dev"
makedepends="xorgproto libx11-dev libxv-dev util-macros"
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
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="4fe49e956ac97a45d851292cbba7bf242706aaf3bd9eb7ea4d2fc50e40745115d857a4fe179d2b87bc7cb6f9ac93911e89a167f02f6d1ae25a59df9a517a2476  libXvMC-1.0.11.tar.bz2"