1 #Maintainer: Jan de Groot <jgc@archlinux.org>
6 pkgdesc="X11 Video Motion Compensation extension library"
8 url="https://xorg.freedesktop.org/"
11 makedepends=('meson' 'libxv')
12 source=(${url}/releases/individual/lib/libXvMC-${pkgver}.tar.xz{,.sig})
13 sha512sums=('c9d0f73884a586efb9ea4f77fc8555f60d940077d7dff8eaa765b86345c8b4e3d80b860f68191d2830c272b9e464c08450fbb51bb64819753a6f4228c71861ac'
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>
21 arch-meson libXvMC-${pkgver} build
24 meson compile -C build
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}/"