diff --git a/srcpkgs/gnome-podcasts/patches/fix-musl-build.patch b/srcpkgs/gnome-podcasts/patches/fix-musl-build.patch new file mode 100644 index 00000000000..90b5aadbb05 --- /dev/null +++ b/srcpkgs/gnome-podcasts/patches/fix-musl-build.patch @@ -0,0 +1,11 @@ +--- 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 new file mode 100644 index 00000000000..9f412a8429e --- /dev/null +++ b/srcpkgs/gnome-podcasts/template @@ -0,0 +1,16 @@ +# Template file for 'gnome-podcasts' +pkgname=gnome-podcasts +version=0.4.5 +revision=1 +build_style=meson +wrksrc="podcasts-${version}" +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" +short_desc="Listen to your favorite podcasts" +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 +nocross="rustc cant be crosscompiled as of now"