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