summaryrefslogtreecommitdiffstats
path: root/audio/tauonmb
diff options
context:
space:
mode:
author RSKYS <Pouria.rz@outlook.com>2021-11-05 18:22:11 +0330
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-11-07 13:10:49 +0700
commit55759e29412547863ff7d3ace4733af87726e2e3 (patch)
tree41960308ddd5f17a9477aa0784125724f76dd37c /audio/tauonmb
parentba48ebea4b6e807d708f9d2ce7410241fb68fa15 (diff)
downloadslackbuilds-55759e29412547863ff7d3ace4733af87726e2e3.tar.gz
slackbuilds-55759e29412547863ff7d3ace4733af87726e2e3.tar.xz
audio/tauonmb: Revert Presence back.
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/README2
-rw-r--r--audio/tauonmb/slack-desc6
-rw-r--r--audio/tauonmb/tauonmb.SlackBuild10
3 files changed, 11 insertions, 7 deletions
diff --git a/audio/tauonmb/README b/audio/tauonmb/README
index a9d5d367de..7c059b4004 100644
--- a/audio/tauonmb/README
+++ b/audio/tauonmb/README
@@ -1,7 +1,7 @@
Tauon music box is a modern streamlined music player with a minimal
interface that's packed with features! An emphasis on playlists and
direct file importing puts you in control of your music collection.
-Uses PHAZOR and GStreamer for playback.
+Uses Phazor and GStreamer for playback.
Note:
If you ran into artcover cache problem, reinstall python-pillow from
diff --git a/audio/tauonmb/slack-desc b/audio/tauonmb/slack-desc
index 419b9bca70..4ede117c28 100644
--- a/audio/tauonmb/slack-desc
+++ b/audio/tauonmb/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-tauonmb: tauonmb (TauonMusicBox Player)
+tauonmb: tauonmb (A streamlined music player)
tauonmb:
tauonmb: Tauon music box is a modern streamlined music player with a minimal
tauonmb: interface that's packed with features! An emphasis on playlists and
tauonmb: direct file importing puts you in control of your music collection.
-tauonmb: Uses GStreamer for playback.
-tauonmb:
+tauonmb: Uses Phazor and GStreamer for playback.
tauonmb:
tauonmb:
tauonmb: Project URL: https://tauonmusicbox.rocks/
tauonmb: GitHub URL: https://github.com/Taiko2k/TauonMusicBox/
+tauonmb:
diff --git a/audio/tauonmb/tauonmb.SlackBuild b/audio/tauonmb/tauonmb.SlackBuild
index b8ddbbc1b1..76d004e840 100644
--- a/audio/tauonmb/tauonmb.SlackBuild
+++ b/audio/tauonmb/tauonmb.SlackBuild
@@ -68,20 +68,24 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# build phazor
+# Build phazor
gcc src/phazor/kissfft/kiss_fftr.c src/phazor/kissfft/kiss_fft.c src/phazor/phazor.c \
`pkg-config --cflags --libs samplerate libpulse-simple opusfile vorbisfile libmpg123 flac libopenmpt` \
-shared -o libphazor.so -fPIC -Wall -O3 # -Wextra
mkdir -p lib
mv libphazor.so lib/libphazor.so
-rm -fR compile* locale mac.spec requirements.txt snapcraft.yaml src update-translations.py
+
+# Compile translator
+python3 compile-translations.py install --root=$PKG
+rm -fR compile* mac.spec requirements.txt snapcraft.yaml src update-translations.py
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
+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/