summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libdrm/APKBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/user/libdrm/APKBUILD b/user/libdrm/APKBUILD
index 3e39a6dbc..59c09b360 100644
--- a/user/libdrm/APKBUILD
+++ b/user/libdrm/APKBUILD
@@ -10,15 +10,21 @@ options="!check"
license="MIT"
depends=""
depends_dev="linux-headers"
+checkdepends="bash cunit-dev"
makedepends="$depends_dev bash eudev-dev libpciaccess-dev libpthread-stubs
xmlto"
-checkdepends="bash cunit-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.bz2
ioctl.patch
"
build() {
+ case $CARCH in
+ arm*|aarch64*) _arch_conf="--enable-omap-experimental-api
+ --enable-exynos-experimental-api
+ --enable-tegra-experimental-api" ;;
+ esac
+
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -26,9 +32,9 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
- --enable-freedreno \
--enable-udev \
- --disable-valgrind
+ --disable-valgrind \
+ $_arch_conf
make
}