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
This commit is contained in:
Raymond Wooninck 2016-01-06 15:25:22 +00:00 committed by Git OBS Bridge
parent c8188cb8b1
commit 4865771bd4
2 changed files with 16 additions and 0 deletions

View File

@ -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

View File

@ -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