public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/amarok] epel10.2: Fix EPEL build
@ 2026-07-06 18:32 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-07-06 18:32 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/amarok
            Branch : epel10.2
            Commit : f508a5ef60be0319e01c1c6121ffcfe2c00127f6
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2024-08-04T18:36:57-04:00
            Stats  : +7/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/amarok/c/f508a5ef60be0319e01c1c6121ffcfe2c00127f6?branch=epel10.2

            Log:
            Fix EPEL build

The gpodder, ipod, and lastfm features are enabled by default.  Since the
corresponding dependencies are disabled on EPEL, the features need to be
explicitly disabled, and their file components excluded.

---
diff --git a/amarok.spec b/amarok.spec
index f49e960..0f9ae95 100644
--- a/amarok.spec
+++ b/amarok.spec
@@ -162,6 +162,9 @@ CXXFLAGS="$CXXFLAGS -I%{_includedir}/qt5"
 %endif
 # force non-use of MYSQLCONFIG, to avoid (potential bogus) stuff from: mysql_config --libmysqld-libs
 %{cmake_kf5} \
+%if ! 0%{?fedora}
+  -DWITH_GPODDER=OFF -DWITH_IPOD=OFF -DWITH_LASTFM=OFF \
+%endif
   -DMYSQLCONFIG_EXECUTABLE:BOOL=OFF
 %{cmake_build}
 
@@ -203,8 +206,10 @@ desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}*.
 %{_kf5_qmldir}/org/kde/amarok
 %{_kf5_qtplugindir}/amarok_collection-audiocdcollection.so
 %{_kf5_qtplugindir}/amarok_collection-daapcollection.so
+%if 0%{?fedora}
 %{_kf5_qtplugindir}/amarok_collection-ipodcollection.so
 %{_kf5_qtplugindir}/amarok_collection-mtpcollection.so
+%endif
 %{_kf5_qtplugindir}/amarok_collection-mysqlcollection.so
 %{_kf5_qtplugindir}/amarok_collection-playdarcollection.so
 %{_kf5_qtplugindir}/amarok_collection-umscollection.so
@@ -232,8 +237,10 @@ desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}*.
 %{_kf5_libdir}/libamaroklib.so
 %{_kf5_libdir}/libamarokpud.so
 %{_kf5_libdir}/libamarokshared.so
+%if 0%{?fedora}
 %{_kf5_libdir}/libamarok_service_lastfm_config.so
 %{_kf5_libdir}/libgpodder_service_config.so
+%endif
 
 %files utils -f amarokcollectionscanner_qt.lang
 %{_kf5_bindir}/amarokcollectionscanner

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

only message in thread, other threads:[~2026-07-06 18:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-06 18:32 [rpms/amarok] epel10.2: Fix EPEL build Yaakov Selkowitz

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