Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: geopard-1.6.0
@ 2025-02-03 17:45 Eloitor
  0 siblings, 0 replies; only message in thread
From: Eloitor @ 2025-02-03 17:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 677 bytes --]

There is a new pull request by Eloitor against master on the void-packages repository

https://github.com/Eloitor/void-packages geopard
https://github.com/void-linux/void-packages/pull/54201

New package: geopard-1.6.0
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

Closes #48903 

A patch file from https://github.com/void-linux/void-packages/pull/54201.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-geopard-54201.patch --]
[-- Type: text/x-diff, Size: 1564 bytes --]

From 007701f44764f6b5d1183a7706ed646c1f762049 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Mon, 3 Feb 2025 18:43:25 +0100
Subject: [PATCH] New package: geopard-1.6.0

---
 srcpkgs/geopard/template | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 srcpkgs/geopard/template

diff --git a/srcpkgs/geopard/template b/srcpkgs/geopard/template
new file mode 100644
index 00000000000000..b6357a16474e22
--- /dev/null
+++ b/srcpkgs/geopard/template
@@ -0,0 +1,29 @@
+# Template file for 'geopard'
+pkgname=geopard
+version=1.6.0
+revision=1
+build_style=meson
+build_helper=rust
+hostmakedepends="cargo gettext blueprint-compiler gtk4-update-icon-cache
+ pkg-config glib-devel AppStream desktop-file-utils"
+makedepends="gdk-pixbuf-devel pango-devel gtk4-devel libadwaita-devel rust-std"
+short_desc="Colorful, adaptive gemini browser"
+maintainer="Eloi Torrents <eloitor@duck.com>"
+license="GPL-3.0-or-later"
+homepage="https://ranfdev.com/projects/Geopard"
+distfiles="https://github.com/ranfdev/Geopard/archive/refs/tags/v${version}.tar.gz"
+checksum=afe3c174a288b8a0229b3a7502cff20fb23d28ff4273b6849d887e74de2e90b0
+
+if [ "$CROSS_BUILD" ]; then
+	makedepends+=" libgirepository-devel gobject-introspection"
+fi
+
+pre_build() {
+	rm -rf ${wrksrc}/subprojects/blueprint-compiler.wrap
+
+	if [ "$CROSS_BUILD" ]; then
+		export GI_TYPELIB_PATH="${XBPS_CROSS_BASE}/usr/lib/girepository-1.0"
+		vsed -i build/build.ninja \
+			-e "s;cp src/release/geopard;cp src/${RUST_TARGET}/release/geopard;"
+	fi
+}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-02-03 17:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-03 17:45 [PR PATCH] New package: geopard-1.6.0 Eloitor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).