summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Moffa2024-04-13 19:18:33 +0200
committerMattia Moffa2024-04-13 19:18:33 +0200
commitdd2724b57143e5d8474868f3cc102fcea6322924 (patch)
tree115200a863e8ac225990942b53c15899c655834a
parent7298abfbea095bfffb5e0f9e9342175ee5fd1693 (diff)
downloadaur-dd2724b57143e5d8474868f3cc102fcea6322924.tar.gz
Work around issue https://github.com/eclipse-platform/eclipse.platform.swt/issues/1108
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 9 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1b7100bf6d60..080872faf307 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = eclipse-jee
pkgdesc = Highly extensible IDE (Enterprise Java and Web version)
pkgver = 4.31
- pkgrel = 1
+ pkgrel = 2
epoch = 2
url = https://www.eclipse.org/
arch = x86_64
@@ -10,7 +10,7 @@ pkgbase = eclipse-jee
depends = java-runtime>=17
depends = webkit2gtk
depends = unzip
- provides = eclipse=4.31-1
+ provides = eclipse=4.31-2
conflicts = eclipse
source = eclipse.desktop
sha512sums = 9da29da1fe9e4ac4b8f1a4faef158155399574752a317addf90f6a068019ad62906f8ce1db11e543c7fee7dbf3dd8273aa34fc86ff2354420371cdf9b017cdf3
diff --git a/PKGBUILD b/PKGBUILD
index 9b7ac6c37dc8..278e28e697c6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=eclipse-jee
epoch=2
pkgver=4.31
-pkgrel=1
+pkgrel=2
_release=2024-03/R
pkgdesc="Highly extensible IDE (Enterprise Java and Web version)"
arch=('x86_64' 'aarch64')
@@ -32,7 +32,12 @@ package() {
install -d "${pkgdir}/usr/lib"
cp -r "eclipse" "${pkgdir}/usr/lib/eclipse"
install -d "${pkgdir}/usr/bin"
- ln -s "/usr/lib/eclipse/eclipse" "${pkgdir}/usr/bin/eclipse"
+ #ln -s "/usr/lib/eclipse/eclipse" "${pkgdir}/usr/bin/eclipse"
+ cat > "${pkgdir}/usr/bin/eclipse" <<EOF
+#!/bin/sh
+env WEBKIT_DISABLE_DMABUF_RENDERER=1 /usr/lib/eclipse/eclipse
+EOF
+ chmod 755 "${pkgdir}/usr/bin/eclipse"
install -Dm644 "eclipse.desktop" "${pkgdir}/usr/share/applications/eclipse.desktop"