From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-sound/TauonMusicBox/
Date: Thu, 18 Apr 2024 21:35:55 +0000 (UTC) [thread overview]
Message-ID: <1713475864.8db9a66365af30e160e133887cc087fdd5f767df.davidroman@gentoo> (raw)
Message-ID: <20240418213555.7_bR28UcwveBYyDbEufdDf2e7joun7c0YUk4JNwzatc@z> (raw)
commit: 8db9a66365af30e160e133887cc087fdd5f767df
Author: David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Thu Apr 18 21:29:50 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Apr 18 21:31:04 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8db9a663
media-sound/TauonMusicBox: add missing deps
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
.../TauonMusicBox/TauonMusicBox-7.7.2-r1.ebuild | 118 +++++++++++++++++++++
1 file changed, 118 insertions(+)
diff --git a/media-sound/TauonMusicBox/TauonMusicBox-7.7.2-r1.ebuild b/media-sound/TauonMusicBox/TauonMusicBox-7.7.2-r1.ebuild
new file mode 100644
index 0000000000..e4e3573bd1
--- /dev/null
+++ b/media-sound/TauonMusicBox/TauonMusicBox-7.7.2-r1.ebuild
@@ -0,0 +1,118 @@
+# 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_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit cmake 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/${PN}/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/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/beautifulsoup4[${PYTHON_USEDEP}]
+ dev-python/musicbrainzngs[${PYTHON_USEDEP}]
+ dev-python/natsort[${PYTHON_USEDEP}]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/PySDL2[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ dev-python/send2trash[${PYTHON_USEDEP}]
+ media-video/ffmpeg
+ media-libs/mutagen[${PYTHON_USEDEP}]
+ media-libs/sdl2-image
+
+ ${PHAZOR_DEPS}
+"
+
+RDEPEND="
+ ${DEPEND}
+
+ dev-libs/libappindicator
+ x11-libs/libnotify
+"
+
+BDEPEND="sys-devel/gettext"
+
+src_prepare() {
+ distutils-r1_src_prepare
+ cmake_src_prepare
+}
+
+src_configure() {
+ distutils-r1_src_configure
+ cmake_src_configure
+}
+
+src_compile() {
+ distutils-r1_src_compile
+ cmake_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
+}
+
+src_test() {
+ distutils-r1_src_test
+ cmake_src_test
+}
+
+python_install() {
+ newbin tauon.py tauon
+ dolib.so "${WORKDIR}/${P}_build/libphazor.so"
+ dosym "/usr/$(get_libdir)/libphazor.so" "/usr/share/${PN}/lib/libphazor.so"
+
+ install_locale() {
+ insinto "/usr/share/locale/${1}/LC_MESSAGES"
+ doins "locale/${1}/LC_MESSAGES/tauon.mo"
+ }
+
+ plocale_for_each_locale install_locale
+
+ insinto "/usr/share/${PN}"
+ doins -r assets theme templates
+ doins input.txt
+
+ sed -i 's/\/opt\/tauon-music-box\/tauonmb.sh/tauon/g' extra/tauonmb.desktop || die
+ sed -i 's/Actions=PlayPause;Previous;Next/Actions=PlayPause;Previous;Next;Stop/g' extra/tauonmb.desktop || die
+ domenu extra/tauonmb.desktop
+ doicon -s scalable extra/tauonmb.svg
+
+ distutils-r1_python_install
+}
+
+pkg_postinst() {
+ optfeature "last fm support" dev-python/pylast
+ optfeature "PLEX support" dev-python/plexapi
+}
next reply other threads:[~2024-04-18 21:35 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-18 21:31 David Roman [this message]
2024-04-18 21:35 ` [gentoo-commits] repo/proj/guru:master commit in: media-sound/TauonMusicBox/ David Roman
-- strict thread matches above, loose matches on Subject: below --
2025-02-24 9:49 [gentoo-commits] repo/proj/guru:dev " David Roman
2024-11-24 21:06 Anna Vyalkova
2024-09-07 0:12 David Roman
2024-08-31 21:19 David Roman
2024-08-31 21:19 David Roman
2024-08-06 14:07 Lucio Sauer
2024-08-06 9:25 David Roman
2024-04-26 12:33 David Roman
2024-04-26 11:35 David Roman
2024-04-18 21:35 [gentoo-commits] repo/proj/guru:master " David Roman
2024-04-18 21:31 ` [gentoo-commits] repo/proj/guru:dev " David Roman
2024-04-18 16:23 David Roman
2024-02-26 9:46 David Roman
2024-02-23 18:38 David Roman
2024-02-23 13:10 [gentoo-commits] repo/proj/guru:master " David Roman
2024-02-23 12:17 ` [gentoo-commits] repo/proj/guru:dev " David Roman
2024-02-23 12:24 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=1713475864.8db9a66365af30e160e133887cc087fdd5f767df.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