aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxvmc/APKBUILD
blob: 8f45ff7cc3d9cd4cfc0e2a8cea0577f7e7ed25b3 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxvmc
pkgver=1.0.8
pkgrel=0
pkgdesc="X11 Video Motion Compensation extension library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-dev"
depends=
depends_dev="xproto videoproto libxv-dev libx11-dev libxext-dev"
makedepends="$depends_dev libtool autoconf automake util-macros"
source="http://xorg.freedesktop.org/releases/individual/lib/libXvMC-$pkgver.tar.bz2"

_builddir="$srcdir"/libXvMC-$pkgver

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}
md5sums="2e4014e9d55c430e307999a6b3dd256d  libXvMC-1.0.8.tar.bz2"
sha256sums="5e1a401efa433f959d41e17932b8c218c56b931348f494b8fa4656d7d798b204  libXvMC-1.0.8.tar.bz2"
sha512sums="781a53ad1d60a06019ed24150b85a96f2608e6ca0d876de9f06511c0e086cdf837804994e33b51ee8b3714150dc1d6060449e89ab7458476c8535b5b336147bf  libXvMC-1.0.8.tar.bz2"