gnome-podcasts: update to 0.6.1

This commit is contained in:
cinerea0 2024-03-05 10:41:33 -05:00 committed by cinerea0
parent 58a9414c88
commit ef98bc19c2
2 changed files with 10 additions and 48 deletions

View file

@ -1,38 +0,0 @@
From 6614bb62ecbec7c3b18ea7fe44beb50fe7942b27 Mon Sep 17 00:00:00 2001
From: Jan Beich <jbeich@FreeBSD.org>
Date: Thu, 20 Jan 2022 01:27:48 +0000
Subject: [PATCH] meson: drop unused argument for i18n.merge_file()
Ignored in Meson < 0.60.0, deprecated since 0.60.1 and fatal since 0.61.0.
podcasts-gtk/resources/meson.build:5:0: ERROR: Function does not take positional arguments.
podcasts-gtk/resources/meson.build:30:0: ERROR: Function does not take positional arguments.
---
podcasts-gtk/resources/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/podcasts-gtk/resources/meson.build b/podcasts-gtk/resources/meson.build
index c1f1ee9f..87148087 100644
--- a/podcasts-gtk/resources/meson.build
+++ b/podcasts-gtk/resources/meson.build
@@ -2,7 +2,7 @@ subdir('icons')
desktop_conf = configuration_data()
desktop_conf.set('icon', application_id)
-desktop_file = i18n.merge_file ('desktop-file',
+desktop_file = i18n.merge_file (
type: 'desktop',
input: configure_file(
input: files('org.gnome.Podcasts.desktop.in.in'),
@@ -27,7 +27,7 @@ endif
appdata_conf = configuration_data()
appdata_conf.set('appid', application_id)
-appdata_file = i18n.merge_file ('appdata-file',
+appdata_file = i18n.merge_file (
input: configure_file(
input: files('org.gnome.Podcasts.appdata.xml.in.in'),
output: 'org.gnome.Podcasts.appdata.xml.in',
--
GitLab

View file

@ -1,29 +1,29 @@
# Template file for 'gnome-podcasts'
pkgname=gnome-podcasts
version=0.5.1
revision=2
version=0.6.1
revision=1
build_style=meson
build_helper="rust"
hostmakedepends="cargo gettext glib-devel pkg-config sqlite-devel"
hostmakedepends="cargo desktop-file-utils gettext glib-devel
gtk-update-icon-cache pkg-config"
makedepends="gstreamer1-devel gst-plugins-bad1-devel gst-plugins-base1-devel
gtk+3-devel libhandy1-devel openssl-devel sqlite-devel texinfo rust-std"
gtk4-devel libadwaita-devel openssl-devel sqlite-devel texinfo rust-std"
short_desc="Listen to your favorite podcasts"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://wiki.gnome.org/Apps/Podcasts"
changelog="https://gitlab.gnome.org/World/podcasts/-/raw/master/CHANGELOG.md"
distfiles="https://gitlab.gnome.org/World/podcasts/-/archive/${version}/podcasts-${version}.tar.gz"
checksum=73c2d6422e4084e389f07d6daee2339512f68d5b7e38cfc7db35466b16c13500
checksum=1f4cfc05e2db278f6ab5d309a4f84590ee3e97f0c50f1cbd4637be26526eac63
make_check=no # Unable to init server: Could not connect: Connection refused
export GETTEXT_BIN_DIR=/usr/bin
export GETTEXT_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib/gettext"
export GETTEXT_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
post_patch() {
[ -z "$CROSS_BUILD" ] && return 0
vsed -i scripts/cargo.sh \
-e 's%"$CARGO_TARGET_DIR"/%&${RUST_TARGET}/%' \
-e '/CARGO_HOME/d'
if [ "$CROSS_BUILD" ]; then
vsed -i podcasts-gtk/src/meson.build \
-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
fi
}