33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Template file for 'gnome-podcasts'
|
|
pkgname=gnome-podcasts
|
|
version=0.4.8
|
|
revision=1
|
|
wrksrc="podcasts-${version}"
|
|
build_style=meson
|
|
build_helper="rust"
|
|
hostmakedepends="cargo gettext glib-devel pkg-config sqlite-devel"
|
|
makedepends="gstreamer1-devel gst-plugins-bad1-devel gst-plugins-base1-devel
|
|
gtk+3-devel libhandy-devel libressl-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"
|
|
distfiles="https://gitlab.gnome.org/World/podcasts/-/archive/${version}/podcasts-${version}.tar.gz"
|
|
checksum=f29c0057dfcdd6ab1745533cc6826f07adddbe3b5b9aad2757421d1259b8303c
|
|
|
|
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"
|
|
|
|
# Unable to init server: Could not connect: Connection refused
|
|
do_check() {
|
|
:
|
|
}
|
|
|
|
post_patch() {
|
|
[ -z "$CROSS_BUILD" ] && return 0
|
|
vsed -i scripts/cargo.sh \
|
|
-e 's%"$CARGO_TARGET_DIR"/%&${RUST_TARGET}/%' \
|
|
-e '/CARGO_HOME/d'
|
|
}
|