mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
app-admin/ripasso: new package, add 0.7.0
Signed-off-by: Jonas Frei <freijon@pm.me>
This commit is contained in:
2
app-admin/ripasso/Manifest
Normal file
2
app-admin/ripasso/Manifest
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
DIST ripasso-0.7.0-crates.tar.xz 41856796 BLAKE2B 5e093d00c5bb492dcce4d94f55d0ae3d078a46013aa0b6024e8f84c8699da61f12a73a9e8bfb9668e22d084ba4f02e0eda812a860cb645c5d5688af0b378b7ca SHA512 3d58cfdfb6fee80664e9a92acb03628937b02a8c62ad490a89a0eff3d67ee938c26b13274d511e98d6d92bfde7f56c46552c19a44cdd7cb5068c29ae1dd4e8bb
|
||||||
|
DIST ripasso-0.7.0.tar.gz 1722848 BLAKE2B 5cf02602b5a144bffe83311cba3ed1001512df8682626a6e531d16a390e29cc19d44f06287d0fd57cb9f42b463cbda5bb0093e31f1ce7db09cb5eb05d07efa37 SHA512 64a0a8fa0debbf16e6df41f26eec99f9cdb351305fb24ca1073f5c97d255ace15d4019de0bdd353cc396efc3ca7e7667da55d2eab9c37313d60b47533ea8352c
|
||||||
12
app-admin/ripasso/metadata.xml
Normal file
12
app-admin/ripasso/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">cortex/ripasso</remote-id>
|
||||||
|
<bugs-to>https://github.com/cortex/ripasso/issues</bugs-to>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
77
app-admin/ripasso/ripasso-0.7.0.ebuild
Normal file
77
app-admin/ripasso/ripasso-0.7.0.ebuild
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
# Copyright 2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# Autogenerated by pycargoebuild 0.13.5
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
CRATES=""
|
||||||
|
|
||||||
|
inherit cargo plocale
|
||||||
|
|
||||||
|
PLOCALES="de fr it nb nn ru sv"
|
||||||
|
|
||||||
|
DESCRIPTION="A password manager that uses the file format of 'pass'"
|
||||||
|
HOMEPAGE="https://github.com/cortex/ripasso"
|
||||||
|
SRC_URI="https://github.com/cortex/${PN}/archive/refs/tags/release-${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
DEPS_URI="https://github.com/freijon/${PN}/releases/download/release-${PV}/${P}-crates.tar.xz"
|
||||||
|
SRC_URI+=" ${DEPS_URI}"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN}-release-${PV}"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
# Dependent crate licenses
|
||||||
|
LICENSE+="
|
||||||
|
Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 CC0-1.0 ISC
|
||||||
|
LGPL-2+ LGPL-2.1 MIT MPL-2.0 Unicode-3.0 Unicode-DFS-2016 Unlicense
|
||||||
|
|| ( GPL-2 GPL-3 LGPL-3 )
|
||||||
|
"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="gtk"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
app-crypt/gpgme
|
||||||
|
dev-libs/gmp
|
||||||
|
dev-libs/libgit2:=
|
||||||
|
dev-libs/libgpg-error
|
||||||
|
dev-libs/nettle
|
||||||
|
dev-libs/openssl:0=
|
||||||
|
sys-libs/zlib
|
||||||
|
gtk? ( gui-libs/gtk )
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
# See https://github.com/cortex/ripasso/issues/348
|
||||||
|
RESTRICT+=" test"
|
||||||
|
|
||||||
|
QA_FLAGS_IGNORED="usr/bin/${PN}.*"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# high magic to allow system-libs
|
||||||
|
export OPENSSL_NO_VENDOR=true
|
||||||
|
export LIBGIT2_SYS_USE_PKG_CONFIG=1
|
||||||
|
export PKG_CONFIG_ALLOW_CROSS=1
|
||||||
|
|
||||||
|
cargo_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cargo_src_install --path "cursive"
|
||||||
|
use gtk && cargo_src_install --path "gtk"
|
||||||
|
|
||||||
|
dosym "${PN}-cursive" "/usr/bin/${PN}"
|
||||||
|
|
||||||
|
mv "target/man-page/cursive/${PN}-cursive.1" "target/man-page/cursive/${PN}.1" || die
|
||||||
|
doman "target/man-page/cursive/${PN}.1"
|
||||||
|
|
||||||
|
plocale_for_each_locale install_translations
|
||||||
|
}
|
||||||
|
|
||||||
|
install_translations() {
|
||||||
|
insinto "/usr/share/locale/${1}/LC_MESSAGES/"
|
||||||
|
newins "target/translations/cursive/${1}.mo" "${PN}-cursive.mo"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user