pmaports/temp/libvdpau-tegra/APKBUILD

55 lines
1.1 KiB
Text
Raw Normal View History

# Forked from Alpine, so we can build it with Tegra support
2018-10-23 21:29:22 +00:00
pkgname=libvdpau-tegra
2019-08-19 14:44:09 +00:00
pkgver=0_git20190315
pkgrel=0
2018-10-23 21:29:22 +00:00
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"
2018-10-23 21:29:22 +00:00
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"
2018-10-23 21:29:22 +00:00
source="https://github.com/grate-driver/libvdpau-tegra/archive/$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"
2018-10-23 21:29:22 +00:00
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"