pmaports/main/libvdpau-tegra/APKBUILD

60 lines
1.1 KiB
Text
Raw Normal View History

2018-10-23 21:29:22 +00:00
# Maintainer: Robert Yang <decatf@gmail.com>
pkgname=libvdpau-tegra
pkgver=1.0.0
pkgrel=1
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"
2018-10-23 21:29:22 +00:00
license="GPL2"
subpackages=""
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="46f30de86f29a0dbc8671a11240385343ae54f53"
2018-10-23 21:29:22 +00:00
source="https://github.com/grate-driver/libvdpau-tegra/archive/$_commit.tar.gz"
builddir="$srcdir"/$pkgname-$_commit
prepare() {
cd "$builddir"
export PKG_CONFIG_PATH="/usr/lib/pkgconfig/libdrm-grate:${PKG_CONFIG_PATH}"
./autogen.sh \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
}
build() {
cd "$builddir"
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="b49306d077cee811e94a8cb8c2c36588ae3e6b1df2e24fbed6ae7e5c2ac7b12c0d6e3a96b26e97ea8579e914f5fd2fc88009830563738913ab21c61144db0202 46f30de86f29a0dbc8671a11240385343ae54f53.tar.gz"