From 6327b0d71b6b64de031c561a47c13d6db0f4c17c Mon Sep 17 00:00:00 2001 From: Johannes Date: Fri, 2 Nov 2018 12:37:40 +0100 Subject: [PATCH] gnome-podcasts: update to 0.4.6 fixes: #4284 --- srcpkgs/gnome-podcasts/patches/fix-musl-build.patch | 11 ----------- srcpkgs/gnome-podcasts/template | 10 +++++++--- 2 files changed, 7 insertions(+), 14 deletions(-) delete mode 100644 srcpkgs/gnome-podcasts/patches/fix-musl-build.patch diff --git a/srcpkgs/gnome-podcasts/patches/fix-musl-build.patch b/srcpkgs/gnome-podcasts/patches/fix-musl-build.patch deleted file mode 100644 index 90b5aadbb05..00000000000 --- a/srcpkgs/gnome-podcasts/patches/fix-musl-build.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- podcasts-gtk/Cargo.toml -+++ podcasts-gtk/Cargo.toml -@@ -28,7 +28,7 @@ reqwest = "0.8.8" - serde_json = "1.0.26" - # html2text = "0.1.8" - html2text = { git = "https://github.com/alatiera/rust-html2text" } --gettext-rs = { git = "https://github.com/danigm/gettext-rs", branch = "no-gettext", features = ["gettext-system"] } -+gettext-rs = { git = "https://github.com/danigm/gettext-rs", features = ["gettext-system"] } - - [dependencies.gtk] - features = ["v3_22"] diff --git a/srcpkgs/gnome-podcasts/template b/srcpkgs/gnome-podcasts/template index 9f412a8429e..fd555c2b437 100644 --- a/srcpkgs/gnome-podcasts/template +++ b/srcpkgs/gnome-podcasts/template @@ -1,9 +1,9 @@ # Template file for 'gnome-podcasts' pkgname=gnome-podcasts -version=0.4.5 +version=0.4.6 revision=1 -build_style=meson wrksrc="podcasts-${version}" +build_style=meson hostmakedepends="cargo gettext-devel glib-devel pkg-config" makedepends="gstreamer1-devel gst-plugins-bad1-devel gst-plugins-base1-devel gtk+3-devel libhandy-devel libressl-devel sqlite-devel texinfo" @@ -12,5 +12,9 @@ maintainer="Rasmus Thomsen " license="GPL-3.0-or-later" homepage="https://wiki.gnome.org/Apps/Podcasts" distfiles="https://gitlab.gnome.org/World/podcasts/-/archive/${version}/podcasts-${version}.tar.gz" -checksum=aba47ef413bebab877311913355f174418122369dffaba12a4c65692e39818b2 +checksum=953c63e8184ca1f748418d8a8262d40eaa41047f81e2d2c874a3035d9d9d0e4a nocross="rustc cant be crosscompiled as of now" + +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"