From 23baaed470b9221dde2bcae41ca26e527cc954fe Mon Sep 17 00:00:00 2001
From: Fabian Bornschein <fabiscafe@archlinux.org>
Date: Wed, 15 Jan 2025 23:10:52 +0100
Subject: [PATCH] upgpkg: 48.0alpha-1

---
 .SRCINFO        | 11 +++++------
 .nvchecker.toml |  5 ++++-
 PKGBUILD        | 18 ++++++------------
 3 files changed, 15 insertions(+), 19 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 1a01214..96b21c6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,10 @@
 pkgbase = decibels
 	pkgdesc = Audio player for GNOME
-	pkgver = 46.0
-	pkgrel = 3
+	pkgver = 48.0alpha
+	pkgrel = 1
 	url = https://apps.gnome.org/Decibels/
 	arch = any
+	groups = gnome
 	license = GPL-3.0-or-later
 	makedepends = appstream
 	makedepends = blueprint-compiler
@@ -25,11 +26,9 @@ pkgbase = decibels
 	optdepends = gst-libav: Extra media codecs
 	optdepends = gst-plugins-bad: Extra media codecs
 	optdepends = gst-plugins-ugly: Extra media codecs
-	source = git+https://gitlab.gnome.org/GNOME/Incubator/decibels.git#tag=46.0
+	source = git+https://gitlab.gnome.org/GNOME/decibels.git#tag=48.0.alpha
 	source = git+https://gitlab.gnome.org/BrainBlasted/gi-typescript-definitions.git
-	source = decibels-window-icon.patch
-	b2sums = f254bc63f38fa6f1ec43ba4ab24725e5550ad82db7a9a8db64c185e95dcb2b6a962ebded9e822892fbc86e9c3bf5ae581ba52d46ea790e9ee1a3952c628808ba
+	b2sums = 467220383d71e9fac538fb164f21956f25925470acaac4aaa3448ad8da2e5cd4938f24a71fc8cee1f2e878a10e3f04900b0f2305b8c8b75dbd766eca2ecd9c7a
 	b2sums = SKIP
-	b2sums = a88e09698d10498d2ece45dee2ea27cbdb6e0b6ab238a34b048e4eb76b8ba6ca5bfe9f2ab712a0473cd46c656a186c54e22bd2eec590de73e7aeddcca60228e5
 
 pkgname = decibels
diff --git a/.nvchecker.toml b/.nvchecker.toml
index 433d616..1200204 100644
--- a/.nvchecker.toml
+++ b/.nvchecker.toml
@@ -1,3 +1,6 @@
 [decibels]
 source = "git"
-git = "https://gitlab.gnome.org/GNOME/Incubator/decibels.git"
+git = "https://gitlab.gnome.org/GNOME/decibels.git"
+# include_regex = '\d+(\.\d+)*'
+from_pattern = '\.([a-z])'
+to_pattern = '\1'
diff --git a/PKGBUILD b/PKGBUILD
index a2167a8..72ea1ab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
 
 pkgname=decibels
-pkgver=46.0
-pkgrel=3
+pkgver=48.0alpha
+pkgrel=1
 pkgdesc='Audio player for GNOME'
 arch=(any)
 url='https://apps.gnome.org/Decibels/'
@@ -33,16 +33,13 @@ optdepends=(
   'gst-plugins-bad: Extra media codecs'
   'gst-plugins-ugly: Extra media codecs'
 )
+groups=(gnome)
 source=(
-  "git+https://gitlab.gnome.org/GNOME/Incubator/decibels.git#tag=$pkgver"
+  "git+https://gitlab.gnome.org/GNOME/decibels.git#tag=${pkgver/[a-z]/.&}"
   git+https://gitlab.gnome.org/BrainBlasted/gi-typescript-definitions.git
-  decibels-window-icon.patch
-)
-b2sums=(
-  f254bc63f38fa6f1ec43ba4ab24725e5550ad82db7a9a8db64c185e95dcb2b6a962ebded9e822892fbc86e9c3bf5ae581ba52d46ea790e9ee1a3952c628808ba
-  SKIP
-  a88e09698d10498d2ece45dee2ea27cbdb6e0b6ab238a34b048e4eb76b8ba6ca5bfe9f2ab712a0473cd46c656a186c54e22bd2eec590de73e7aeddcca60228e5
 )
+b2sums=('467220383d71e9fac538fb164f21956f25925470acaac4aaa3448ad8da2e5cd4938f24a71fc8cee1f2e878a10e3f04900b0f2305b8c8b75dbd766eca2ecd9c7a'
+        'SKIP')
 
 prepare() {
   cd $pkgname
@@ -50,9 +47,6 @@ prepare() {
   git submodule init
   git submodule set-url gi-types "$srcdir/gi-typescript-definitions"
   git -c protocol.file.allow=always submodule update
-
-  # https://gitlab.gnome.org/GNOME/Incubator/decibels/-/merge_requests/123
-  git apply -3 ../decibels-window-icon.patch
 }
 
 build() {
-- 
GitLab