newsflash: update to 3.1.3.

This commit is contained in:
oreo639 2024-02-23 23:36:54 -08:00 committed by oreo639
parent fd3ae6cb20
commit cb97694a4e
2 changed files with 10 additions and 32 deletions

View File

@ -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@',

View File

@ -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 <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/$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
}