lxmusic 0.4.7-2 (aarch64;znver1;x86_64) 2024-17627
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/390014
Packages
lxmusic-0.4.7-2.aarch64.binary
lxmusic-0.4.7-2.aarch64.source
lxmusic-debuginfo-0.4.7-2.aarch64.debuginfo
lxmusic-debugsource-0.4.7-2.aarch64.binary
lxmusic-0.4.7-2.znver1.source
lxmusic-0.4.7-2.znver1.binary
lxmusic-debuginfo-0.4.7-2.znver1.debuginfo
lxmusic-debugsource-0.4.7-2.znver1.binary
lxmusic-0.4.7-2.x86_64.source
lxmusic-0.4.7-2.x86_64.binary
lxmusic-debuginfo-0.4.7-2.x86_64.debuginfo
lxmusic-debugsource-0.4.7-2.x86_64.binary
Build Date 2024-01-01 00:12:08 +0000 UTC
Last Updated 2024-01-04 23:51:56.885615773 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary 8e84f8005fe59efe353294774c5dca4440f9db72

commit 8e84f8005fe59efe353294774c5dca4440f9db72
Author:     mandian <mandian@users.noreply.github.com>
AuthorDate: Wed Dec 6 23:53:13 2023 +0000
Commit:     mandian <mandian@users.noreply.github.com>
CommitDate: Wed Dec 6 23:53:13 2023 +0000

    upgrade at the latest git version and rebuild against gtk3
---
 .abf.yml     |  2 +-
 lxmusic.spec | 29 +++++++++++++++++++----------
 2 files changed, 20 insertions(+), 11 deletions(-)

diff --git a/.abf.yml b/.abf.yml
index c300422..e2e0e17 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  lxmusic-0.4.7.tar.xz: 22ff129b785635dceeca0f00dde00946297b04c6
+  lxmusic-a7591f612e453d0152f8b5c394b3e77f7f0610b6.tar.gz: edf736b78a58b084ae553e724d99f5d1e0a0e6ef
diff --git a/lxmusic.spec b/lxmusic.spec
index b0e8d9d..5ed39b8 100644
--- a/lxmusic.spec
+++ b/lxmusic.spec
@@ -1,15 +1,24 @@
+# git snapshot
+%global snapshot 1
+%if 0%{?snapshot}
+	%global commit		a7591f612e453d0152f8b5c394b3e77f7f0610b6
+	%global commitdate	20230917
+	%global shortcommit	%(c=%{commit}; echo ${c:0:7})
+%endif
+
 Summary:	Lightweight XMMS2 GUI frontend
 Name:     	lxmusic
 Version:	0.4.7
-Release:	1
+Release:	2
 License:	GPLv2+
 Group:		Graphical desktop/Other
 URL:		http://www.lxde.org/
-Source0:	https://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.xz
+#Source0:	https://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.xz
+Source0:	https://github.com/lxde/lxmusic/archive/%{?snapshot:%{commit}}%{!?snapshot:%{version}}/%{name}-%{?snapshot:%{commit}}%{!?snapshot:%{version}}.tar.gz
 
 BuildRequires:	desktop-file-utils
 BuildRequires:  intltool
-BuildRequires:  pkgconfig(gtk+-2.0)
+BuildRequires:  pkgconfig(gtk+-3.0)
 BuildRequires:  pkgconfig(gmodule-export-2.0)
 BuildRequires:  pkgconfig(xmms2-client)
 BuildRequires:  pkgconfig(xmms2-client-glib)
@@ -32,17 +41,20 @@ It can do nothing more than playing music files.
 %files -f %{name}.lang
 %{_bindir}/%{name}
 %{_datadir}/%{name}
-%{_datadir}/pixmaps/*.png
 %{_datadir}/applications/%{name}.desktop
+%{_iconsdir}/hicolor/*/apps/%{name}.png
 %{_mandir}/man1/%{name}.1.*
 
-#----------------------------------------------------------------------
+#---------------------------------------------------------------------------
 
 %prep
-%autosetup -p1
+%autosetup -p1 -n %{name}-%{?snapshot:%{commit}}%{!?snapshot:%{version}}
 
 %build
-%configure
+autoreconf -fiv
+%configure \
+	--enable-gtk3 \
+	%{nil}
 %make_build
 
 %install
@@ -51,6 +63,3 @@ It can do nothing more than playing music files.
 # locales
 %find_lang %{name}
 
-%check
-desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
-
Not Available

369start [@T] proton.meNo Comment.113d 13hrs
369start [@T] proton.meNo Comment.113d 13hrs