pmaports/temp/xf86-video-opentegra/APKBUILD

39 lines
1 KiB
Text
Raw Normal View History

# Maintainer: David Heidelberg <david@ixit.cz>
pkgname=xf86-video-opentegra
pkgver=0.6.0_git20210408
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="10c3321fb5dbefc66ffd3988f94a2098295c09b5"
source="$pkgname-$_commit.tar.gz::https://github.com/grate-driver/xf86-video-opentegra/archive/$_commit.tar.gz"
builddir="$srcdir"/$pkgname-$_commit
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="5ab65d2768185aef71363e773a711d8978f5513583722f097d09c0fd8ed934af7eb122dff18ca44cf0472734513358daea656e85f5a3e6e460cc062b266e8d10 xf86-video-opentegra-10c3321fb5dbefc66ffd3988f94a2098295c09b5.tar.gz"