33 lines
1.2 KiB
Bash
33 lines
1.2 KiB
Bash
# Template file for 'gnome-podcasts'
|
|
pkgname=gnome-podcasts
|
|
version=0.4.9
|
|
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 libhandy1-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=49a2e48079c84697fe7e1a375a4e15d8687ab6c533488093186f08b7875b1a22
|
|
|
|
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'
|
|
}
|