diff options
author | Pouria Rezaei <Pouria.rz@outlook.com> | 2024-07-31 08:08:33 +0330 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-07-31 21:23:25 +0700 |
commit | e49c895e9da2cf349258a91ace5338484f129ce9 (patch) | |
tree | 41b041a88fc724176819eee0c0d240a17f1e5063 | |
parent | 2aea5e0ef478a818bd63ac240ed915b462d56cfc (diff) |
audio/tauonmb: Update script (Build 3).
- New patch fixes actual UI bug, specifically the custom dark high
contrast theme.
- Updated README and slack-desc, probably late since gst has been
dropped since early 7.
Signed-off-by: Pouria Rezaei <Pouria.rz@outlook.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | audio/tauonmb/README | 2 | ||||
-rw-r--r-- | audio/tauonmb/config/fix-tauon-options.patch | 15 | ||||
-rw-r--r-- | audio/tauonmb/slack-desc | 2 | ||||
-rw-r--r-- | audio/tauonmb/tauonmb.SlackBuild | 7 |
4 files changed, 21 insertions, 5 deletions
diff --git a/audio/tauonmb/README b/audio/tauonmb/README index a020b5052720..f0fce998037f 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 for playback. Optional dependencies: python3-pypresence #Discord RPC diff --git a/audio/tauonmb/config/fix-tauon-options.patch b/audio/tauonmb/config/fix-tauon-options.patch index 694a640a9023..655688690454 100644 --- a/audio/tauonmb/config/fix-tauon-options.patch +++ b/audio/tauonmb/config/fix-tauon-options.patch @@ -81,6 +81,21 @@ index 4848b7b2..cc662a74 100644 def use_id3(tags, nt): def natural_get(tag, track, frame, attr): +diff --git a/t_modules/t_main.py b/t_modules/t_main.py +index 41916fc7..ca5f7c9a 100644 +--- a/t_modules/t_main.py ++++ b/t_modules/t_main.py +@@ -30667,6 +30667,10 @@ class Over: + tab_bg = colours.sys_tab_bg + tab_hl = colours.sys_tab_hl + tab_text = rgb_add_hls(tab_bg, 0, 0.3, -0.15) ++ if is_light(tab_bg): ++ h, l, s = rgb_to_hls(tab_bg[0], tab_bg[1], tab_bg[2]) ++ l = 0.1 ++ tab_text = hls_to_rgb(h, l, s) + tab_over = alpha_mod(rgb_add_hls(tab_bg, 0, 0.5, 0), 13) + + if top_mode: diff --git a/input.txt b/input.txt index d3a9268..996727f 100644 --- a/input.txt diff --git a/audio/tauonmb/slack-desc b/audio/tauonmb/slack-desc index 817bf8671bd7..c04eab2c361a 100644 --- a/audio/tauonmb/slack-desc +++ b/audio/tauonmb/slack-desc @@ -11,7 +11,7 @@ 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 Phazor and GStreamer for playback. +tauonmb: Uses Phazor for playback. tauonmb: tauonmb: tauonmb: Project URL: https://tauonmusicbox.rocks/ diff --git a/audio/tauonmb/tauonmb.SlackBuild b/audio/tauonmb/tauonmb.SlackBuild index da73e875bd72..e0f010e38aab 100644 --- a/audio/tauonmb/tauonmb.SlackBuild +++ b/audio/tauonmb/tauonmb.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=tauonmb VERSION=${VERSION:-7.8.0} SRCNAM=Tauon -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -66,9 +66,10 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION -# - Replace my own isounidecode with Unidecode. +# - Replaced my own isounidecode with Unidecode. # - Pass libgme. -# - Revert old days theme changer! +# - Fixed custom theme bug. +# - Reverted old days theme changer! patch -p1 < $CWD/config/fix-tauon-options.patch # Make libgme optional, isn't this messy already? |