From ab3246576e590ebc2cec7019c09d67065e0a85d7 Mon Sep 17 00:00:00 2001 From: Alexander Tratsevskiy Date: Fri, 26 Nov 2021 12:58:09 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B4=D0=B4=D0=B5=D1=80=D0=B6?= =?UTF-8?q?=D0=BA=D0=B0=20strawberry?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../10-strawberry/.calculate_directory | 1 + .../install/.calculate_directory | 1 + .../10-strawberry/install/mimeapps.list | 19 +++++++++++++++++++ ...rawberrymusicplayer.strawberry-1.0.desktop | 6 ++++++ .../400-AudioPlayer/10-strawberry/uninstall | 5 +++++ .../zzz-Desktop/400-AudioPlayer/mimeapps.list | 2 +- 6 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/.calculate_directory create mode 100644 profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/install/.calculate_directory create mode 100644 profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/install/mimeapps.list create mode 100644 profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/install/org.strawberrymusicplayer.strawberry-1.0.desktop create mode 100644 profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/uninstall diff --git a/profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/.calculate_directory b/profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/.calculate_directory new file mode 100644 index 000000000..8d93fbf30 --- /dev/null +++ b/profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/.calculate_directory @@ -0,0 +1 @@ +# Calculate append=skip merge(media-sound/strawberry)!= diff --git a/profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/install/.calculate_directory b/profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/install/.calculate_directory new file mode 100644 index 000000000..69a5ccbbd --- /dev/null +++ b/profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/install/.calculate_directory @@ -0,0 +1 @@ +# Calculate append=skip pkg(media-sound/clementine)!= ini(desktop.audioplayer)==||ini(desktop.audioplayer)==clementine diff --git a/profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/install/mimeapps.list b/profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/install/mimeapps.list new file mode 100644 index 000000000..9d2d60b18 --- /dev/null +++ b/profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/install/mimeapps.list @@ -0,0 +1,19 @@ +# Calculate format=compiz protected + +# Update info +#-ini(desktop.updating, on)-# +#-ini(desktop.audioplayer, strawberry)-# + +[Added Associations] +audio/mp4=org.strawberrymusicplayer.strawberry.desktop; +audio/mpeg=org.strawberrymusicplayer.strawberry.desktop; +audio/x-flac=org.strawberrymusicplayer.strawberry.desktop; +audio/x-ms-wma=org.strawberrymusicplayer.strawberry.desktop; +audio/x-wav=org.strawberrymusicplayer.strawberry.desktop; + +[Default Applications] +audio/mp4=org.strawberrymusicplayer.strawberry.desktop; +audio/mpeg=org.strawberrymusicplayer.strawberry.desktop; +audio/x-flac=org.strawberrymusicplayer.strawberry.desktop; +audio/x-ms-wma=org.strawberrymusicplayer.strawberry.desktop; +audio/x-wav=org.strawberrymusicplayer.strawberry.desktop; diff --git a/profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/install/org.strawberrymusicplayer.strawberry-1.0.desktop b/profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/install/org.strawberrymusicplayer.strawberry-1.0.desktop new file mode 100644 index 000000000..57d04898e --- /dev/null +++ b/profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/install/org.strawberrymusicplayer.strawberry-1.0.desktop @@ -0,0 +1,6 @@ +# Calculate format=kde link=/usr/share/applications/org.strawberrymusicplayer.strawberry.desktop name=calculate-audioplayer.desktop mirror pkg(media-sound/strawberry)>=1.0 + +# Hide icon +[Desktop Entry] +NoDisplay=true +!MimeType= diff --git a/profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/uninstall b/profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/uninstall new file mode 100644 index 000000000..a499e812c --- /dev/null +++ b/profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/10-strawberry/uninstall @@ -0,0 +1,5 @@ +# Calculate format=samba path=/var/lib/calculate name=ini.env ac_install_unmerge==on&&pkg(media-sound/strawberry)==&&ini(desktop.audioplayer)==strawberry + +[desktop] +!audioplayer= +audioplayer-removing=on diff --git a/profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/mimeapps.list b/profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/mimeapps.list index 2eb098429..2b9dda50c 100644 --- a/profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/mimeapps.list +++ b/profiles/templates/3.6/2_ac_install_merge/zzz-Desktop/400-AudioPlayer/mimeapps.list @@ -1,4 +1,4 @@ -# Calculate format=compiz protected ini(desktop.audioplayer-removing)==on merge=media-sound/rhythmbox,media-sound/audacious,media-sound/clementine +# Calculate format=compiz protected ini(desktop.audioplayer-removing)==on merge=media-sound/rhythmbox,media-sound/audacious,media-sound/clementine,media-sound/strawberry #-ini(desktop.audioplayer-removing,)-#