public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Rex Dieter <rdieter@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/amarok] epel10: hack around qtscriptbindings check at buildtime
Date: Mon, 06 Jul 2026 18:04:10 GMT	[thread overview]
Message-ID: <178336105060.1.579594941207278952.rpms-amarok-8ce038450fc0@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/amarok
Branch : epel10
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

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}

                 reply	other threads:[~2026-07-06 18:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178336105060.1.579594941207278952.rpms-amarok-8ce038450fc0@fedoraproject.org \
    --to=rdieter@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox