commit:     ced9a44d70719b3b57b8d6f806b4a00be313bc99
Author:     Pedro Arizmendi <dwosky <AT> pm <DOT> me>
AuthorDate: Sat Oct 25 19:37:30 2025 +0000
Commit:     Pedro Arizmendi <dwosky <AT> pm <DOT> me>
CommitDate: Sat Oct 25 19:37:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ced9a44d

app-editors/pulsar-bin: add 1.130.1

Signed-off-by: Pedro Arizmendi <dwosky <AT> pm.me>

 app-editors/pulsar-bin/Manifest                  |   2 +
 app-editors/pulsar-bin/pulsar-bin-1.130.1.ebuild | 109 +++++++++++++++++++++++
 2 files changed, 111 insertions(+)

diff --git a/app-editors/pulsar-bin/Manifest b/app-editors/pulsar-bin/Manifest
index c71dabdab7..3d0a704ef0 100644
--- a/app-editors/pulsar-bin/Manifest
+++ b/app-editors/pulsar-bin/Manifest
@@ -2,3 +2,5 @@ DIST pulsar-bin-1.127.1-amd64.tar.gz 224639051 BLAKE2B 
8fb76f948fc18360fd8214a9c
 DIST pulsar-bin-1.127.1-arm64.tar.gz 219462221 BLAKE2B 
99514de2e280503fcbdd16c2c7d06f66925f96098a0e93202d31ab93e64c5bb9c661d2e7092706e2c60c8fa8c9b91b7fa657779ff00edf4250e07d8247f932b4
 SHA512 
8047878bcd91a742b19a453953090763a360b560b8a6e41f7b868b6943432ade2e56f649ea22ddc37d60ec7fccae190062d40c2ff621819f23c5e2bf0ffcddb3
 DIST pulsar-bin-1.128.0-amd64.tar.gz 224649182 BLAKE2B 
a2ab73fc559aa165f7818d33db9e1074a3a24698bbd5b8224b0459396cdba50da3c98295e793799130a2be1129648a5b91319270859ee4ef58fd82771bf7b754
 SHA512 
e3d679432d69c1ca25a0a1c376dc7538e0fb923f787a49c9e183a2a589892a56e1ef07d7698a5a760eac1502f036036380bef7faaf300d9374831c11c420688b
 DIST pulsar-bin-1.128.0-arm64.tar.gz 219476423 BLAKE2B 
e708790041b672ead47462532336c82f67fce701c0fd698a3290d3902d64f68bd5d19d77ce1e0e2d89fb6d6479987b5f5177738acd1953c0f1e245de10a2918c
 SHA512 
8e877a1cfc8e5b05b2f8f9897655c1d0948a85a5c6a045eb16f1c4e5088e0aefa00ac931f80e12459d66b15965a71b9eb318dbc5ad34e4b2fd4cd60dcbf6e3b0
+DIST pulsar-bin-1.130.1-amd64.tar.gz 225004581 BLAKE2B 
b1310696325d82cc2b492c68e97fa56d5ee05e865f8ba7450a5397e21d11fe33eeed63f2e9d5080c06a8b5bc0248e2c66f33be7de29ed58a31bab245fb167090
 SHA512 
cb84691c57fc0c4d7dc2e9a636cecb1cea0ff387f3147b27cdedb906fe8b331cf4c806879fdf738def34e1006534277cfdd6f9ee92c0cb7cb45cd8c2f99dd38f
+DIST pulsar-bin-1.130.1-arm64.tar.gz 219826970 BLAKE2B 
dfd794d2c65f53c079f82a5bee0976f365c10bcd3365ee0c4fd94b597e6fa88049d1269756b6e947df89dcd72562810f2483c474d9eeb8bfe2348d9cf4415b0b
 SHA512 
e40465521f767e9e0b5e379e36882a0f90292bb349beaa986fa5b3b2752fb3f0a2e8977703b417ff29d3798cc2efeb929942212f5a118890df76e912ea5ed59e

