aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/gnome-podcasts/template
blob: 34446db89e214e22637f2091912861691d6fb4bc (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.6.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=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() {
	if [ "$CROSS_BUILD" ]; then
		vsed -i podcasts-gtk/src/meson.build \
		 	-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
	fi
}