summaryrefslogtreecommitdiff
path: root/user/libxvmc/APKBUILD
blob: 2baf9b21d7ee9237634b6f3137f467f0ceece42c (plain) (blame)
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
38
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxvmc
pkgver=1.0.12
pkgrel=0
pkgdesc="X11 Video Motion Compensation extension library"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
depends_dev="libxext-dev"
makedepends="libx11-dev libxv-dev util-macros xorgproto-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.X.Org/releases/individual/lib/libXvMC-$pkgver.tar.bz2"
builddir="$srcdir"/libXvMC-$pkgver

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install

	# Conflicts with xorgproto until 2019.2, which is unreleased.
	rm "$pkgdir"/usr/include/X11/extensions/vldXvMC.h
}

sha512sums="62cb9a72b20af3b081d2d555a253b0e2b8b26b31f4fad10bd3e53bbf96e1663b61bd8df2b78b16f18218cd37cce0c9e6809ae16ded226b37a8b199e41b223955  libXvMC-1.0.12.tar.bz2"