aboutsummaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorFilip Kobierski <fkobi@pm.me>2024-10-14 17:02:34 +0200
committerFilip Kobierski <fkobi@pm.me>2024-10-14 17:02:34 +0200
commitce3aa96714dc706258006a24e64a0f91c0777255 (patch)
treec5ad0eae326d0942ff6e0ccc0cd5e72774726288 /dev-db
parentdev-db/dbeaver-bin: drop 23.2.0 (diff)
downloadguru-ce3aa96714dc706258006a24e64a0f91c0777255.tar.gz
guru-ce3aa96714dc706258006a24e64a0f91c0777255.tar.bz2
guru-ce3aa96714dc706258006a24e64a0f91c0777255.zip
dev-db/dbeaver-bin: add 24.2.2, add -* to KEYWORDS
Signed-off-by: Filip Kobierski <fkobi@pm.me>
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/dbeaver-bin/Manifest2
-rw-r--r--dev-db/dbeaver-bin/dbeaver-bin-24.2.2.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-db/dbeaver-bin/Manifest b/dev-db/dbeaver-bin/Manifest
index a06aadafb..beb096387 100644
--- a/dev-db/dbeaver-bin/Manifest
+++ b/dev-db/dbeaver-bin/Manifest
@@ -1,2 +1,4 @@
DIST dbeaver-bin-23.3.0-amd64.tar.gz 87702697 BLAKE2B 604001bb9f2bbbf9da338e837bbac2426ee290a8f75a7a106b43e780c6e5ea525523a8d11d8861988abd673cce4d5759357298c50f1103fe4104513a64de48a7 SHA512 8fa3ad96ab64704324ca1cdbd37acaf3841a307b2fb05b743af6adcdfa2410687b7673ba5dc1db17708566524607c0957badf3d3ae26507e584908b720f3d72e
DIST dbeaver-bin-23.3.0-arm64.tar.gz 87641110 BLAKE2B e93a3d4fe6c72bf9314a01a46ed8c85370bb1cfca75e32cefeb51736ca6cf6365adc302b25b4787c5beee646dc56d6945bfb49abf565c4c738847b7d8f60b2c6 SHA512 f8f36d1b9a668e5fc6a96f9794812d250fec1acf8fe4fb6ca46cdd7940317845e99e3d78fbf153d797bfd84bdc65f7111fd1c25065676ad4d7faa12e35306f00
+DIST dbeaver-bin-24.2.2-amd64.tar.gz 88746937 BLAKE2B 2df7727a42c2282bbe6e84a895f5966a16755a3c2230de629a2c1a69304d97edafa87b353383e94a88ac6ace4c78f697489705cfd5bc8acae2860cc25bff8da2 SHA512 8346e4a125bc825d8ab49b0ac12aa3ec9b845be4db460bb6ce976080ad23b55c800c402869286698498094b1ecf340fa18a16f1e7d24d557d8b972cabb98fe8d
+DIST dbeaver-bin-24.2.2-arm64.tar.gz 88711971 BLAKE2B 5eeb335948b4e804759e38320cc2aab84cd1e0e4d783053681a336db701409f6042736c1e1762d617ae80d40dcbbca28d2948b84a2e86e58436a09ad00f6083b SHA512 25b70b8e68e21201e3bdb11832dbf8a427a02917ba5617d0bbd8f15f29a83d965bd54bcb46734dd5eac15baa23efb4b08512f27931fa3f686cd0c78fcdf3ea1f
diff --git a/dev-db/dbeaver-bin/dbeaver-bin-24.2.2.ebuild b/dev-db/dbeaver-bin/dbeaver-bin-24.2.2.ebuild
new file mode 100644
index 000000000..cb3d4cb9e
--- /dev/null
+++ b/dev-db/dbeaver-bin/dbeaver-bin-24.2.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2019-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop wrapper xdg
+
+MY_PN="${PN%-bin*}"
+
+DESCRIPTION="Free universal database tool (community edition)."
+HOMEPAGE="https://dbeaver.io/"
+SRC_URI="
+ amd64? ( https://dbeaver.io/files/${PV}/${MY_PN}-ce-${PV}-linux.gtk.x86_64-nojdk.tar.gz -> ${P}-amd64.tar.gz )
+ arm64? ( https://dbeaver.io/files/${PV}/${MY_PN}-ce-${PV}-linux.gtk.aarch64-nojdk.tar.gz -> ${P}-arm64.tar.gz )
+"
+
+S="${WORKDIR}/${MY_PN}"
+
+LICENSE="Apache-2.0 EPL-1.0 BSD"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+
+RDEPEND="virtual/jre:17"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed -e "s/^Icon=.*/Icon=${MY_PN}/" \
+ -e 's:/usr/share/dbeaver:/opt/dbeaver:g' \
+ -e '/^WMCLASS.*/d' \
+ -e "s:^Exec=.*:Exec=${EPREFIX}/usr/bin/${MY_PN}:" \
+ -i "${MY_PN}-ce.desktop"
+ default
+}
+
+src_install() {
+ doicon -s 128 "${MY_PN}.png"
+ newicon icon.xpm "${MY_PN}.xpm"
+ domenu "${MY_PN}-ce.desktop"
+ einstalldocs
+ rm "${MY_PN}-ce.desktop" "${MY_PN}.png" icon.xpm readme.txt
+ insinto "/opt/${MY_PN}-ce"
+ doins -r ./*
+ fperms 0755 "/opt/${MY_PN}-ce/${MY_PN}"
+ make_wrapper "${MY_PN}" "/opt/${MY_PN}-ce/${MY_PN}" "/opt/${MY_PN}-ce"
+}