blob: 85ac60b455f4e95fcc3766f51331e4f9e878cf9e (
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
38
39
|
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
# Contributor: Jan de Groot <jgc@archlinux.org>
_android_arch=x86-64
pkgname=android-${_android_arch}-libvdpau
pkgver=1.5
pkgrel=2
arch=('any')
pkgdesc="Nvidia VDPAU library (Android ${_android_arch})"
url='https://www.freedesktop.org/wiki/Software/VDPAU/'
license=('custom')
depends=("android-${_android_arch}-libxext")
makedepends=('android-meson'
"android-${_android_arch}-xorgproto")
options=(!strip !buildflags staticlibs !emptydirs)
source=("https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/${pkgver}/libvdpau-${pkgver}.tar.bz2")
md5sums=('148a192110e7a49d62c0bf9ef916c099')
build() {
cd "${srcdir}/libvdpau-${pkgver}"
source android-env ${_android_arch}
mkdir -p build
cd build
android-${_android_arch}-meson \
--default-library both \
-Ddocumentation=false
ninja
}
package() {
cd "${srcdir}/libvdpau-${pkgver}/build"
source android-env ${_android_arch}
DESTDIR="${pkgdir}" ninja install
${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}"/${ANDROID_PREFIX_LIB}/*.so
${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}"/${ANDROID_PREFIX_LIB}/vdpau/*.so
}
|