[packages/game-music-emu] - updated to 0.6.4

qboosh qboosh at pld-linux.org
Wed Mar 19 21:37:56 CET 2025


commit 372b4615879fc58a04dbd947cd844dc0c4d49e7b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Mar 19 21:32:51 2025 +0100

    - updated to 0.6.4

 game-music-emu.spec | 43 ++++++++++++++++++++++++++++++++-----------
 1 file changed, 32 insertions(+), 11 deletions(-)
---
diff --git a/game-music-emu.spec b/game-music-emu.spec
index 4a41eed..e4944fe 100644
--- a/game-music-emu.spec
+++ b/game-music-emu.spec
@@ -1,18 +1,20 @@
+#
+# Conditional build:
+%bcond_without	static_libs	# static library
+
 Summary:	Collection of video game music file emulators
 Summary(pl.UTF-8):	Zbiór emulatorów do odtwarzania muzyki z gier
 Name:		game-music-emu
-Version:	0.6.3
-Release:	2
+Version:	0.6.4
+Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
-# new versions will use github
 #Source0Download: https://github.com/libgme/game-music-emu/releases
-#Source0:	https://github.com/libgme/game-music-emu/archive/%{version}/%{name}-%{version}.tar.gz
-Source0:	https://bitbucket.org/mpyne/game-music-emu/downloads/%{name}-%{version}.tar.xz
-# Source0-md5:	c96c65efbadc9acb10c0f9382ba66e0d
+Source0:	https://github.com/libgme/game-music-emu/releases/download/%{version}/libgme-%{version}-src.tar.gz
+# Source0-md5:	d89e4e698db2a8fc95c590ae44d1f261
 URL:		https://github.com/libgme/game-music-emu/releases
-BuildRequires:	cmake >= 2.6
-BuildRequires:	libstdc++-devel
+BuildRequires:	cmake >= 3.3
+BuildRequires:	libstdc++-devel >= 6:4.7
 %{?debug:BuildRequires:	libubsan-devel}
 BuildRequires:	rpmbuild(macros) >= 1.605
 BuildRequires:	tar >= 1:1.22
@@ -56,7 +58,7 @@ Summary:	Header files for game-music-emu library
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki game-music-emu
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	libstdc++-devel
+Requires:	libstdc++-devel >= 6:4.7
 
 %description devel
 This package contains the header files for developing applications
@@ -66,14 +68,27 @@ that use game-music-emu library.
 Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
 wykorzystujących bibliotekę game-music-emu.
 
+%package static
+Summary:	Static game-music-emu library
+Summary(pl.UTF-8):	Statyczna biblioteka game-music-emu
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static game-music-emu library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka game-music-emu.
+
 %prep
-%setup -q
+%setup -q -n libgme-%{version}
 
 %build
 install -d build
 cd build
 %cmake .. \
-	%{!?debug:-DENABLE_UBSAN=OFF}
+	%{!?debug:-DENABLE_UBSAN=OFF} \
+	%{!?with_static_libs:-DGME_BUILD_STATIC=OFF}
 
 %{__make}
 
@@ -100,3 +115,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libgme.so
 %{_includedir}/gme
 %{_pkgconfigdir}/libgme.pc
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libgme.a
+%endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/game-music-emu.git/commitdiff/372b4615879fc58a04dbd947cd844dc0c4d49e7b



More information about the pld-cvs-commit mailing list