pmaports/main/xf86-video-opentegra/APKBUILD
ryang 2dc0718ddd grate-driver: Update to more recent revision and build for ARMv7 (!241)
Changes:
- Accelerated screen rotation
- Optimizations to buffer copies
- Pull mesa cache buffer size patch from upstream AlpineLinux mesa aport
2019-02-26 17:24:26 +00:00

49 lines
1.4 KiB
Text

# Maintainer: Robert Yang <decatf@gmail.com>
pkgname=xf86-video-opentegra
pkgver=0.6.0
pkgrel=1
pkgdesc="X.Org driver for NVIDIA tegra"
url="https://github.com/grate-driver/"
arch="armhf armv7"
license="MIT"
subpackages="$pkgname-doc"
depends="libdrm-grate"
makedepends="libdrm-grate-dev xorg-server-dev xproto fontsproto util-macros
libtool m4 automake autoconf bison flex"
_commit="feac05833e96ff9951603eb580fc134c0dae2bb8"
source="
https://github.com/grate-driver/xf86-video-opentegra/archive/$_commit.tar.gz
Guard-malloc_trim-with-__GLIBC__.patch
"
builddir="$srcdir"/$pkgname-$_commit
prepare() {
default_prepare
export PKG_CONFIG_PATH="/usr/lib/pkgconfig/libdrm-grate:${PKG_CONFIG_PATH}"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./autogen.sh \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
}
build() {
cd "$builddir"
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="ef29176fa00f374aaaa3e8661614daeb33c16c3baa0dee8503d81943780d5783603d009ffc790c2c5d8cd27e3c1b234715147b206e10b15054e7530f04a156a6 feac05833e96ff9951603eb580fc134c0dae2bb8.tar.gz
3e3cced887a73d865ee03cf030dbe2dd2035e29e3e771d79a95491c6e59a02570e273fc7fec67b87b0bf2008ab97212252bb9ed31bd6137b78d1bbbeda467fec Guard-malloc_trim-with-__GLIBC__.patch"