From 41973142c32fbae1b047f507695ad838b2548913 Mon Sep 17 00:00:00 2001 From: oreo639 Date: Fri, 23 Feb 2024 23:36:54 -0800 Subject: [PATCH] newsflash: update to 3.1.3. --- srcpkgs/newsflash/patches/meson-0.61.patch | 20 -------------------- srcpkgs/newsflash/template | 22 ++++++++++------------ 2 files changed, 10 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/newsflash/patches/meson-0.61.patch diff --git a/srcpkgs/newsflash/patches/meson-0.61.patch b/srcpkgs/newsflash/patches/meson-0.61.patch deleted file mode 100644 index bfc8a67d0aa878..00000000000000 --- a/srcpkgs/newsflash/patches/meson-0.61.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/data/meson.build -+++ b/data/meson.build -@@ -2,7 +2,7 @@ subdir('icons') - - desktop_conf = configuration_data() - desktop_conf.set('icon', application_id) --desktop_file = i18n.merge_file ('desktop-file', -+desktop_file = i18n.merge_file ( - type: 'desktop', - input: configure_file( - input: files('com.gitlab.newsflash.desktop.in.in'), -@@ -27,7 +27,7 @@ endif - - appdata_conf = configuration_data() - appdata_conf.set('appid', application_id) --appdata_file = i18n.merge_file ('appdata-file', -+appdata_file = i18n.merge_file ( - input: configure_file( - input: files('com.gitlab.newsflash.appdata.xml.in.in'), - output: '@BASENAME@', diff --git a/srcpkgs/newsflash/template b/srcpkgs/newsflash/template index e94c4d3b8d234b..61639800ae3420 100644 --- a/srcpkgs/newsflash/template +++ b/srcpkgs/newsflash/template @@ -1,25 +1,23 @@ # Template file for 'newsflash' pkgname=newsflash -version=1.4.2 -revision=2 +version=3.1.3 +revision=1 build_style=meson build_helper=rust -hostmakedepends="cargo pkg-config glib-devel sqlite-devel gettext" -makedepends="rust-std webkit2gtk-devel libhandy1-devel openssl-devel" +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/$version/news_flash_gtk-$version.tar.gz" -# tag is gone upstream -distfiles="https://sources.voidlinux.org/newsflash-1.4.2/news_flash_gtk-1.4.2.tar.gz" -checksum=099318a6bc57e5e695352b2f3c7dd149c9b889f39cb9cbd58dc3f10f41d4948d +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 build-aux/cargo.sh \ - -e 's,"$CARGO_TARGET_DIR"/,&${RUST_TARGET}/,' + vsed -i src/meson.build \ + -e "s%rust_target /%'${RUST_TARGET}' / rust_target /%" fi - cargo update --package openssl-sys:0.9.63 --precise 0.9.91 - cargo update --package openssl:0.10.34 --precise 0.10.56 }