From 4865771bd4736dacc5ddec175c3b0b16bc55c8bc43f9014bd806b58d575ad454 Mon Sep 17 00:00:00 2001 From: Raymond Wooninck Date: Wed, 6 Jan 2016 15:25:22 +0000 Subject: [PATCH] Accepting request 352295 from home:wolfi323:test Symlink solid actions into place known to Plasma 5 (boo#960480) OBS-URL: https://build.opensuse.org/request/show/352295 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kaffeine?expand=0&rev=6 --- kaffeine.changes | 5 +++++ kaffeine.spec | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/kaffeine.changes b/kaffeine.changes index a6fc380..780f85f 100644 --- a/kaffeine.changes +++ b/kaffeine.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 6 13:43:54 UTC 2016 - wbauer@tmo.at + +- Symlink solid actions into place known to Plasma 5 (boo#960480) + ------------------------------------------------------------------- Sat Jun 27 11:00:45 UTC 2015 - wbauer@tmo.at diff --git a/kaffeine.spec b/kaffeine.spec index 637ce09..a679545 100644 --- a/kaffeine.spec +++ b/kaffeine.spec @@ -94,6 +94,14 @@ popd %suse_update_desktop_file -r %{name} Qt KDE AudioVideo Video Player TV %endif +# symlink solid actions into place known to Plasma 5 +mkdir -p %{buildroot}%{_datadir}/solid/actions +pushd %{buildroot}%{_kde4_appsdir}/solid/actions/ +for i in kaffeine_*.desktop; do +ln -s %{_kde4_appsdir}/solid/actions/$i %{buildroot}%{_datadir}/solid/actions/ +done +popd + %kde_post_install # Removed unneeded locales @@ -125,5 +133,8 @@ rm -rf %{buildroot} %{_kde4_appsdir}/solid/actions/kaffeine_play_audiocd.desktop %{_kde4_appsdir}/solid/actions/kaffeine_play_dvd.desktop %{_kde4_appsdir}/solid/actions/kaffeine_play_videocd.desktop +%dir %{_datadir}/solid +%dir %{_datadir}/solid/actions +%{_datadir}/solid/actions/kaffeine_*.desktop %changelog