commit: 93c65c842c0207288565c73cc0133c8553f3c4ba Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Fri Nov 7 03:01:47 2025 +0000 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> CommitDate: Fri Nov 7 03:01:47 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=93c65c84
net-client/geopard: new package, add 1.7.0 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> net-client/geopard/Manifest | 1 + net-client/geopard/geopard-1.7.0.ebuild | 73 +++++++++++++++++++++++++++++++++ net-client/geopard/metadata.xml | 15 +++++++ 3 files changed, 89 insertions(+) diff --git a/net-client/geopard/Manifest b/net-client/geopard/Manifest new file mode 100644 index 0000000000..9067ad7fdb --- /dev/null +++ b/net-client/geopard/Manifest @@ -0,0 +1 @@ +DIST geopard-1.7.0.tar.xz 14413656 BLAKE2B 86333317496ebf50c49a67b2fefe918ea99d70e490ac737aaf391bea52ba9464f843baa3315c45868915a9f3c8e0b8bede4fd05b2dad5f2407b48cfd6725b237 SHA512 874954c0794c4fe79303fc2a8c236e703aa872073da1926d4cd67265a8fff259d8a72072a50bbac7a4acec1d8abb52da0becdb553a66eca4776694af0c0ad335 diff --git a/net-client/geopard/geopard-1.7.0.ebuild b/net-client/geopard/geopard-1.7.0.ebuild new file mode 100644 index 0000000000..6e4074639f --- /dev/null +++ b/net-client/geopard/geopard-1.7.0.ebuild @@ -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 +} diff --git a/net-client/geopard/metadata.xml b/net-client/geopard/metadata.xml new file mode 100644 index 0000000000..286166c692 --- /dev/null +++ b/net-client/geopard/metadata.xml @@ -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>[email protected]</email> + <name>Anna</name> + </maintainer> + <upstream> + <maintainer> + <name>ranfdev</name> + <email>[email protected]</email> + </maintainer> + <remote-id type="github">ranfdev/Geopard</remote-id> + </upstream> +</pkgmetadata>
