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