summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Moffa2024-04-13 19:29:01 +0200
committerMattia Moffa2024-04-13 19:29:01 +0200
commit2ab3c3706e757980d1e33e816d4a00a0c7f65413 (patch)
tree006508a2e610b673055058da893d6c19a475a91c
parent880040cab70247ebb86cfb76442a6b569d1e8fb7 (diff)
downloadaur-2ab3c3706e757980d1e33e816d4a00a0c7f65413.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 a0fa90f22a06..be513c11f679 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = eclipse-dsl
pkgdesc = Highly extensible IDE (Java and DSL version)
pkgver = 4.31
- pkgrel = 1
+ pkgrel = 2
epoch = 2
url = https://www.eclipse.org/
arch = x86_64
@@ -10,7 +10,7 @@ pkgbase = eclipse-dsl
depends = java-runtime>=17
depends = webkit2gtk
depends = unzip
- provides = eclipse=4.31-1
+ provides = eclipse=4.31-2
conflicts = eclipse
source = eclipse.desktop
sha512sums = 542a20e13e7f486c55bfc8e22a9da6f4100125809de6b0a2ecdd95e2ca6a242d4dd02d0eeec328c3a7a96bb4a31d2c0e2c7a8cbdfae7f606c46b8029523f8da2
diff --git a/PKGBUILD b/PKGBUILD
index e6256e49c9cd..eb55abf9d035 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=eclipse-dsl
epoch=2
pkgver=4.31
-pkgrel=1
+pkgrel=2
_release=2024-03/R
pkgdesc="Highly extensible IDE (Java and DSL 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 -Dm0644 "eclipse.desktop" "${pkgdir}/usr/share/applications/eclipse.desktop"