Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/tigervnc
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-04-22 08:04:25 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-04-22 08:04:25 +0200
commit7a6f70f10cd5fa8b120d009806dfa21e307e3f9b (patch)
tree8f91d1c960bde744920dd7e01cf726e733a5a0f6 /community/tigervnc
parent6ec905939af7af72e0e58053e827b7ad1a3ce607 (diff)
community/tigervnc: no java and DRI3 on i486
Diffstat (limited to 'community/tigervnc')
-rw-r--r--community/tigervnc/PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/community/tigervnc/PKGBUILD b/community/tigervnc/PKGBUILD
new file mode 100644
index 00000000..78915425
--- /dev/null
+++ b/community/tigervnc/PKGBUILD
@@ -0,0 +1,21 @@
+# Java currently broken on i486
+# DRI3 has a "configure: error: DRI3 requested, but xshmfence not found." problem currently on i486
+if [ "$CARCH" = 'i486' ]; then
+ makedepends=(${makedepends[@]//java-environment=8/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s/-DBUILD_JAVA=TRUE/-DBUILD_JAVA=FALSE/
+ s/--enable-dri3/--disable-dri3/
+ '
+ )
+ "
+ eval "$(
+ declare -f package | \
+ sed '
+ /VncViewer.jar/d
+ '
+ )
+ "
+fi
+