void-packages/srcpkgs/gnome-podcasts/template

25 lines
960 B
Bash

# Template file for 'gnome-podcasts'
pkgname=gnome-podcasts
version=0.4.6
revision=2
wrksrc="podcasts-${version}"
build_style=meson
hostmakedepends="cargo gettext-devel glib-devel pkg-config"
makedepends="gstreamer1-devel gst-plugins-bad1-devel gst-plugins-base1-devel
gtk+3-devel libhandy-devel libressl-devel sqlite-devel texinfo"
short_desc="Listen to your favorite podcasts"
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
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=953c63e8184ca1f748418d8a8262d40eaa41047f81e2d2c874a3035d9d9d0e4a
nocross="rustc cant be crosscompiled as of now"
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"
pre_build() {
cargo update --package openssl-sys --precise 0.9.39
}