aboutsummaryrefslogtreecommitdiff
path: root/audio/tauonmb
diff options
context:
space:
mode:
authorRSKYS <Pouria.rz@outlook.com>2021-11-13 23:30:07 +0330
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-11-14 10:48:44 +0700
commita9cfee6f1c2438ac5318140715953d7c1387b082 (patch)
treea9c3ab2f617119d257ea8668f27a4a399a8afeb7 /audio/tauonmb
parent45b45e91bae46f6d7189a6bb74ea90cd55b39fbf (diff)
audio/tauonmb: Deploy .desktop from source.
Signed-off-by: RSKYS <Pouria.rz@outlook.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/tauonmb')
-rw-r--r--audio/tauonmb/tauonmb.SlackBuild19
-rw-r--r--audio/tauonmb/tauonmb.desktop39
2 files changed, 10 insertions, 48 deletions
diff --git a/audio/tauonmb/tauonmb.SlackBuild b/audio/tauonmb/tauonmb.SlackBuild
index 76d004e840283..bc8cd61b90aee 100644
--- a/audio/tauonmb/tauonmb.SlackBuild
+++ b/audio/tauonmb/tauonmb.SlackBuild
@@ -82,21 +82,22 @@ rm -fR compile* mac.spec requirements.txt snapcraft.yaml src update-translations
mkdir -p $PKG/opt/tauon-music-box $PKG/usr/bin
mv * $PKG/opt/tauon-music-box
install -m 0755 $PKG/opt/tauon-music-box/extra/$PRGNAM.sh $PKG/opt/tauon-music-box/$PRGNAM.sh
+ln -s /opt/tauon-music-box/$PRGNAM.sh $PKG/usr/bin/tauon
+
+cd $PKG/opt/tauon-music-box
+
+mv locale $PKG/usr/share/
mkdir -p $PKG/usr/share/applications
-cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/
-mv $PKG/opt/tauon-music-box/locale $PKG/usr/share/
+cp extra/$PRGNAM.desktop $PKG/usr/share/applications/
mkdir -p $PKG/usr/share/icons/hicolor/{scalable,symbolic}/apps
-cp $PKG/opt/tauon-music-box/extra/$PRGNAM.svg $PKG/usr/share/icons/hicolor/scalable/apps/
-cp $PKG/opt/tauon-music-box/extra/$PRGNAM-symbolic.svg $PKG/usr/share/icons/hicolor/symbolic/apps/
-
-ln -s /opt/tauon-music-box/$PRGNAM.sh $PKG/usr/bin/tauon
+cp extra/$PRGNAM.svg $PKG/usr/share/icons/hicolor/scalable/apps/
+cp extra/$PRGNAM-symbolic.svg $PKG/usr/share/icons/hicolor/symbolic/apps/
+rm -fR extra
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-( cd $PKG/opt/tauon-music-box
- mv *.md CHANGELOG LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
- rm -fR extra )
+mv *.md CHANGELOG LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/audio/tauonmb/tauonmb.desktop b/audio/tauonmb/tauonmb.desktop
deleted file mode 100644
index fbaaebc3073e4..0000000000000
--- a/audio/tauonmb/tauonmb.desktop
+++ /dev/null
@@ -1,39 +0,0 @@
-[Desktop Action Next]
-Exec=/opt/tauon-music-box/tauonmb.sh --no-start --next
-Name=Next Track
-
-[Desktop Action PlayPause]
-Exec=/opt/tauon-music-box/tauonmb.sh --no-start --play-pause
-Name=Play/Pause
-
-[Desktop Action Previous]
-Exec=/opt/tauon-music-box/tauonmb.sh --no-start --previous
-Name=Previous Track
-
-[Desktop Entry]
-Actions=PlayPause;Previous;Next
-Categories=AudioVideo;Player;Audio;
-Comment[en_GB]=Ultra player for your music collection
-Comment=Ultra player for your music collection
-Comment[de]=Ultra Player für deine Musiksammlung
-Comment[ja]=音楽コレクションのウルトラプレーヤー
-Exec=/opt/tauon-music-box/tauonmb.sh %U
-GenericName[en_GB]=Audio Player
-GenericName=Audio Player
-GenericName[de]=Musik-Player
-GenericName[ja]=音楽プレイヤー
-GenericName[zh_CN]=音乐播放器
-Icon=/opt/tauon-music-box/assets/v4-a.png
-MimeType=x-content/audio-player;audio/x-wav;audio/x-wav;audio/x-vorbis+ogg;audio/x-tta;audio/x-tta;audio/x-scpls;audio/x-scpls;audio/x-opus+ogg;audio/x-mpegurl;audio/x-ape;audio/ogg;audio/ogg;audio/mpeg;audio/mpeg;audio/mp4;audio/mp4;audio/flac;audio/flac;application/ogg;application/ogg;
-Name[en_GB]=Tauon Music Box
-Name=Tauon Music Box
-Path=
-StartupNotify=false
-StartupWMClass=Tauon Music Box
-Terminal=false
-TerminalOptions=
-Type=Application
-X-DBUS-ServiceName=
-X-DBUS-StartupType=
-X-KDE-SubstituteUID=false
-X-KDE-Username=