summaryrefslogtreecommitdiffstats
path: root/main/libxvmc/APKBUILD
blob: 22eb462ddf5412b8934dc0bbece941685e47ae42 (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.7
pkgrel=0
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="3340c99ff556ea2457b4be47f5cb96fa  libXvMC-1.0.7.tar.bz2"