pmaports/main/libvdpau-tegra/APKBUILD
ryang 2dc0718ddd grate-driver: Update to more recent revision and build for ARMv7 (!241)
Changes:
- Accelerated screen rotation
- Optimizations to buffer copies
- Pull mesa cache buffer size patch from upstream AlpineLinux mesa aport
2019-02-26 17:24:26 +00:00

59 lines
1.1 KiB
Text

# Maintainer: Robert Yang <decatf@gmail.com>
pkgname=libvdpau-tegra
pkgver=1.0.0
pkgrel=1
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="46f30de86f29a0dbc8671a11240385343ae54f53"
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"