Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: loupe-45.3
@ 2024-01-06 22:37 chrysos349
  2024-03-19  6:17 ` oreo639
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: chrysos349 @ 2024-01-06 22:37 UTC (permalink / raw)
  To: ml

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

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

https://github.com/chrysos349/void-packages loupe
https://github.com/void-linux/void-packages/pull/48093

New package: loupe-45.3
#### 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-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl x
  - armv7l x
  - armv6l-musl x

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

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

From b8489b1ba726592873e9d3b635c3972630148903 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Sun, 7 Jan 2024 01:32:28 +0300
Subject: [PATCH 1/2] New package: glycin-loaders-0.1.2

---
 srcpkgs/glycin-loaders/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/glycin-loaders/template

diff --git a/srcpkgs/glycin-loaders/template b/srcpkgs/glycin-loaders/template
new file mode 100644
index 0000000000000..365cb73ad0357
--- /dev/null
+++ b/srcpkgs/glycin-loaders/template
@@ -0,0 +1,24 @@
+# Template file for 'glycin-loaders'
+pkgname=glycin-loaders
+version=0.1.2
+revision=1
+build_style=meson
+build_helper=rust
+configure_args="-Dtest_skip_install=true"
+hostmakedepends="cargo gettext git pkg-config"
+makedepends="gtk4-devel libheif-devel rust-std"
+short_desc="Sandboxed and extendable image decoding"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="MPL-2.0"
+homepage="https://gitlab.gnome.org/sophie-h/glycin"
+changelog="https://gitlab.gnome.org/sophie-h/glycin/-/raw/main/NEWS"
+distfiles="${GNOME_SITE}/glycin-loaders/${version%.*}/${pkgname}-${version}.tar.xz"
+checksum=c76c01925abd070174589ccb916a44a573ab65b1e9d493f154e42756431e6dd7
+make_check=no # tests fail with 'no such file or directory'
+
+post_patch() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i loaders/meson.build \
+			-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
+	fi
+}

From 3be038012f94d4190e404322a72d9b9908a4e5c6 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Sun, 7 Jan 2024 01:33:02 +0300
Subject: [PATCH 2/2] New package: loupe-45.3

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

diff --git a/srcpkgs/loupe/template b/srcpkgs/loupe/template
new file mode 100644
index 0000000000000..a82639f6e2ee6
--- /dev/null
+++ b/srcpkgs/loupe/template
@@ -0,0 +1,28 @@
+# Template file for 'loupe'
+pkgname=loupe
+version=45.3
+revision=1
+build_style=meson
+build_helper=rust
+hostmakedepends="cargo desktop-file-utils gettext gtk4-update-icon-cache
+ itstool pkg-config"
+makedepends="lcms2-devel libadwaita-devel libgweather-devel rust-std"
+depends="glycin-loaders"
+short_desc="Simple image viewer for GNOME"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.gnome.org/GNOME/loupe"
+changelog="https://gitlab.gnome.org/GNOME/loupe/-/raw/main/NEWS"
+distfiles="${GNOME_SITE}/loupe/${version%.*}/loupe-${version}.tar.xz"
+checksum=f65f2d1208d085ab5ffa998dd43c92fe952272d4d59b51cfecc11ebdffca2d86
+
+post_patch() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i src/meson.build \
+			-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
+	fi
+}
+
+do_install() {
+	DESTDIR=${DESTDIR} meson install -C build --no-rebuild
+}

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-03-20 21:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-06 22:37 [PR PATCH] New package: loupe-45.3 chrysos349
2024-03-19  6:17 ` oreo639
2024-03-19  6:18 ` oreo639
2024-03-19  6:23 ` oreo639
2024-03-19  7:14 ` oreo639
2024-03-19  7:17 ` [PR REVIEW] " oreo639
2024-03-19  7:47 ` oreo639
2024-03-19  7:51 ` oreo639
2024-03-20  8:24 ` [PR PATCH] [Updated] " chrysos349
2024-03-20  8:51 ` [PR REVIEW] " chrysos349
2024-03-20 10:46 ` [PR PATCH] [Updated] " chrysos349
2024-03-20 10:46 ` chrysos349
2024-03-20 21:13 ` [PR PATCH] [Merged]: New package: loupe-46.0 oreo639

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).