-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-editors/pulsar-bin: add 1.117.0 & 1.118.0, drop 1.114.0
Signed-off-by: YiFei Zhu <[email protected]>
- Loading branch information
1 parent
b29bb47
commit 61c8ced
Showing
3 changed files
with
116 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
DIST pulsar-bin-1.114.0-amd64.tar.gz 222885863 BLAKE2B e794a16ae40b5275ced2e48c6ee12d4fb18dc73e1644ac3051df512ded4404cc66cc271fc3217b1e3827c28485d9347c95410ac6be750846bfd8509a18fde684 SHA512 48a3c902e451b44ce4bfe4c0656d01b5debb53a6d7b9b146d3795efcda0e3d219e2a8f439c409e5ff7084ec5501c5463126c345fdbf89e09697ee341a04433ea | ||
DIST pulsar-bin-1.114.0-arm64.tar.gz 217795100 BLAKE2B 39cb6313f844190d4813a837d58115d1f7429b3d2a12b6150a1d8d670a1abdb4e4d04b0556fcee245ed01546a5a165a9e3059275a2f4b9b53f4e2516191819fd SHA512 5567cd479949c169b504f1c3212bad6125f2ca35cd5d0ed9857bbf0991c40c63109f6bdd8562b33ba21449b0ba8fb0dc208ffa9a88a9b4bd074fd2749cfc91e3 | ||
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 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
# 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" | ||
} |