aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxvmc/APKBUILD
blob: 874d35731d6dc9a47823dd51d9d0ff5f6261b2b0 (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
35
36
37
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxvmc
pkgver=1.0.10
pkgrel=2
pkgdesc="X11 Video Motion Compensation extension library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
options="!check"  # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
depends=
depends_dev="libxext-dev"
makedepends="xorgproto libx11-dev libxv-dev
	libtool autoconf automake 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
}

md5sums="4cbe1c1def7a5e1b0ed5fce8e512f4c6  libXvMC-1.0.10.tar.bz2"
sha256sums="e501a079b5dfaef0897c56152770c77e05e362065cec58910289aa567277ee2e  libXvMC-1.0.10.tar.bz2"
sha512sums="db979627eda2e58dbc95f0705681aa4acf51dc375a078467ea0b1c78414963e52417e525bcf224b4642eab2e540619c168c1e4757fad97bac7d07b60b23b3e19  libXvMC-1.0.10.tar.bz2"