summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD9
2 files changed, 9 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 932361a4d801..d6c9892566a4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = eclipse-java
pkgdesc = Highly extensible IDE (Java version)
pkgver = 4.31
- pkgrel = 1
+ pkgrel = 2
epoch = 2
url = https://www.eclipse.org/
arch = x86_64
@@ -10,7 +10,7 @@ pkgbase = eclipse-java
depends = java-environment>=21
depends = unzip
depends = webkit2gtk
- provides = eclipse=4.31-1
+ provides = eclipse=4.31-2
conflicts = eclipse
source = eclipse.desktop
sha512sums = 676d79e18ef847fc27efc68d85e5f3c3af3eaaa9946acc98161998a3a0771d2a72c7197bdb6d8c180e1b59c2a0bb591150d15114b416c1a0a0f5dbdb06bdb13e
diff --git a/PKGBUILD b/PKGBUILD
index 5d18274e09ea..3a80456e240e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=eclipse-java
epoch=2
pkgver=4.31
-pkgrel=1
+pkgrel=2
_release=2024-03/R
pkgdesc="Highly extensible IDE (Java version)"
arch=('x86_64' 'aarch64')
@@ -34,7 +34,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 -Dm0644 "eclipse.desktop" "${pkgdir}/usr/share/applications/eclipse.desktop"