diff --git a/app-editors/pulsar-bin/pulsar-bin-1.130.1.ebuild 
b/app-editors/pulsar-bin/pulsar-bin-1.130.1.ebuild
new file mode 100644
index 0000000000..0923d8cccc
--- /dev/null
+++ b/app-editors/pulsar-bin/pulsar-bin-1.130.1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop xdg
+
+DESCRIPTION="A Community-led Hyper-Hackable Text Editor"
+HOMEPAGE="https://pulsar-edit.dev/";
+
+ur=https://github.com/pulsar-edit/pulsar/releases/download
+SRC_URI="
+       amd64? ( ${ur}/v${PV}/Linux.pulsar-${PV}.tar.gz -> ${P}-amd64.tar.gz )
+       arm64? ( ${ur}/v${PV}/ARM.Linux.pulsar-${PV}-arm64.tar.gz -> 
${P}-arm64.tar.gz )
+"
+S="${WORKDIR}/pulsar-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+
+# binary package; no tests available
+RESTRICT="test"
+
+RDEPEND="
+       app-accessibility/at-spi2-core
+       dev-libs/nspr
+       app-crypt/libsecret
+       dev-libs/expat
+       dev-libs/glib
+       dev-libs/nss
+       dev-libs/openssl-compat
+       dev-vcs/git
+       media-libs/alsa-lib
+       media-libs/mesa
+       net-misc/curl
+       net-print/cups
+       sys-apps/dbus
+       sys-libs/zlib
+       x11-libs/cairo
+       x11-libs/gdk-pixbuf
+       x11-libs/gtk+:3[X]
+       x11-libs/libdrm
+       x11-libs/libX11
+       x11-libs/libxcb
+       x11-libs/libXcomposite
+       x11-libs/libXdamage
+       x11-libs/libXext
+       x11-libs/libXfixes
+       x11-libs/libxkbcommon
+       x11-libs/libxkbfile
+       x11-libs/libxshmfence
+       x11-libs/libXrandr
+       x11-libs/pango
+"
+
+QA_PREBUILT="opt/Pulsar/*"
+QA_PRESTRIPPED="opt/Pulsar/resources/*"  # Files are already stripped
+
+src_unpack(){
+       default
+
+       if use arm64; then
+               mv "pulsar-${PV}-arm64" "pulsar-${PV}" || die
+       fi
+}
+
+src_prepare(){
+       default
+
+       # We do not install licenses
+       rm resources/LICENSE.md || die "Failed to remove LICENSE"
+}
+
+src_install(){
+       dodir /opt/Pulsar
+       mv "${S}"/* "${ED}"/opt/Pulsar
+
+       dosym -r /opt/Pulsar/resources/pulsar.sh /usr/bin/pulsar
+
+       # Bug #906939
+       if use amd64; then
+               rm 
"${ED}"/opt/Pulsar/resources/app.asar.unpacked/node_modules/tree-sitter-bash/build/node_gyp_bins/python3
 || die
+               rmdir 
"${ED}"/opt/Pulsar/resources/app.asar.unpacked/node_modules/tree-sitter-bash/build/node_gyp_bins
 || die
+       fi
+
+       doicon "${ED}"/opt/Pulsar/resources/pulsar.png
+       make_desktop_entry "/usr/bin/pulsar %F" "Pulsar" "pulsar" \
+               "GNOME;GTK;Utility;TextEditor;Development;" \
+               "GenericName=Text 
Editor\nStartupNotify=true\nStartupWMClass=pulsar\n" \
+               
"MimeType=application/javascript;application/json;application/x-httpd-eruby;" \
+                       
"application/x-httpd-php;application/x-httpd-php3;application/x-httpd-php4;" \
+                       
"application/x-httpd-php5;application/x-ruby;application/x-bash;application/x-csh;"
 \
+                       
"application/x-sh;application/x-zsh;application/x-shellscript;application/x-sql;"
 \
+                       
"application/x-tcl;application/xhtml+xml;application/xml;application/xml-dtd;" \
+                       
"application/xslt+xml;text/coffeescript;text/css;text/html;text/plain;text/xml;"
 \
+                       
"text/xml-dtd;text/x-bash;text/x-c++;text/x-c++hdr;text/x-c++src;text/x-c;text/x-chdr;"
 \
+                       
"text/x-csh;text/x-csrc;text/x-dsrc;text/x-diff;text/x-go;text/x-java;text/x-java-source;"
 \
+                       
"text/x-makefile;text/x-markdown;text/x-objc;text/x-perl;text/x-php;text/x-python;"
 \
+                       
"text/x-ruby;text/x-sh;text/x-zsh;text/yaml;inode/directory"
+
+       einstalldocs
+
+       find "${ED}" -name '*.la' -delete || die
+}
+
+pkg_postinst(){
+       xdg_desktop_database_update
+}

Reply via email to