From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D2179158074 for ; Thu, 03 Jul 2025 10:05:02 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id BC0033420C9 for ; Thu, 03 Jul 2025 10:05:02 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 5C02511056D; Thu, 03 Jul 2025 10:04:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 494F011056D for ; Thu, 03 Jul 2025 10:04:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 02EE5342124 for ; Thu, 03 Jul 2025 10:04:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DAF4E2AF9 for ; Thu, 03 Jul 2025 10:04:28 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1751535980.175b3cb6e434f8f7dee6df0c40ffd4b7940bb05a.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: media-sound/Tauon/, media-sound/Tauon/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-sound/Tauon/Manifest media-sound/Tauon/Tauon-8.1.0.ebuild media-sound/Tauon/files/Tauon-8.1.0-fix-locale-path.patch X-VCS-Directories: media-sound/Tauon/ media-sound/Tauon/files/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 175b3cb6e434f8f7dee6df0c40ffd4b7940bb05a X-VCS-Branch: master Date: Thu, 03 Jul 2025 10:04:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2e06d108-9c96-403e-8d56-411abc01e614 X-Archives-Hash: d6e471a6c886d6ab366fa1cf7cd8f952 Message-ID: <20250703100428.j7gPZGtVWl4XBV4d39gm-1TNdfxIr_ckTg2ht4KffoQ@z> commit: 175b3cb6e434f8f7dee6df0c40ffd4b7940bb05a Author: David Roman gmail com> AuthorDate: Thu Jul 3 09:46:20 2025 +0000 Commit: David Roman gmail 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 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,