archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libxvmc / trunk / PKGBUILD
blob56697f7a2a005b28d0e62a74e83c7f294c7f6db6
1 #Maintainer: Jan de Groot <jgc@archlinux.org>
3 pkgname=libxvmc
4 pkgver=1.0.13
5 pkgrel=1
6 pkgdesc="X11 Video Motion Compensation extension library"
7 arch=('x86_64')
8 url="https://xorg.freedesktop.org/"
9 license=('custom')
10 depends=('libxext')
11 makedepends=('meson' 'libxv')
12 source=(${url}/releases/individual/lib/libXvMC-${pkgver}.tar.xz{,.sig})
13 sha512sums=('c9d0f73884a586efb9ea4f77fc8555f60d940077d7dff8eaa765b86345c8b4e3d80b860f68191d2830c272b9e464c08450fbb51bb64819753a6f4228c71861ac'
14             'SKIP')
15 #validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') #  Alan Coopersmith <alan.coopersmith@oracle.com>
16 #validpgpkeys+=('C41C985FDCF1E5364576638B687393EE37D128F8') # Matthieu Herrb <matthieu.herrb@laas.fr>
17 #validpgpkeys+=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2') # "Adam Jackson <ajax@nwnk.net>"
18 validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # Matt Turner <mattst88@gmail.com>
20 build() {
21  arch-meson libXvMC-${pkgver} build
22  # Print config
23  meson configure build
24  meson compile -C build
27 check() {
28   meson test -C build
31 package() {
32   DESTDIR="$pkgdir" meson install -C build
34   # fix doc dir with meson
35   install -m755 -d "${pkgdir}"/usr/share/doc/libXvMC
36   mv "${pkgdir}"/usr/share/doc/XvMC_API.txt "${pkgdir}"/usr/share/doc/libXvMC/
38   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
39   install -m644 libXvMC-${pkgver}/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"