summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Moffa2024-04-13 19:24:33 +0200
committerMattia Moffa2024-04-13 19:24:33 +0200
commit23904f40ceebb57ae0c0bf629ca08154d985be58 (patch)
treee83cced61866f9c7b4e35327055c9e9a2abd6b2d
parent019945d4393e9c12d686800cb41aa5057d65c9d3 (diff)
downloadaur-eclipse-php.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 332aaf1d2cc3..8cdddd0ec0fd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = eclipse-php
pkgdesc = Highly extensible IDE (PHP version)
pkgver = 4.31
- pkgrel = 1
+ pkgrel = 2
epoch = 2
url = https://www.eclipse.org/
arch = x86_64
@@ -10,7 +10,7 @@ pkgbase = eclipse-php
depends = java-runtime>=17
depends = webkit2gtk
depends = unzip
- provides = eclipse=4.31-1
+ provides = eclipse=4.31-2
conflicts = eclipse
source = eclipse.desktop
sha512sums = 910d235d1b170b850d91598af1949db5109671236d76f62ea51f9505a285b4b10fcdacae0bc60dc209ab57fbb44d98223fb4b584b31e220253396a933bc98a78
diff --git a/PKGBUILD b/PKGBUILD
index 306aa1e23172..ba2adb38ed96 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=eclipse-php
epoch=2
pkgver=4.31
-pkgrel=1
+pkgrel=2
_release=2024-03/R
pkgdesc="Highly extensible IDE (PHP 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"