summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Pouria Rezaei2021-06-03 16:31:03 +0200
committer Willy Sudiarto Raharjo2021-06-04 02:38:20 +0200
commit126cec377995d4b5a909834c1525719c0aff528a (patch)
tree9666a6ca6da2124ef35a4785f2f33e7bb069e3e2
parentbf3b5e86f6d5e55b10d21faad7292084e224239a (diff)
downloadslackbuilds-126cec377995d4b5a909834c1525719c0aff528a.tar.gz
audio/tauonmb: Updated for version 6.6.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--audio/tauonmb/README5
-rw-r--r--audio/tauonmb/doinst.sh7
-rw-r--r--audio/tauonmb/tauonmb.SlackBuild23
-rw-r--r--audio/tauonmb/tauonmb.info8
4 files changed, 21 insertions, 22 deletions
diff --git a/audio/tauonmb/README b/audio/tauonmb/README
index 2ec6049609..8f6307829a 100644
--- a/audio/tauonmb/README
+++ b/audio/tauonmb/README
@@ -1,9 +1,6 @@
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 GStreamer for playback.
-
-Special thanks to Reza Talebi who helped me for porting this player to
-Slackware.
+Uses PHAZOR and GStreamer for playback.
By ~red
diff --git a/audio/tauonmb/doinst.sh b/audio/tauonmb/doinst.sh
index a66207c787..0fb9c8b686 100644
--- a/audio/tauonmb/doinst.sh
+++ b/audio/tauonmb/doinst.sh
@@ -12,10 +12,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
fi
fi
-if [ -e /usr/bin/tauonmb ]; then
- chmod +x /usr/bin/tauonmb
-fi
-
-if [ -e /opt/tauon-music-box/tauonmb.sh ]; then
- chmod +x /opt/tauon-music-box/tauonmb.sh
-fi
diff --git a/audio/tauonmb/tauonmb.SlackBuild b/audio/tauonmb/tauonmb.SlackBuild
index 7580fe0b37..ebfd8d1881 100644
--- a/audio/tauonmb/tauonmb.SlackBuild
+++ b/audio/tauonmb/tauonmb.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for tauonmb
-# Copyright 2019-2020 Pouria Rezaei <Pouria.rz@outlook.com>
+# Copyright 2019-2021 Pouria Rezaei <Pouria.rz@outlook.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,8 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Modified by the SlackBuilds.org project
+
PRGNAM=tauonmb
-VERSION=${VERSION:-6.5.4}
+VERSION=${VERSION:-6.6.0}
SRCNAM=TauonMusicBox
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,9 +58,17 @@ 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
+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 src
+
mkdir -p $PKG/opt/tauon-music-box $PKG/usr/bin
mv * $PKG/opt/tauon-music-box
-cp $PKG/opt/tauon-music-box/extra/tauonmb.sh $PKG/opt/tauon-music-box/tauonmb.sh
+install -m 0755 $PKG/opt/tauon-music-box/extra/tauonmb.sh $PKG/opt/tauon-music-box/tauonmb.sh
mkdir -p $PKG/usr/share/applications
cp $CWD/tauonmb.desktop $PKG/usr/share/applications
@@ -66,12 +76,11 @@ cp $CWD/tauonmb.desktop $PKG/usr/share/applications
mkdir -p $PKG/usr/share/icons/hicolor/128x128/apps
cp $PKG/opt/tauon-music-box/assets/icon-128.png $PKG/usr/share/icons/hicolor/128x128/apps/tauonmb.png
-(
-cd $PKG/usr/bin
-ln -s /opt/tauon-music-box/extra/tauonmb.sh ./tauonmb
-)
+ln -s /opt/tauon-music-box/tauonmb.sh $PKG/usr/bin/tauon
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+( cd $PKG/opt/tauon-music-box
+ 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.info b/audio/tauonmb/tauonmb.info
index 8fc4787303..1e24b88bd3 100644
--- a/audio/tauonmb/tauonmb.info
+++ b/audio/tauonmb/tauonmb.info
@@ -1,10 +1,10 @@
PRGNAM="tauonmb"
-VERSION="6.5.4"
+VERSION="6.6.0"
HOMEPAGE="https://tauonmusicbox.rocks/"
-DOWNLOAD="https://github.com/Taiko2k/TauonMusicBox/archive/v6.5.4/TauonMusicBox-6.5.4.tar.gz"
-MD5SUM="ee1e7cb7a039431ecf9b0b185ac10852"
+DOWNLOAD="https://github.com/Taiko2k/TauonMusicBox/archive/v6.6.0/TauonMusicBox-6.6.0.tar.gz"
+MD5SUM="6ea19ab641f7cf8e2c21775252ade784"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python3-tekore python3-stagger python3-pysdl2 python3-pypresence python3-pylyrics python3-pulsectl python3-plexapi python3-isounidecode python3-hsaudiotag3k pylast setproctitle send2trash musicbrainzngs"
+REQUIRES="libopenmpt python3-tekore python3-stagger python3-pysdl2 python3-pypresence python3-pylyrics python3-pulsectl python3-plexapi python3-isounidecode python3-hsaudiotag3k pylast setproctitle send2trash musicbrainzngs"
MAINTAINER="Pouria Rezaei"
EMAIL="Pouria.rz@outlook.com"