temp/libvdpau-tegra: move from main (!571)

This commit is contained in:
Bart Ribbers 2019-08-21 11:51:24 +02:00 committed by Martijn Braam
parent 4cd09020b1
commit 670fa0377a
No known key found for this signature in database
GPG key ID: C4280ACB000B060F

View file

@ -1,12 +1,11 @@
# Maintainer: Robert Yang <decatf@gmail.com> # Forked from Alpine, so we can build it with Tegra support
pkgname=libvdpau-tegra pkgname=libvdpau-tegra
pkgver=1.0.0 pkgver=1.0.0
pkgrel=2 pkgrel=2
pkgdesc="VDPAU backend driver for NVIDIA Tegra 20/30 SoC's" pkgdesc="VDPAU backend driver for NVIDIA Tegra 20/30 SoC's"
url="https://github.com/grate-driver/libvdpau-tegra" url="https://github.com/grate-driver/libvdpau-tegra"
arch="armhf armv7" arch="armhf armv7"
license="GPL2" license="GPL-2.0-or-later"
subpackages=""
depends="libdrm-grate" depends="libdrm-grate"
makedepends=" makedepends="
autoconf autoconf
@ -30,10 +29,9 @@ makedepends="
_commit="10910a2d9e1d6205aa60d4947fe3cf00a330e72a" _commit="10910a2d9e1d6205aa60d4947fe3cf00a330e72a"
source="https://github.com/grate-driver/libvdpau-tegra/archive/$_commit.tar.gz" source="https://github.com/grate-driver/libvdpau-tegra/archive/$_commit.tar.gz"
builddir="$srcdir"/$pkgname-$_commit builddir="$srcdir/$pkgname-$_commit"
prepare() { prepare() {
cd "$builddir"
export PKG_CONFIG_PATH="/usr/lib/pkgconfig/libdrm-grate:${PKG_CONFIG_PATH}" export PKG_CONFIG_PATH="/usr/lib/pkgconfig/libdrm-grate:${PKG_CONFIG_PATH}"
./autogen.sh \ ./autogen.sh \
--build=$CBUILD \ --build=$CBUILD \
@ -42,17 +40,14 @@ prepare() {
} }
build() { build() {
cd "$builddir"
make make
} }
check() { check() {
cd "$builddir"
make check make check
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
} }