# Template file for 'newsflash' pkgname=newsflash version=3.1.3 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" short_desc="RSS feed reader that supports various web based services" maintainer="Orphaned " 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 post_patch() { if [ -n "$CROSS_BUILD" ]; then vsed -i src/meson.build \ -e "s%rust_target /%'${RUST_TARGET}' / rust_target /%" fi }