Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: shortwave-3.2.0
@ 2023-05-24  6:44 chrysos349
  2023-06-25 17:11 ` [PR PATCH] [Merged]: " Duncaen
  0 siblings, 1 reply; 2+ messages in thread
From: chrysos349 @ 2023-05-24  6:44 UTC (permalink / raw)
  To: ml

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

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

https://github.com/chrysos349/void-packages shortwave
https://github.com/void-linux/void-packages/pull/44058

New package: shortwave-3.2.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-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64
  - aarch64-musl

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

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

From 899d7726dea7930c93a5b4672daab8964a42da07 Mon Sep 17 00:00:00 2001
From: chrysos349 <chrysostom349@gmail.com>
Date: Wed, 24 May 2023 09:31:00 +0300
Subject: [PATCH] New package: shortwave-3.2.0

---
 srcpkgs/shortwave/patches/no-git.patch | 12 ++++++++++++
 srcpkgs/shortwave/template             | 23 +++++++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 srcpkgs/shortwave/patches/no-git.patch
 create mode 100644 srcpkgs/shortwave/template

diff --git a/srcpkgs/shortwave/patches/no-git.patch b/srcpkgs/shortwave/patches/no-git.patch
new file mode 100644
index 000000000000..43f197af9708
--- /dev/null
+++ b/srcpkgs/shortwave/patches/no-git.patch
@@ -0,0 +1,12 @@
+diff -ru a/meson.build b/meson.build
+--- a/meson.build	2023-02-07 02:12:17.000000000 +0300
++++ b/meson.build	2023-04-27 23:57:14.057890647 +0300
+@@ -31,7 +31,7 @@
+ base_id    = 'de.haeckerfelix.Shortwave'
+ path_id    = '/de/haeckerfelix/Shortwave'
+ app_id     = base_id
+-vcs_tag    = run_command('git', 'rev-parse', '--short', 'HEAD').stdout().strip()
++vcs_tag    = 'none'
+ profile    = get_option('profile')
+ datadir    = join_paths(get_option('prefix'), get_option('datadir'))
+ localedir  = join_paths(get_option('prefix'), get_option('localedir'))
diff --git a/srcpkgs/shortwave/template b/srcpkgs/shortwave/template
new file mode 100644
index 000000000000..a9c3f36c28f7
--- /dev/null
+++ b/srcpkgs/shortwave/template
@@ -0,0 +1,23 @@
+# Template file for 'shortwave'
+pkgname=shortwave
+version=3.2.0
+revision=1
+build_style=meson
+build_helper=rust
+hostmakedepends="pkg-config cargo gettext desktop-file-utils glib-devel
+ gtk-update-icon-cache"
+makedepends="libadwaita-devel libshumate-devel rust-std"
+depends="gst-plugins-good1"
+short_desc="Listen to internet radio"
+maintainer="chrysos349 <chrysostom349@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.gnome.org/World/Shortwave"
+distfiles="https://gitlab.gnome.org/World/Shortwave/-/archive/${version}/${pkgname}-${version}.tar.gz"
+checksum=b1d5272d41bf6dd2d7b578e3c352a0f3ca3e502cd3ec0c28ba8153c8887d08b9
+
+post_patch() {
+	if [ "$CROSS_BUILD" ]; then
+		vsed -i src/meson.build \
+			-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
+	fi
+}

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

* Re: [PR PATCH] [Merged]: New package: shortwave-3.2.0
  2023-05-24  6:44 [PR PATCH] New package: shortwave-3.2.0 chrysos349
@ 2023-06-25 17:11 ` Duncaen
  0 siblings, 0 replies; 2+ messages in thread
From: Duncaen @ 2023-06-25 17:11 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

New package: shortwave-3.2.0
https://github.com/void-linux/void-packages/pull/44058

Description:
#### 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
  - aarch64-musl

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

end of thread, other threads:[~2023-06-25 17:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-24  6:44 [PR PATCH] New package: shortwave-3.2.0 chrysos349
2023-06-25 17:11 ` [PR PATCH] [Merged]: " Duncaen

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