mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-editors/edit: new package, add 1.2.0
Signed-off-by: Jonas Frei <freijon@pm.me>
This commit is contained in:
2
app-editors/edit/Manifest
Normal file
2
app-editors/edit/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST edit-1.2.0-crates.tar.xz 8405144 BLAKE2B 8c9ecb1b05eb04cd36c3e33f6d34ce0ea3445c2b2813ce9081e622e26f29e9c2fd9d8390b8516e00dfe1f037300722de4498ded25a88633175896c0eb55ed43f SHA512 d9e7314f2c4a24494da12f1d0ed7526710269311b6c2d768a495873e475ff8f0ce81740e83bf8810e00306bdd7dcb78eb63f799f70ad4ce1e5b94180a208c218
|
||||
DIST edit-1.2.0.tar.gz 457585 BLAKE2B 7babfe066155d98d88945d0c2952ecaeb9074a3ca9fa2c4925b0a26591f63be268558cdaea8637d5e67fdf03975a7fbf3726a77b23b4b632a7b8b751acaadbfa SHA512 72d32f0b46c32195e9198a02be650ad607b3c4ebc36f62d73e38e36f2660b4ed3c51bd2a51a0326c639a45133e7b627a3002946e4047e04c8c5ef5169d6aca02
|
||||
61
app-editors/edit/edit-1.2.0.ebuild
Normal file
61
app-editors/edit/edit-1.2.0.ebuild
Normal file
@@ -0,0 +1,61 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Autogenerated by pycargoebuild 0.14.0
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES=""
|
||||
|
||||
RUST_MIN_VER="1.87.0"
|
||||
|
||||
inherit cargo desktop xdg-utils
|
||||
|
||||
DESCRIPTION="Microsoft edit"
|
||||
HOMEPAGE="https://github.com/microsoft/edit"
|
||||
SRC_URI="
|
||||
https://github.com/microsoft/edit/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/freijon/edit/releases/download/v${PV}/${P}-crates.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
# Dependent crate licenses
|
||||
LICENSE+=" Apache-2.0 MIT Unicode-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/icu
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
||||
|
||||
src_configure() {
|
||||
# high magic to allow system-libs
|
||||
export PKG_CONFIG_ALLOW_CROSS=1
|
||||
|
||||
export RUSTC_BOOTSTRAP=1
|
||||
|
||||
cargo_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
doicon -s scalable "assets/${PN}.svg"
|
||||
domenu "assets/com.microsoft.${PN}.desktop"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
12
app-editors/edit/metadata.xml
Normal file
12
app-editors/edit/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Jonas Frei</name>
|
||||
<email>freijon@pm.me</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">microsoft/edit</remote-id>
|
||||
<bugs-to>https://github.com/microsoft/edit/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user