Subject: [PATCH] community/newsflash: upgrade to 1.5.1

From: Alex McGrath <[email-masked]>
Date: Mon, 15 Nov 2021 10:40:01 +0000

---
 ...rgo.lock-Bump-the-newsblur-API-crate.patch | 29 -------------------
 community/newsflash/APKBUILD                  | 13 ++++-----
 2 files changed, 5 insertions(+), 37 deletions(-)
 delete mode 100644 community/newsflash/0001-Cargo.lock-Bump-the-newsblur-API-crate.patch

diff --git a/community/newsflash/0001-Cargo.lock-Bump-the-newsblur-API-crate.patch b/community/newsflash/0001-Cargo.lock-Bump-the-newsblur-API-crate.patch
deleted file mode 100644
index 76ee4dde88..0000000000
--- a/community/newsflash/0001-Cargo.lock-Bump-the-newsblur-API-crate.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 5581648af0c87378e79a6c4ec214f6954949176c Mon Sep 17 00:00:00 2001
-From: Alistair Francis <[email-masked]>
-Date: Tue, 7 Sep 2021 20:33:26 +1000
-Subject: [PATCH] Cargo.lock: Bump the newsblur API crate
-
-Signed-off-by: Alistair Francis <[email-masked]>
----
- Cargo.lock | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Cargo.lock b/Cargo.lock
-index 93be16f..ef89dc1 100644
---- a/Cargo.lock
-+++ b/Cargo.lock
-@@ -1890,9 +1890,9 @@ dependencies = [
- 
- [[package]]
- name = "newsblur_api"
--version = "0.1.1"
-+version = "0.1.2"
- source = "registry+https://github.com/rust-lang/crates.io-index"
--checksum = "fd77391c1b68a5678882fb3bf2777dfa3761d2c0615e8b4c60d29199b3b405d2"
-+checksum = "78451667cd4ba4d62baa55f6b71346c1d30c8300b13e3262d17a6d973fcbec14"
- dependencies = [
-  "failure",
-  "reqwest",
--- 
-2.31.1
-
diff --git a/community/newsflash/APKBUILD b/community/newsflash/APKBUILD
index 3a828ec2a6..ecbc6d7b82 100644
--- a/community/newsflash/APKBUILD
+++ b/community/newsflash/APKBUILD
@@ -1,18 +1,16 @@
 # Contributor: Alex McGrath <[email-masked]>
 # Maintainer: Alex McGrath <[email-masked]>
 pkgname=newsflash
-pkgver=1.4.3
-pkgrel=2
+pkgver=1.5.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 !mips64 !riscv64" # cargo, rust, libhandy not found
 license="GPL-3.0-only"
 makedepends="meson bash rust cargo webkit2gtk-dev libhandy1-dev sqlite-dev gettext-dev openssl1.1-compat-dev"
-source="news_flash_gtk-v.$pkgver.tar.gz::https://gitlab.com/news-flash/news_flash_gtk/-/archive/v.$pkgver/news_flash_gtk-v.$pkgver.tar.gz
-	0001-Cargo.lock-Bump-the-newsblur-API-crate.patch
-	"
+source="news_flash_gtk-v.$pkgver.tar.gz::https://gitlab.com/news-flash/news_flash_gtk/-/archive/$pkgver/news_flash_gtk-$pkgver.tar.gz"
 options="!check" # no tests
-builddir="$srcdir/news_flash_gtk-v.$pkgver"
+builddir="$srcdir/news_flash_gtk-$pkgver"
 
 build() {
 	export RUSTC_BOOTSTRAP=obfstr
@@ -25,6 +23,5 @@ package() {
 }
 
 sha512sums="
-d5048644563d0afbb273422c2316148c97e05e20b4f1aaab71206fb34e13b31cadf268752fbe09036ae8c0cb7d80ce36a4748d114d35047249daf92cfa641df3  news_flash_gtk-v.1.4.3.tar.gz
-444b77082d44d5c710d19d752dfd885442cc85c5f1bf3eda2280baed8b0937b1e2175433db93b3b6ce741f94fd71cf8f5ed265852813a0b446bebff51f8c5fc1  0001-Cargo.lock-Bump-the-newsblur-API-crate.patch
+b15e12567c585281474a6a09dbeb83dd860ee626b140d0194aeb311b0cfe3e3dad2c92ffa89f2f76b18bb2f230875910834041b3dc18ca3199b5ad4913886e5d  news_flash_gtk-v.1.5.1.tar.gz
 "
-- 
2.33.1