diff options
author | 2023-12-06 13:27:52 +0100 | |
---|---|---|
committer | 2023-12-06 13:27:52 +0100 | |
commit | 7c28d96ac3ef59f79f3d292a0b455a31cb3db2d4 (patch) | |
tree | a68678d3a3c77770f3415f7d5fa29ddb1b818d5b /app-editors | |
parent | gui-apps/nwg-shell-config: drop 0.5.27 (diff) | |
download | guru-7c28d96ac3ef59f79f3d292a0b455a31cb3db2d4.tar.gz guru-7c28d96ac3ef59f79f3d292a0b455a31cb3db2d4.tar.bz2 guru-7c28d96ac3ef59f79f3d292a0b455a31cb3db2d4.zip |
app-editors/lapce: add 0.3.1
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/lapce/Manifest | 2 | ||||
-rw-r--r-- | app-editors/lapce/lapce-0.3.1.ebuild | 66 |
2 files changed, 68 insertions, 0 deletions
diff --git a/app-editors/lapce/Manifest b/app-editors/lapce/Manifest index 01ba82cf5..a74fcba84 100644 --- a/app-editors/lapce/Manifest +++ b/app-editors/lapce/Manifest @@ -243,6 +243,8 @@ DIST lapce-0.2.7.tar.gz 2058851 BLAKE2B e5e63a0d5e5229b2a8c422890df618471e13f76e DIST lapce-0.2.8.tar.gz 2065470 BLAKE2B 49bb523a5c3c3246bc8d2ca0401f60b12f844a5cf07e797048d556293cd1f9fa614abc23fce8da69a6693973696f7f115ba326e455eb5cd376232230b0e0d407 SHA512 d0763d1b9003d90a57010d503f73c34d4b80fea731f6a95857aa0797b011578943d9e61ca957df17831570c78d79d459c50a8ef3c73ffb0fdc4eb7ff9a5c134e DIST lapce-0.3.0-vendor.tar.gz 119791638 BLAKE2B 294aa78517aea5ec696d5eec3be8904f3fd78a6040f5e66424d32f349570eb85d267355f7857aedb62d04ef84710ae05b7bf30239cda78ad24313684167cfc07 SHA512 ff2b35c0e4a984a8b55b2b78088be2e17c1d24b25f52f006a9eeeee6f16dbc5cf8801ce3f50d4d6283d5a64e915c5d68097ca845c14ae54c1cc289d8e1ab1566 DIST lapce-0.3.0.tar.gz 2002986 BLAKE2B 2262379fce966a5857b259debf899b53969da431b876d2f66b29d032eafe9bb0977a623151a0f419be9dd981e2aa8d520fa7b687018236092058ad7ce5821875 SHA512 9eaf0190930a4e582a60bb3ff327944553ca87101c86ca9610650b40a5a45092dd6921842880021393c79ea4ff97ec91bab12e316e6693b7b881b68f6bcb1d6e +DIST lapce-0.3.1-vendor.tar.gz 120112710 BLAKE2B 3d88b82b23e5cb2f9cb6d10f5baedb8e2f3f770ae7f75cc49984d794e35e062d8732efff720d1b5e86da5b51935f758f8bed5f7ccf87de34ed2dbecea8ebd609 SHA512 585930809e7ecb8f4670559e1c372ca3b405cb0aa7bfe51d04d44208f3fd6bc04d646dc709ff5388a68a12dc4d3e5f627bab31404a948179daad78df9d049502 +DIST lapce-0.3.1.tar.gz 1607377 BLAKE2B 4c2f7e6d2d84ae5577c1c3a179f62bc7d9e0b5e85a5ca1cc5d24d0cdafe8dd69396d83a68b16bccc1ff82a95a7a7f3ec2bddd6b75c0798b89280e8abda3d195c SHA512 d7fbb5b75ff31f8ab760315fca045c1e1d7bfbcb91a4251b881a565fc6306656a2d8c63328f0cc4b2e8bb84774942b4ceb92f18ad02d245f1a44c2e6c6283dcb DIST lapce-xi-rope-0.3.1.crate 76236 BLAKE2B 1f3a540460ec305a99feb5d16d273c2ddffcbe0886a386a527572445e2d8fc95e0ebe5dfe806422e95ff7f1ee4a2d8fe4778da299d91858966d28555d700cf9e SHA512 b38ebd197059c2d0af033cc31123106a9fe8d580f298ed1f9ed3793bc24750f3509d23069bf6c10650f124f5c2de9c9a46135d43eed7ccf10a295b490e3e9d46 DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8269ecb6be3ea6147bd00f7a588df15a91f44dfc18ada19b21faa71de4637c7d493a8628cbecd0e547d74e616a23 SHA512 e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8 DIST lazycell-1.3.0.crate 12502 BLAKE2B dca2d3f46823a52dcf87b7d6103fc4f1f83bc5247ce361946ac2d9df239fb43ce4b418104503698dff0242480cd014996e77da4ae0a88f3cedbce4eb9d3c9ef8 SHA512 f9d627afc28b61e9687a3f72260eb013401fd64057647641ff2e763770d7380ab1d2d8cbb4a3c8818d53d504c618a3b46aaf701f72f4d7b25d226042824c2f8d diff --git a/app-editors/lapce/lapce-0.3.1.ebuild b/app-editors/lapce/lapce-0.3.1.ebuild new file mode 100644 index 000000000..73814c739 --- /dev/null +++ b/app-editors/lapce/lapce-0.3.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +CRATES=" " + +inherit cargo desktop xdg-utils + +DESCRIPTION="Lightning-fast and Powerful Code Editor written in Rust " +HOMEPAGE="https://lapce.dev/" +SRC_URI=" + https://github.com/lapce/lapce/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/lapce/lapce/releases/download/v${PV}/vendor.tar.gz -> ${P}-vendor.tar.gz +" + +LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions Artistic-2 BSD BSD-2 Boost-1.0 CC0-1.0 CeCILL-2.1 GPL-2 ISC MIT MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + x11-libs/gtk+:3 + media-libs/fontconfig + sys-libs/zlib + x11-libs/libxcb:= + dev-libs/libgit2:= +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-util/cmake + sys-devel/gcc + virtual/pkgconfig + >=virtual/rust-1.64 +" + +# rust does not use *FLAGS from make.conf, silence portage warning +QA_FLAGS_IGNORED="usr/bin/.*" + +src_unpack() { + default + cargo_gen_config + ln -s "${WORKDIR}/vendor/" "${WORKDIR}/lapce-${PV}/vendor" || die + sed -i "${ECARGO_HOME}/config" -e '/source.crates-io/d' || die + sed -i "${ECARGO_HOME}/config" -e '/replace-with = "gentoo"/d' || die + sed -i "${ECARGO_HOME}/config" -e '/local-registry = "\/nonexistent"/d' || die + cat "${WORKDIR}/vendor/vendor-config.toml" >> "${ECARGO_HOME}/config" || die +} + +src_compile() { + export RELEASE_TAG_NAME=v"${PV}" + cargo_src_compile +} + +src_install() { + dobin target/release/lapce + dobin target/release/lapce-proxy + domenu extra/linux/dev.lapce.lapce.desktop + newicon extra/images/logo.png dev.lapce.lapce.png +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} |