aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/gnome-podcasts/template
blob: 09482da49546441b4be5725a99591bcea813d023 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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
}