commit:     26325917a30520083a5941f456e73bfdce529aa8
Author:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
AuthorDate: Mon Jul 22 06:44:00 2024 +0000
Commit:     YiFei Zhu <zhuyifei1999 <AT> gmail <DOT> com>
CommitDate: Mon Jul 22 06:44:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=26325917

app-editors/pulsar-bin: add 1.119.0, drop 1.115.0 & 1.117.0

Signed-off-by: YiFei Zhu <zhuyifei1999 <AT> gmail.com>

 app-editors/pulsar-bin/Manifest                    |   6 +-
 app-editors/pulsar-bin/pulsar-bin-1.117.0.ebuild   | 112 ---------------------
 ...in-1.115.0.ebuild => pulsar-bin-1.119.0.ebuild} |   5 +-
 3 files changed, 5 insertions(+), 118 deletions(-)

diff --git a/app-editors/pulsar-bin/Manifest b/app-editors/pulsar-bin/Manifest
index fed5726e7..84bf2b897 100644
--- a/app-editors/pulsar-bin/Manifest
+++ b/app-editors/pulsar-bin/Manifest
@@ -1,6 +1,4 @@
-DIST pulsar-bin-1.115.0-amd64.tar.gz 222906219 BLAKE2B 
1e87b9ca57e8d78ca1ff7f0d126393a739fa0375557a473495b8b46e3c10b165af94fc02067703acfd138b626e3ffe9e566cdff093527520f3a5fb61c168259e
 SHA512 
42f23816cdb22186c76b4016f2ecd1ad1b341510eb03dd3a081b369bb9f4e815fc980a91c6a30e4167a6df5ed037969b61f7500cb2ee63e20bced010f58a1cb1
-DIST pulsar-bin-1.115.0-arm64.tar.gz 217823606 BLAKE2B 
c01d06b69468710153ad0d821d762b677a2e5c16681a0ea058810f3d2825537ad04be571d40c2379e4d6715248a47c7d8aae796585749b0b78e6f6f3a12e78e8
 SHA512 
159d56269e5aef10dbb16b392f9d5095daf84452f991ea6dbe1e835d5fc490802ff446a78c2b44f9768741f4bba523337ab59de64924f21b93295e7b3a415fe3
-DIST pulsar-bin-1.117.0-amd64.tar.gz 223218350 BLAKE2B 
82ee4b9d4d57f169c73512d5679152538f0abf33d12d4dd4789865617037ec7b681f364114b2f952780a9101e2e849006281f29b6d970a892a0952b22878d862
 SHA512 
a4f582ecf4cb0a0b8a1e79588b9a309472adda8007b4ed7090f470bf5de2c950bfb8fec753824143497b13c79c2c316149d4d5bfa1cffd7f52d20aada33df166
-DIST pulsar-bin-1.117.0-arm64.tar.gz 218131536 BLAKE2B 
a0f67c3c9170b171dd8bf8cd346c56b710bd52b67b7d6130121645fb1a9885080122acddbe3e6e59b50783de2f0dc3de5686912054d0db645ea139580a145070
 SHA512 
c81efd2004fbd35457e5fa04618f0a74ff7346ddd04066b60c7e25d543b3971efd80dcd82192dd3f1a2b489d6f980395564ba4649569bb911bdd61ab47915f89
 DIST pulsar-bin-1.118.0-amd64.tar.gz 223330647 BLAKE2B 
c3915aafae95e541688c56a4f3d9e4962991e80a04b3e6a08ca7fc6fdb04c300474fb7b9ef3f9fd49947372205591fc551d673d1263a067800418a8dc1b448d6
 SHA512 
19206ad4b64cbe149293393041ff95727ef94e2e736e0e46ce362792bbccf4381e158a37c7d87203b1cd2968f5444bfd3a879657771f6c57f54795e038461711
 DIST pulsar-bin-1.118.0-arm64.tar.gz 218245520 BLAKE2B 
2614a029a9b9ec4d7cc68e957597f925f95c32a908181f9d8d8a338adf6f051d2a8093712102367ef000230370b43722a18b2baee5818ccdf52d4e3414eac78d
 SHA512 
b66a2790cd2fdd831baa905943a4726b6f82cd24c755bc51c87ae17f2248d819ea760effa41acb7ef675da7f85223d6efadfa732fa43325f134a9b0efebb7cbe
+DIST pulsar-bin-1.119.0-amd64.tar.gz 223426238 BLAKE2B 
a12ca733ca1a6053b899badf38a1f9d19ed22065646a42d36466740f0c277308edbb07032ef899681279ecdee53b3d1517ce5b880efc1bb2ccbe7dc69ee73c86
 SHA512 
e25c0e148ce5d5957ae76457016d95951a89400605c3ec3b930f956d7144a906a50faf4c126d44557831ef7bb2c3cc251fd6f29e7257461f1699ff26f08ccf0b
+DIST pulsar-bin-1.119.0-arm64.tar.gz 218339722 BLAKE2B 
8adaa5b41f909c539cf56035bc05220353b657329b4e87ab9d85e6cf8cb1557e1149a6278d9eaa721830f178c82e33716d90eabd521cc522e8ae38d2c978b45d
 SHA512 
59bed4cbce00b757505c69ca759437db1602b1355054402fa0e836949dd8ad655e6191bd24e6edda6c1a38a5fa413d3677c9ebb0de335d868b7c0a59eead82db

diff --git a/app-editors/pulsar-bin/pulsar-bin-1.117.0.ebuild 
b/app-editors/pulsar-bin/pulsar-bin-1.117.0.ebuild
deleted file mode 100644
index 3802a88a3..000000000
--- a/app-editors/pulsar-bin/pulsar-bin-1.117.0.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2023 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/";
-
-SRC_URI="
-       amd64? ( 
https://github.com/pulsar-edit/pulsar/releases/download/v${PV}/Linux.pulsar-${PV}.tar.gz
 -> ${P}-amd64.tar.gz )
-       arm64? ( 
https://github.com/pulsar-edit/pulsar/releases/download/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
-
-       elog "To migrate configurations & saved state from Atom Editor, 
execute:"
-       elog "    cp -a \$HOME/.atom \$HOME/.pulsar"
-       elog "    cp -a \$HOME/.config/Atom \$HOME/.config/Pulsar"
-}

diff --git a/app-editors/pulsar-bin/pulsar-bin-1.115.0.ebuild 
b/app-editors/pulsar-bin/pulsar-bin-1.119.0.ebuild
similarity index 92%
rename from app-editors/pulsar-bin/pulsar-bin-1.115.0.ebuild
rename to app-editors/pulsar-bin/pulsar-bin-1.119.0.ebuild
index 3802a88a3..ed8a180fb 100644
--- a/app-editors/pulsar-bin/pulsar-bin-1.115.0.ebuild
+++ b/app-editors/pulsar-bin/pulsar-bin-1.119.0.ebuild
@@ -8,9 +8,10 @@ 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? ( 
https://github.com/pulsar-edit/pulsar/releases/download/v${PV}/Linux.pulsar-${PV}.tar.gz
 -> ${P}-amd64.tar.gz )
-       arm64? ( 
https://github.com/pulsar-edit/pulsar/releases/download/v${PV}/ARM.Linux.pulsar-${PV}-arm64.tar.gz
 -> ${P}-arm64.tar.gz )
+       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}"
 

Reply via email to