pmaports/temp/xf86-video-opentegra/APKBUILD

43 lines
1 KiB
Text
Raw Normal View History

# Maintainer: David Heidelberg <david@ixit.cz>
pkgname=xf86-video-opentegra
pkgver=0.6.0_git20211025
pkgrel=0
pkgdesc="X.Org driver for NVIDIA tegra"
url="https://github.com/grate-driver/xf86-video-opentegra"
arch="armhf armv7"
license="MIT"
subpackages="$pkgname-doc"
depends="libdrm"
makedepends="bsd-compat-headers libdrm-dev xorg-server-dev xproto fontsproto util-macros
libtool m4 automake autoconf bison flex"
_commit="9be4b4aa7c81b9b43496e8621954a0f4b343f3b1"
source="$pkgname-$_commit.tar.gz::https://github.com/grate-driver/xf86-video-opentegra/archive/$_commit.tar.gz"
builddir="$srcdir"/$pkgname-$_commit
prepare() {
default_prepare
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./autogen.sh \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
}
build() {
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
199bc7d80486f3378cfa5eec70f5b7660598bab5d8ecc4896da28dbba72e8d917bf3333e5d6ae7b2d50569ddb77392c883ca0393bff30b3f28caa471cb5ee547 xf86-video-opentegra-9be4b4aa7c81b9b43496e8621954a0f4b343f3b1.tar.gz
"