newsflash: update to 3.3.5.

This commit is contained in:
oreo639 2025-04-17 21:48:11 -07:00 committed by oreo639
parent 5221822c72
commit 50cbe7c097

View file

@ -1,19 +1,18 @@
# Template file for 'newsflash'
pkgname=newsflash
version=3.1.3
version=3.3.5
revision=1
build_style=meson
build_helper=rust
hostmakedepends="cargo pkg-config glib-devel sqlite-devel gettext-devel
desktop-file-utils gtk4-update-icon-cache blueprint-compiler
gtk4-devel libadwaita-devel"
makedepends="rust-std libwebkitgtk60-devel libadwaita-devel openssl-devel"
desktop-file-utils gtk4-update-icon-cache blueprint-compiler"
makedepends="rust-std libwebkitgtk60-devel libadwaita-devel openssl-devel clapper-devel"
short_desc="RSS feed reader that supports various web based services"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://gitlab.com/news-flash/news_flash_gtk"
distfiles="https://gitlab.com/news-flash/news_flash_gtk/-/archive/v.${version}/news_flash_gtk-v.${version}.tar.gz"
checksum=5c9e6d01de0b3503186a125e5edbba425c1193e7e0f3c45a737d53b82bb54106
checksum=7333e88187f022c0a6ba72e0d6943c1602acde19b646c38e202606cac3a965f7
post_patch() {
if [ -n "$CROSS_BUILD" ]; then
@ -21,3 +20,9 @@ post_patch() {
-e "s%rust_target /%'${RUST_TARGET}' / rust_target /%"
fi
}
pre_build() {
if [ "$CROSS_BUILD" ]; then
export GI_TYPELIB_PATH="${XBPS_CROSS_BASE}/usr/lib/girepository-1.0"
fi
}