public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qmmp] rawhide: enable AAC support now that faad2 is in Fedora
@ 2026-07-07 14:55 Dominik 'Rathann' Mierzejewski
  0 siblings, 0 replies; only message in thread
From: Dominik 'Rathann' Mierzejewski @ 2026-07-07 14:55 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/qmmp
            Branch : rawhide
            Commit : f01e8424df6dd6eadde14432582671cc16885865
            Author : Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
            Date   : 2026-07-01T23:40:29+02:00
            Stats  : +9/-9 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/qmmp/c/f01e8424df6dd6eadde14432582671cc16885865?branch=rawhide

            Log:
            enable AAC support now that faad2 is in Fedora

- add appropriate Obsoletes:/Provides:

---
diff --git a/qmmp.spec b/qmmp.spec
index 3fe6beb..c622e6f 100644
--- a/qmmp.spec
+++ b/qmmp.spec
@@ -1,6 +1,6 @@
 Name:		qmmp
 Version:	2.3.3
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	Qt-based multimedia player
 
 License:	GPL-2.0-or-later AND CC-BY-SA-4.0
@@ -11,6 +11,7 @@ BuildRequires:	alsa-lib-devel
 BuildRequires:	cmake
 BuildRequires:	desktop-file-utils
 BuildRequires:	enca-devel
+BuildRequires:	faad2-devel
 BuildRequires:	ffmpeg-free-devel
 BuildRequires:	flac-devel
 BuildRequires:	game-music-emu-devel
@@ -57,6 +58,9 @@ Recommends:	opus-tools
 Recommends:	wavpack
 Recommends:	flac
 
+Obsoletes:	qmmp-plugins-freeworld <= 2.3.2-2%{?dist}
+Provides:	qmmp-plugins-freeworld = %{version}-%{release}
+
 # Do not check .so files in an application-specific library directory
 %global __provides_exclude_from ^%{_libdir}/%{name}/.*\\.so$
 
@@ -71,6 +75,7 @@ Main opportunities:
 
 	* Winamp and xmms skins support
 	* plugins support
+	* AAC support
 	* MPEG1 layer 2/3 support
 	* Ogg Vorbis support
 	* native FLAC support
@@ -104,7 +109,6 @@ QMMP is Qt-based audio player. This package contains its development files.
 
 %build
 %cmake \
-	-D USE_AAC:BOOL=FALSE \
 	-D USE_LIBRCD:BOOL=TRUE \
 	-D QMMP_DEFAULT_OUTPUT=pipewire \
 	-D CMAKE_INSTALL_PREFIX=%{_prefix} \
@@ -114,13 +118,6 @@ QMMP is Qt-based audio player. This package contains its development files.
 
 %install
 %cmake_install
-# filter out unsupported formats from MimeType
-sed -i -e "s#audio/aac;##" \
-       -e "s#audio/x-aac;##" \
-    %{buildroot}/%{_datadir}/applications/%{name}.desktop
-sed -i -e "s#audio/aac;##" \
-       -e "s#audio/x-aac;##" \
-    %{buildroot}/%{_datadir}/applications/%{name}-enqueue.desktop
 desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
 desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-dir.desktop
 desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-enqueue.desktop
@@ -149,6 +146,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-enqueue.desk
 %{_libdir}/libqmmp*.so
 
 %changelog
+* Wed Jul 01 2026 Dominik Mierzejewski <dominik@greysector.net> 2.3.3-3
+- enable AAC support now that faad2 is in Fedora
+
 * Fri Jun 12 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 2.3.3-2
 - Rebuilt for openssl 4.0
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-07 14:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-07 14:55 [rpms/qmmp] rawhide: enable AAC support now that faad2 is in Fedora Dominik 'Rathann' Mierzejewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox