59 lines
1.1 KiB
Text
59 lines
1.1 KiB
Text
# Maintainer: Robert Yang <decatf@gmail.com>
|
|
pkgname=libvdpau-tegra
|
|
pkgver=1.0.0
|
|
pkgrel=2
|
|
pkgdesc="VDPAU backend driver for NVIDIA Tegra 20/30 SoC's"
|
|
url="https://github.com/grate-driver/libvdpau-tegra"
|
|
arch="armhf armv7"
|
|
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="10910a2d9e1d6205aa60d4947fe3cf00a330e72a"
|
|
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="f5c887e3abcca40d5b48fe45097017896716759e6d34dcb26a5ebe80fd34d07c9644221d7ea4ab774d3e71246b49cc5b436eb1a3866e0e42b958cdf92581a713 10910a2d9e1d6205aa60d4947fe3cf00a330e72a.tar.gz"
|