30 lines
1.1 KiB
Bash
30 lines
1.1 KiB
Bash
# Template file for 'gnome-podcasts'
|
|
pkgname=gnome-podcasts
|
|
version=0.7.1
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="rust"
|
|
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
|
|
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=933d33dfd0f36343f9c80f055a48e14307a0665b35097da176767ddbfe583399
|
|
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() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
vsed -i podcasts-gtk/src/meson.build \
|
|
-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
|
|
fi
|
|
}
|