From fca5c6cf1f3fa86076a38aaf098e0e1f39c99b1a Mon Sep 17 00:00:00 2001 From: IFoundSilentHouse Date: Fri, 5 Apr 2024 15:27:24 +0600 Subject: [PATCH] New package: geopard-1.4.0 --- srcpkgs/geopard/patches/000-appstream.patch | 21 +++++++++++++++ srcpkgs/geopard/template | 29 +++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 srcpkgs/geopard/patches/000-appstream.patch create mode 100644 srcpkgs/geopard/template diff --git a/srcpkgs/geopard/patches/000-appstream.patch b/srcpkgs/geopard/patches/000-appstream.patch new file mode 100644 index 00000000000000..ce911af7a3812e --- /dev/null +++ b/srcpkgs/geopard/patches/000-appstream.patch @@ -0,0 +1,21 @@ +diff --git a/data/com.ranfdev.Geopard.metainfo.xml.in.in b/data/com.ranfdev.Geopard.metainfo.xml.in.in +index 4bb34c2..a76a28c 100644 +--- a/data/com.ranfdev.Geopard.metainfo.xml.in.in ++++ b/data/com.ranfdev.Geopard.metainfo.xml.in.in +@@ -88,12 +88,10 @@ + + + +-
    +-
  • Improved design, with completely new pages for downloads, input requests, external links, errors
  • +-
  • Added more spacing between links to make them easier to click on small screens
  • +-
  • Added zoom functionality, via shortcuts or directly from the popover menu
  • +-
  • Streaming button (alpha) for some audio/video file types
  • +-
++

Improved design, with completely new pages for downloads, input requests, external links, errors

++

Added more spacing between links to make them easier to click on small screens

++

Added zoom functionality, via shortcuts or directly from the popover menu

++

Streaming button (alpha) for some audio/video file types

+
+
+ diff --git a/srcpkgs/geopard/template b/srcpkgs/geopard/template new file mode 100644 index 00000000000000..3eda62a851dc6d --- /dev/null +++ b/srcpkgs/geopard/template @@ -0,0 +1,29 @@ +# Template file for 'geopard' +pkgname=geopard +version=1.4.0 +revision=1 +build_style=meson +build_helper=rust +hostmakedepends="cargo gettext blueprint-compiler gtk4-update-icon-cache + pkg-config glib-devel appstream-glib desktop-file-utils" +makedepends="gdk-pixbuf-devel pango-devel gtk4-devel libadwaita-devel rust-std" +short_desc="Colorful, adaptive gemini browser" +maintainer="iFoundSilentHouse " +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=b48224c3a610811e1f861d5478bab7c84cba1caa25e48d7b66e71c863c5bdd3f + +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 +}