vp-build/srcpkgs/gnome-podcasts/template

27 lines
1.0 KiB
Bash

# Template file for 'gnome-podcasts'
pkgname=gnome-podcasts
version=0.4.6
revision=3
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="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=953c63e8184ca1f748418d8a8262d40eaa41047f81e2d2c874a3035d9d9d0e4a
nocross="rustc cant be crosscompiled as of now"
broken="gettext-rs hash does not exists, if fixed build fails in gio 0.5.0"
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.46
cargo update --package openssl --precise 0.10.22
}