pmaports/temp/libvdpau-tegra/APKBUILD
2019-08-24 00:59:07 +02:00

54 lines
1.1 KiB
Text

# Forked from Alpine, so we can build it with Tegra support
pkgname=libvdpau-tegra
pkgver=0_git20190315
pkgrel=0
pkgdesc="VDPAU backend driver for NVIDIA Tegra 20/30 SoC's"
url="https://github.com/grate-driver/libvdpau-tegra"
arch="armhf armv7"
license="GPL-2.0-or-later"
depends="libdrm-grate"
makedepends="
autoconf
automake
bison
flex
gettext-dev
libdrm-grate-dev
libtool
libvdpau-dev
libx11-dev
libxext-dev
libxfixes-dev
libxrandr-dev
libxv-dev
m4
pixman-dev
util-macros
xorgproto
"
_commit="10910a2d9e1d6205aa60d4947fe3cf00a330e72a"
source="https://github.com/grate-driver/libvdpau-tegra/archive/$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"
prepare() {
export PKG_CONFIG_PATH="/usr/lib/pkgconfig/libdrm-grate:${PKG_CONFIG_PATH}"
./autogen.sh \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
}
build() {
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="f5c887e3abcca40d5b48fe45097017896716759e6d34dcb26a5ebe80fd34d07c9644221d7ea4ab774d3e71246b49cc5b436eb1a3866e0e42b958cdf92581a713 10910a2d9e1d6205aa60d4947fe3cf00a330e72a.tar.gz"