aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxvmc/APKBUILD
blob: 48a13e4bda9968ef7fffa3c6f22e57642af3817e (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxvmc
pkgver=1.0.6
pkgrel=2
pkgdesc="X11 Video Motion Compensation extension library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-dev"
depends=
makedepends="pkgconfig libxv-dev libxext-dev libx11-dev"
source="http://xorg.freedesktop.org/releases/individual/lib/libXvMC-$pkgver.tar.bz2"

depends_dev="xproto videoproto libxv-dev libx11-dev libxext-dev"

build() {
	cd "$srcdir"/libXvMC-$pkgver
	./configure --prefix=/usr --sysconfdir=/etc
	make || return 1
}

package() {
	cd "$srcdir"/libXvMC-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}
md5sums="bfc7524646f890dfc30dea1d676004a3  libXvMC-1.0.6.tar.bz2"