2019-12-22 14:51:27 +00:00
|
|
|
# Maintainer: David Heidelberg <david@ixit.cz>
|
|
|
|
pkgname=xf86-video-opentegra
|
2021-04-08 13:06:08 +00:00
|
|
|
pkgver=0.6.0_git20210408
|
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-04-08 13:06:08 +00:00
|
|
|
_commit="10c3321fb5dbefc66ffd3988f94a2098295c09b5"
|
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() {
|
|
|
|
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-04-08 13:06:08 +00:00
|
|
|
sha512sums="5ab65d2768185aef71363e773a711d8978f5513583722f097d09c0fd8ed934af7eb122dff18ca44cf0472734513358daea656e85f5a3e6e460cc062b266e8d10 xf86-video-opentegra-10c3321fb5dbefc66ffd3988f94a2098295c09b5.tar.gz"
|