public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/amarok] epel10.2: hack around qtscriptbindings check at buildtime
@ 2026-07-06 18:30 Rex Dieter
0 siblings, 0 replies; only message in thread
From: Rex Dieter @ 2026-07-06 18:30 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/amarok
Branch : epel10.2
Commit : 8ce038450fc0a245038650fb6db5b0afa9fc0c74
Author : Rex Dieter <rdieter@fedoraproject.org>
Date : 2009-04-10T18:02:46+00:00
Stats : +19/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/amarok/c/8ce038450fc0a245038650fb6db5b0afa9fc0c74?branch=epel10.2
Log:
hack around qtscriptbindings check at buildtime
---
diff --git a/amarok-2.0.90-qtscript_not_required.patch b/amarok-2.0.90-qtscript_not_required.patch
new file mode 100644
index 0000000..1cf3af7
--- /dev/null
+++ b/amarok-2.0.90-qtscript_not_required.patch
@@ -0,0 +1,14 @@
+diff -up amarok-2.0.90/CMakeLists.txt.qtscript_not_required amarok-2.0.90/CMakeLists.txt
+--- amarok-2.0.90/CMakeLists.txt.qtscript_not_required 2009-04-06 16:29:12.000000000 -0500
++++ amarok-2.0.90/CMakeLists.txt 2009-04-10 13:00:07.000000000 -0500
+@@ -38,8 +38,8 @@ if( WITH_PLAYER )
+
+ macro_log_feature( KDE4_FOUND "kdelibs" "The toolkit Amarok uses to build" "http://www.kde.org" TRUE "4.2.0" "" )
+
+- find_package( QtScriptQtBindings REQUIRED )
+- macro_log_feature( QTSCRIPTQTBINDINGS_FOUND "qtscript-qt" "QtScript Qt Bindings" "http://code.google.com/p/qtscriptgenerator/" TRUE "" "" )
++ macro_optional_find_package(QtScriptQtBindings)
++ macro_log_feature( QTSCRIPTQTBINDINGS_FOUND "qtscript-qt" "QtScript Qt Bindings" "http://code.google.com/p/qtscriptgenerator/" FALSE "" "" )
+
+ add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
+
diff --git a/amarok.spec b/amarok.spec
index 0313de6..6d1a857 100644
--- a/amarok.spec
+++ b/amarok.spec
@@ -10,6 +10,8 @@ Url: http://amarok.kde.org/
Source0: http://download.kde.org/unstable/amarok/%{version}/src/amarok-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Patch50: amarok-2.0.90-qtscript_not_required.patch
+
BuildRequires: curl-devel
BuildRequires: desktop-file-utils
BuildRequires: gettext
@@ -20,14 +22,13 @@ BuildRequires: libmp4v2-devel
BuildRequires: libmtp-devel >= 0.3.0
%endif
%if 0%{?fedora} > 10
-#BuildRequires: libgpod-devel >= 0.7.0
+BuildRequires: libgpod-devel
%endif
BuildRequires: libnjb-devel
BuildRequires: libusb-devel
BuildRequires: libxml2-devel
BuildRequires: loudmouth-devel
BuildRequires: mysql-embedded-devel
-BuildRequires: qtscriptgenerator
BuildRequires: soprano-devel
BuildRequires: taglib-devel
BuildRequires: taglib-extras-devel
@@ -60,6 +61,8 @@ Group: Applications/Multimedia
%prep
%setup -q
+%patch50 -p1 -b .qtscript_not_required
+
%build
mkdir -p %{_target_platform}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-06 18:30 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:30 [rpms/amarok] epel10.2: hack around qtscriptbindings check at buildtime Rex Dieter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox