audio/tauonmb: Deploy .desktop from source.

Signed-off-by: RSKYS <Pouria.rz@outlook.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
RSKYS 2021-11-13 23:30:07 +03:30 committed by Willy Sudiarto Raharjo
parent 45b45e91ba
commit a9cfee6f1c
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 13 additions and 51 deletions

View file

@ -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
mkdir -p $PKG/usr/share/applications
cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/
mv $PKG/opt/tauon-music-box/locale $PKG/usr/share/
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
cd $PKG/opt/tauon-music-box
mv locale $PKG/usr/share/
mkdir -p $PKG/usr/share/applications
cp extra/$PRGNAM.desktop $PKG/usr/share/applications/
mkdir -p $PKG/usr/share/icons/hicolor/{scalable,symbolic}/apps
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

View file

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