From e91544cc8b58c6228a7787a4e8d5d6d8907b3a1c Mon Sep 17 00:00:00 2001 From: YiFei Zhu Date: Tue, 19 Sep 2023 20:27:50 -0700 Subject: app-editors/pulsar-bin: add 1.109.0, drop 1.107.1 Signed-off-by: YiFei Zhu --- app-editors/pulsar-bin/Manifest | 4 +- app-editors/pulsar-bin/pulsar-bin-1.107.1.ebuild | 113 ----------------------- app-editors/pulsar-bin/pulsar-bin-1.109.0.ebuild | 113 +++++++++++++++++++++++ 3 files changed, 115 insertions(+), 115 deletions(-) delete mode 100644 app-editors/pulsar-bin/pulsar-bin-1.107.1.ebuild create mode 100644 app-editors/pulsar-bin/pulsar-bin-1.109.0.ebuild (limited to 'app-editors/pulsar-bin') diff --git a/app-editors/pulsar-bin/Manifest b/app-editors/pulsar-bin/Manifest index 84b7714c9..57aca4efc 100644 --- a/app-editors/pulsar-bin/Manifest +++ b/app-editors/pulsar-bin/Manifest @@ -1,4 +1,4 @@ -DIST pulsar-bin-1.107.1-amd64.tar.gz 229779993 BLAKE2B 36262b199a034461f9e8c99aeacfb503bcf14ed753cbaee0743a78741b8b4b52f846fb1995e215151ddd152ee47abeed0a0ee29a296a62043829a3dbe673bef8 SHA512 5f06db0ada92017f1493fdc2032eeb65cbc0db08ecb0b729670ba2fbbcd8d898f4e37f844b7d6109c65c8769a9ffb5f7e16db3d432589635d64fd2af34af7ec7 -DIST pulsar-bin-1.107.1-arm64.tar.gz 191166102 BLAKE2B 517e2fbd5878d8fcced8fc3726c26a7592fe1f45dc2b42758f685b156b03b875d8ec34b06a50fde029d68c47da9ff0f02fe923a7480455107aac961a023303f7 SHA512 6258e102e62574dfb5e5a01a05421375e5a6ba15f8e5c176419d8d3323f13440d15239b68f71058a2384caca7cdde6eec66e285576f04cf7b107ebe555183015 DIST pulsar-bin-1.108.0-amd64.tar.gz 230184003 BLAKE2B 706208f24deaf90ac381358c46747c0ac00954c5aa9d7cb4db45dee15a4450df9a4abe88df096c00b8be4cb86b7bd207c60227b0e3c261ce208b4a08ebc2cd1b SHA512 8c90f8dbec1dcfa8e8ada01809dc1b95b6f8f61886cf0e767509f04c72ec49abd7edd5cfe773df649ff7c081d936bf1dcf906e3e70a831cbb417e5a3a033f2f1 DIST pulsar-bin-1.108.0-arm64.tar.gz 191573170 BLAKE2B 1f8242730531ccf0395fbfcfd0c6284a0191ce40a1d700f449014662f93de72db6d55599e92baaba1c9b3135c73c8f17c063494778620974c0e37880621723d8 SHA512 d049d6f6951e9e3438b7334d7aafde612719be8c71e647970ad99031be1bf5581f0d02711c7b3a05d1248d0e9783b83a982a60178f6aee2f3f8d4609beea18ca +DIST pulsar-bin-1.109.0-amd64.tar.gz 230323361 BLAKE2B 1f97a0ad37bb32d677923fcfe18870dffd8865b116a21936178ef8deed276409cb38fd5b22f9375a7fc72d5996030afc15648d13da36fa4bd30e74febd79ce4c SHA512 c95d1b1a6a644eff5eee0ce49fd88b56062effb7ecc7a37a6de732846ee86c862504d3341e9b5fc10cdadf71051f427f7d252ed66865cc4b83f8861680b7624e +DIST pulsar-bin-1.109.0-arm64.tar.gz 191749896 BLAKE2B 2097ffcb98f3b0b1862b7852f5cf497bf04b6f55629e7ecb863b0b0b2bad36b983c76eb57b46e38b281fabdc3aeff4c97045cd0ee21a34d7b6cd42dd0db712d9 SHA512 683e1c495808643f5f380c7c231a6b811f7834be6d6c8f1021cd4535f1a6c9416180f919aab7d3f7aaa4feef91d713e5f25a540246145641baca35814eec951d diff --git a/app-editors/pulsar-bin/pulsar-bin-1.107.1.ebuild b/app-editors/pulsar-bin/pulsar-bin-1.107.1.ebuild deleted file mode 100644 index 0d6013dc9..000000000 --- a/app-editors/pulsar-bin/pulsar-bin-1.107.1.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.109.0.ebuild b/app-editors/pulsar-bin/pulsar-bin-1.109.0.ebuild new file mode 100644 index 000000000..0d6013dc9 --- /dev/null +++ b/app-editors/pulsar-bin/pulsar-bin-1.109.0.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