From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-sound/Tauon/, media-sound/Tauon/files/
Date: Thu, 03 Jul 2025 10:04:28 +0000 (UTC) [thread overview]
Message-ID: <1751535980.175b3cb6e434f8f7dee6df0c40ffd4b7940bb05a.davidroman@gentoo> (raw)
Message-ID: <20250703100428.j7gPZGtVWl4XBV4d39gm-1TNdfxIr_ckTg2ht4KffoQ@z> (raw)
commit: 175b3cb6e434f8f7dee6df0c40ffd4b7940bb05a
Author: David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Thu Jul 3 09:46:20 2025 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Jul 3 09:46:20 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=175b3cb6
media-sound/Tauon: add 8.1.0
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
media-sound/Tauon/Manifest | 1 +
media-sound/Tauon/Tauon-8.1.0.ebuild | 108 +++++++++++++++++++++
.../Tauon/files/Tauon-8.1.0-fix-locale-path.patch | 15 +++
3 files changed, 124 insertions(+)
diff --git a/media-sound/Tauon/Manifest b/media-sound/Tauon/Manifest
index 5eeb7c34a2..d40a498065 100644
--- a/media-sound/Tauon/Manifest
+++ b/media-sound/Tauon/Manifest
@@ -1,2 +1,3 @@
DIST Tauon-7.9.0.tar.gz 1354787 BLAKE2B 2116c84ec687ec337e712aefa5da54b08e572b917c3a41d94687a95bfefd8d7a3276422b4e68cda8ed5f27f92a32bf491d41f1f4476e193f19ce927d6f6d02b4 SHA512 17b26b296385f3c2b6006a6a33453e5a277c8bc901f717bac3751bddc1691116e0bf116db9457e425d61d300200b5ca487f5b4949ca2be2993657be4fa9d87cf
DIST Tauon-8.0.1.tar.gz 1668223 BLAKE2B 3d32d839440067ad11ddf76f6b188b82ba50ac6e45624fb8f96ca8f70721c1b6cf111092b76f92f7b06e57120555522dc5752ba2fd4bc7ce20133b7c7e358e37 SHA512 d7a17df12ea259a4ef4116f3690b5b0ac6a259e079747cfcf1fbef24f45b77024260d133a3a1d75ef371c3c0ddc6be36bed1dee440609a94ebdaabd2dc2828f7
+DIST Tauon-8.1.0.tar.gz 1690926 BLAKE2B 38b7932c06b765041c3682da3031d426c9b3a3448dbd3516c708b77893a9611ea0afcc12c7f1275fd8207687f8142535976b01353d0ec668c43d1bc0871fd2e6 SHA512 5c403f77e7eff02d329b312342d9a9e2117c184b418859c194d3a12048f8048c5471a43eb0070d43500af29dcf50a19eeb03e77cb4c6213aa1b7731826455d12
diff --git a/media-sound/Tauon/Tauon-8.1.0.ebuild b/media-sound/Tauon/Tauon-8.1.0.ebuild
new file mode 100644
index 0000000000..4f32ef7420
--- /dev/null
+++ b/media-sound/Tauon/Tauon-8.1.0.ebuild
@@ -0,0 +1,108 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PLOCALES="cs de es fr_FR hu id it ja_JP nb_NO pl pt pt_BR pt_PT ru sv tr zh_CN"
+
+PYTHON_COMPAT=( python3_{12..13} )
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+
+inherit desktop distutils-r1 optfeature plocale xdg
+
+DESCRIPTION="The desktop music player of today!"
+HOMEPAGE="https://tauonmusicbox.rocks/"
+
+if [[ ${PV} == *9999 ]]; then
+ EGIT_SUBMODULES=()
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/Taiko2k/${PN}"
+else
+ SRC_URI="https://github.com/Taiko2k/Tauon/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+
+PHAZOR_DEPS="
+ dev-libs/miniaudio
+ media-libs/flac:=
+ media-libs/game-music-emu
+ media-libs/libopenmpt
+ media-libs/opus
+ media-libs/opusfile
+ media-libs/libsamplerate
+ media-libs/libvorbis
+ media-sound/mpg123
+ media-sound/wavpack
+ sci-libs/kissfft[-cpu_flags_x86_sse]
+"
+
+DEPEND="
+ dev-python/aiohttp[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/musicbrainzngs[${PYTHON_USEDEP}]
+ dev-python/natsort[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/pysdl3[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ dev-python/send2trash[${PYTHON_USEDEP}]
+ dev-python/unidecode[${PYTHON_USEDEP}]
+ media-video/ffmpeg
+ media-libs/mutagen[${PYTHON_USEDEP}]
+ media-libs/sdl3-image
+
+ ${PHAZOR_DEPS}
+"
+
+RDEPEND="
+ ${DEPEND}
+
+ dev-libs/libayatana-appindicator
+ media-sound/mpg123-base
+ x11-libs/libnotify
+"
+
+BDEPEND="sys-devel/gettext"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-7.9.0-phazor-build.patch"
+ "${FILESDIR}/${PN}-8.1.0-fix-locale-path.patch"
+)
+
+src_compile() {
+ distutils-r1_src_compile
+
+ build_locale() {
+ msgfmt -o "locale/${1}/LC_MESSAGES/tauon.mo" "locale/${1}/LC_MESSAGES/tauon.po" || die
+ }
+
+ plocale_for_each_locale build_locale
+}
+
+python_install() {
+ distutils-r1_python_install
+
+ install_locale() {
+ insinto "/usr/share/locale/${1}/LC_MESSAGES"
+ doins "locale/${1}/LC_MESSAGES/tauon.mo"
+ }
+
+ plocale_for_each_locale install_locale
+
+ sed -i 's/Exec=tauon/Exec=tauonmb/g' extra/tauonmb.desktop || die
+ domenu extra/tauonmb.desktop
+ doicon -s scalable extra/tauonmb.svg
+
+}
+
+pkg_postinst() {
+ optfeature "Chinese searches support" app-i18n/opencc[python]
+ optfeature "last fm support" dev-python/pylast
+ optfeature "PLEX support" dev-python/plexapi
+ optfeature "Spotify support" dev-python/tekore
+
+ xdg_pkg_postinst
+}
diff --git a/media-sound/Tauon/files/Tauon-8.1.0-fix-locale-path.patch b/media-sound/Tauon/files/Tauon-8.1.0-fix-locale-path.patch
new file mode 100644
index 0000000000..478e565c0f
--- /dev/null
+++ b/media-sound/Tauon/files/Tauon-8.1.0-fix-locale-path.patch
@@ -0,0 +1,15 @@
+diff --git i/src/tauon/t_modules/t_main.py w/src/tauon/t_modules/t_main.py
+index 4da572e5..acde4380 100644
+--- i/src/tauon/t_modules/t_main.py
++++ w/src/tauon/t_modules/t_main.py
+@@ -39337,8 +39337,8 @@ def main(holder: Holder) -> None:
+ locale_directory = install_directory / "locale"
+ if flatpak_mode:
+ locale_directory = Path("/app/share/locale")
+- #elif str(install_directory).startswith(("/opt/", "/usr/")):
+- # locale_directory = Path("/usr/share/locale")
++ elif str(install_directory).startswith(("/opt/", "/usr/")):
++ locale_directory = Path("/usr/share/locale")
+
+ dirs = Directories(
+ install_directory=install_directory,
next reply other threads:[~2025-07-03 10:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-03 9:47 David Roman [this message]
2025-07-03 10:04 ` [gentoo-commits] repo/proj/guru:master commit in: media-sound/Tauon/, media-sound/Tauon/files/ David Roman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1751535980.175b3cb6e434f8f7dee6df0c40ffd4b7940bb05a.davidroman@gentoo \
--to=davidroman96@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox