2019-08-21 09:51:24 +00:00
|
|
|
# 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"
|
2019-02-26 17:24:26 +00:00
|
|
|
arch="armhf armv7"
|
2019-08-21 09:51:24 +00:00
|
|
|
license="GPL-2.0-or-later"
|
2018-10-23 21:29:22 +00:00
|
|
|
depends="libdrm-grate"
|
2019-02-26 17:24:26 +00:00
|
|
|
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
|
|
|
|
"
|
2019-04-11 14:46:47 +00:00
|
|
|
_commit="10910a2d9e1d6205aa60d4947fe3cf00a330e72a"
|
2018-10-23 21:29:22 +00:00
|
|
|
source="https://github.com/grate-driver/libvdpau-tegra/archive/$_commit.tar.gz"
|
|
|
|
|
2019-08-21 09:51:24 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2019-04-11 14:46:47 +00:00
|
|
|
sha512sums="f5c887e3abcca40d5b48fe45097017896716759e6d34dcb26a5ebe80fd34d07c9644221d7ea4ab774d3e71246b49cc5b436eb1a3866e0e42b958cdf92581a713 10910a2d9e1d6205aa60d4947fe3cf00a330e72a.tar.gz"
|