# Contributor: Alex McGrath # Maintainer: Alex McGrath pkgname=newsflash pkgver=2.3.1 pkgrel=0 pkgdesc="An rss feed reader that supports various web based services" url="https://gitlab.com/news-flash/news_flash_gtk/" arch="all !s390x !riscv64 !ppc64le" # cargo, rust, libhandy not found, ring crate fails to build on ppc64le license="GPL-3.0-only" makedepends=" bash cargo gettext-dev libadwaita-dev meson openssl-dev>3 sqlite-dev webkit2gtk-6.0-dev " subpackages="$pkgname-lang" source="https://gitlab.com/news-flash/news_flash_gtk/-/archive/v.$pkgver/news_flash_gtk-v.$pkgver.tar.gz fix-pkgconfig.patch getrandom-0.2.10.patch " options="net !check" # no tests builddir="$srcdir/news_flash_gtk-v.$pkgver" build() { abuild-meson . output meson compile -j 1 -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output ln -s io.gitlab.news_flash.NewsFlash "$pkgdir"/usr/bin/newsflash } sha512sums=" 9dbb0d52df60506d4e8277d2953d7ec550cb88270aebcb9404972d53bb1d1670bbbd9d53b2cf945a1eccc082379d1985c4b0c6508b4c40a0eaaf5a0e355ab9a8 news_flash_gtk-v.2.3.1.tar.gz 433a39e5396b321c826348fc7d7d71e6e7caf9d3aa7a73090663e3fcfac16781f9b61a5dff39d8ce582ed74dd5ba503dc4b105925f1b4171d7a7b9abac7a80be fix-pkgconfig.patch 5ab460e1191b13d109c10c146daa5b9deab362ca2c8124dcd97e50a8391d805ffbefcb6bc8cae4b9f8f2b96f9ae7bf274a02b7d877447851b7b835a1ca33478c getrandom-0.2.10.patch "