mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
net-client/geopard: new package, add 1.7.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
1
net-client/geopard/Manifest
Normal file
1
net-client/geopard/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST geopard-1.7.0.tar.xz 14413656 BLAKE2B 86333317496ebf50c49a67b2fefe918ea99d70e490ac737aaf391bea52ba9464f843baa3315c45868915a9f3c8e0b8bede4fd05b2dad5f2407b48cfd6725b237 SHA512 874954c0794c4fe79303fc2a8c236e703aa872073da1926d4cd67265a8fff259d8a72072a50bbac7a4acec1d8abb52da0becdb553a66eca4776694af0c0ad335
|
||||
73
net-client/geopard/geopard-1.7.0.ebuild
Normal file
73
net-client/geopard/geopard-1.7.0.ebuild
Normal file
@@ -0,0 +1,73 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES=""
|
||||
inherit cargo gnome2-utils meson xdg
|
||||
|
||||
DESCRIPTION="GTK 4 Gemini browser written in Rust"
|
||||
HOMEPAGE="
|
||||
https://ranfdev.com/projects/geopard/
|
||||
https://github.com/ranfdev/Geopard
|
||||
"
|
||||
SRC_URI="https://github.com/ranfdev/${PN}/releases/download/v${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
# Dependent crate licenses
|
||||
LICENSE+=" Apache-2.0-with-LLVM-exceptions BSD MIT Unicode-DFS-2016"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.66:2
|
||||
>=gui-libs/gtk-4.12:4
|
||||
gui-libs/libadwaita:1
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/pango
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-util/blueprint-compiler
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
BUILD_DIR="${S}/build"
|
||||
ECARGO_HOME="${BUILD_DIR}/cargo-home"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/geopard"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e "s:get_option('profile.*:$(usex debug false true):" \
|
||||
-i src/meson.build || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
unset RUSTC_WRAPPER
|
||||
local emesonargs=(
|
||||
-Doffline=true
|
||||
)
|
||||
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# No meaningful tests
|
||||
:
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
||||
15
net-client/geopard/metadata.xml
Normal file
15
net-client/geopard/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>cyber+gentoo@sysrq.in</email>
|
||||
<name>Anna</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>ranfdev</name>
|
||||
<email>ranfdev@gmail.com</email>
|
||||
</maintainer>
|
||||
<remote-id type="github">ranfdev/Geopard</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user