From 8b4d9a8f54b86f6ef00a5abe89cca68e4f6fd830 Mon Sep 17 00:00:00 2001 From: YiFei Zhu Date: Thu, 21 Dec 2023 09:45:58 -0800 Subject: app-editors/pulsar-bin: add 1.112.1, drop 1.112.0 Signed-off-by: YiFei Zhu --- app-editors/pulsar-bin/Manifest | 4 +- app-editors/pulsar-bin/pulsar-bin-1.112.0.ebuild | 113 ----------------------- app-editors/pulsar-bin/pulsar-bin-1.112.1.ebuild | 113 +++++++++++++++++++++++ 3 files changed, 115 insertions(+), 115 deletions(-) delete mode 100644 app-editors/pulsar-bin/pulsar-bin-1.112.0.ebuild create mode 100644 app-editors/pulsar-bin/pulsar-bin-1.112.1.ebuild (limited to 'app-editors') diff --git a/app-editors/pulsar-bin/Manifest b/app-editors/pulsar-bin/Manifest index 1b5ee98a9..971df0d87 100644 --- a/app-editors/pulsar-bin/Manifest +++ b/app-editors/pulsar-bin/Manifest @@ -1,4 +1,4 @@ DIST pulsar-bin-1.111.0-amd64.tar.gz 211405181 BLAKE2B dccf618bd023cbef7897aff0ae0d70d55316c029a41fe622c3917572826834b08edaba0fe413c4e806bafca11ed0356dd3bf6782598943e583e8fc6ed890a795 SHA512 83822554468af0ba4de3ab7dffce78406c0824a901877bc1b23f25c82191d649c296d2800487585b0ac35441cc4139d4fd0040b275f9e41d2e4f4c2db52dc3c9 DIST pulsar-bin-1.111.0-arm64.tar.gz 190618419 BLAKE2B e45bf411d9a12e1c27a425c3a5db269f29a8ac5205b21a068150f6f16e7080a5a3847f110eeb3078ee745cc4be1a305cb15812292505ec13e5ed1ca360e66f79 SHA512 d2cc391002c3b81d28098aff42dbc9267e1f497b94a00eeab5ad16643717d925b437102ae918481294e60d70143b6f1272e54dcf20f0ea9b65e1a9655921a3e7 -DIST pulsar-bin-1.112.0-amd64.tar.gz 212238152 BLAKE2B bddb96067ad9ebdc08a39461792b621026d02db8bbce65de92546850669ba2b22c2b12ea3c7328123d9bae7180c31bdbdc0c0d960071cd87cf3e394dca5d9ff9 SHA512 c48346ad06f94c031a20b81fd570502e04be754613b62bf5014b0192b858424317eeb94fc8926aac4dee79aab2cd20346db36247f25cd6db4d3869d075815bc6 -DIST pulsar-bin-1.112.0-arm64.tar.gz 191448233 BLAKE2B 84237a92fe5ae022d73f1722c7138c35ecf162a23666e927f7fc0bf928ddcfaa6151766cb83f9d42e14a86d73d6f57bfd24006404b767ce7b783587ee9fffbb5 SHA512 e6b35ba40801c6421352a3c46fa980f2330724c7c60cc93a16d531c2f24020638c3e2d985a62861f81a5fc43e9314ea94985bb36bc97bae89979a87e063714fa +DIST pulsar-bin-1.112.1-amd64.tar.gz 212239188 BLAKE2B b5d5a49dfe4e7a5416268fdcb133983e8b8ebada1b0b1ce9e04702d7f84192aa9f9780e8c7d56cf7e3c7ab8bc9301dd74d553f839a2840771dc9a86d414153fc SHA512 d5ed416cc7000d3f33b9ebd2ba9b1f090515aa670ca1dcb0782ba389f9785317ec27ada63c4af1b55eed6943b102570bd7073f4ebf1ff76cb4900b357835f35c +DIST pulsar-bin-1.112.1-arm64.tar.gz 191449346 BLAKE2B d596c636be5a968769671bdf750dd979bebbddb2b4de6312593c7092cfc172894c3928c7f357fc9a49afa7db3810a9f6681281db40b2892494d68445ce257652 SHA512 14f7c1780d120cca854cb5392ac8f781137c72af21545f0c3f2cbff16ac2cb08d874601f14e1c468df663859ad1ba82f51ac4e5f49fea7a2a00b5d4a9e59e1e8 diff --git a/app-editors/pulsar-bin/pulsar-bin-1.112.0.ebuild b/app-editors/pulsar-bin/pulsar-bin-1.112.0.ebuild deleted file mode 100644 index 0d6013dc9..000000000 --- a/app-editors/pulsar-bin/pulsar-bin-1.112.0.ebuild +++ /dev/null @@ -1,113 +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 ) -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="-* ~amd64 ~arm64" - -# binary package; no tests available -RESTRICT="test" - -S="${WORKDIR}/pulsar-${PV}" - -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.112.1.ebuild b/app-editors/pulsar-bin/pulsar-bin-1.112.1.ebuild new file mode 100644 index 000000000..0d6013dc9 --- /dev/null +++ b/app-editors/pulsar-bin/pulsar-bin-1.112.1.ebuild @@ -0,0 +1,113 @@ +# 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 ) +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm64" + +# binary package; no tests available +RESTRICT="test" + +S="${WORKDIR}/pulsar-${PV}" + +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" +} -- cgit v1.2.3-65-gdbad