public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Rex Dieter <rdieter@math.unl.edu>
To: git-commits@fedoraproject.org
Subject: [rpms/amarok] epel10.2: add support for kf5 solid/actions,ServiceMenus
Date: Mon, 06 Jul 2026 18:32:07 GMT	[thread overview]
Message-ID: <178336272712.1.12924107192565884469.rpms-amarok-afda5bf66bcc@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/amarok
Branch : epel10.2
Commit : afda5bf66bcc3dbc79efd22c38cc0842799fcdd6
Author : Rex Dieter <rdieter@math.unl.edu>
Date   : 2015-12-29T15:46:52-06:00
Stats  : +20/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/amarok/c/afda5bf66bcc3dbc79efd22c38cc0842799fcdd6?branch=epel10.2

Log:
add support for kf5 solid/actions,ServiceMenus

---
diff --git a/amarok.spec b/amarok.spec
index 5b0f9dd..719f35c 100644
--- a/amarok.spec
+++ b/amarok.spec
@@ -8,7 +8,7 @@
 Name:    amarok
 Summary: Media player
 Version: 2.8.90
-Release: 3%{?dist}
+Release: 4%{?dist}
 
 # KDE e.V. may determine that future GPL versions are accepted
 License: GPLv2 or GPLv3
@@ -46,7 +46,7 @@ BuildRequires: kdelibs4-devel >= 4.9
 %if 0%{?kdewebkit}
 BuildRequires: kdelibs4-webkit-devel
 %endif
-%if 0%{?fedora} > 20
+%if 0%{?fedora} > 21
 BuildRequires: libappstream-glib
 %endif
 BuildRequires: mysql-devel
@@ -62,6 +62,8 @@ BuildRequires: pkgconfig(taglib) >= 1.6
 BuildRequires: pkgconfig(taglib-extras) >= 1.0.1
 
 %if 0%{?fedora}
+BuildRequires: kf5-rpm-macros
+Requires:      kf5-filesystem
 BuildRequires: liblastfm-devel >= 1.0.3
 BuildRequires: pkgconfig(libmygpo-qt) >= 1.0.7
 BuildRequires: pkgconfig(loudmouth-1.0)
@@ -162,6 +164,17 @@ make %{?_smp_mflags} -C %{_target_platform}
 %install
 make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
 
+%if 0%{?fedora}
+mkdir -p %{buildroot}%{_kf5_datadir}/solid/actions/
+cp -alf \
+  %{buildroot}%{_kde4_appsdir}/solid/actions/amarok-play-audiocd.desktop \
+  %{buildroot}%{_kf5_datadir}/solid/actions/
+mkdir -p %{buildroot}%{_kf5_datadir}/kservices5/ServiceMenus
+cp -alf \
+  %{buildroot}%{_kde4_datadir}/kde4/services/ServiceMenus/amarok_append.desktop \
+  %{buildroot}%{_kf5_datadir}/kservices5/ServiceMenus/
+%endif
+
 %find_lang amarok --with-kde --without-mo && mv amarok.lang amarok-doc.lang
 %find_lang amarok
 %find_lang amarokcollectionscanner_qt 
@@ -206,6 +219,8 @@ fi
 %{_kde4_bindir}/amarok_afttagger
 %if 0%{?fedora}
 %{_kde4_bindir}/amarokmp3tunesharmonydaemon
+%{_kf5_datadir}/solid/actions/amarok-play-audiocd.desktop
+%{_kf5_datadir}/kservices5/ServiceMenus/amarok_append.desktop
 %endif
 %{_kde4_bindir}/amzdownloader
 %{_kde4_appsdir}/amarok/
@@ -300,6 +315,9 @@ fi
 
 
 %changelog
+* Tue Dec 29 2015 Rex Dieter <rdieter@fedoraproject.org> 2.8.90-4
+- add support for kf5 solid/actions,ServiceMenus
+
 * Thu Dec 10 2015 Rex Dieter <rdieter@fedoraproject.org> 2.8.90-3
 - workaround 'mysql_config --libmysqld-libs' madness (#1290517)
 

                 reply	other threads:[~2026-07-06 18:32 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=178336272712.1.12924107192565884469.rpms-amarok-afda5bf66bcc@fedoraproject.org \
    --to=rdieter@math.unl.edu \
    --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