commit: b0fef37c7c43a6822096a53c4e297cded4ee9b53 Author: Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru> AuthorDate: Mon Jun 10 20:11:19 2024 +0000 Commit: Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru> CommitDate: Mon Jun 10 20:11:19 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b0fef37c
media-sound/nulloy: add 0.9.9 Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru> media-sound/nulloy/Manifest | 1 + media-sound/nulloy/nulloy-0.9.9.ebuild | 73 ++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/media-sound/nulloy/Manifest b/media-sound/nulloy/Manifest index 36ac68c8c..1d91bc1ba 100644 --- a/media-sound/nulloy/Manifest +++ b/media-sound/nulloy/Manifest @@ -1,5 +1,6 @@ DIST nulloy-0.9.5.tar.gz 326446 BLAKE2B 8dfe39e428abcdc8c593816ae2aaae2ce8e10e5f5551de77444a205abc40dc1a369ab06ca61090235c2601ad1c0243282159ff002e47046b1482b0ec6c3f4389 SHA512 ca65ed5a5d0727505e36e9f85fd93ae27210f01ad4677ffce305ad00ef0307807acb492d1304c9f7ec75f7ec7e0d88371a89799c779d8d7b280a54bf703bd3d0 DIST nulloy-0.9.8.7.tar.gz 332534 BLAKE2B 2be3193db135a884a31ceb9b727aa564add8302f8fc07879ec952f01df4bd3946e2bb5ba89ebef4c44de077341490239b09ecb41b7b61fb76c92d23cfe8de660 SHA512 3d1aa93554a9354f69ce46101c64d1deb82356aa68886b3c098e73f67e621db1b4d2e2098243947a9380b741a0c5b65b7333a581bf924def5aff75374510ee79 DIST nulloy-0.9.8.tar.gz 332399 BLAKE2B 5d18d6b00d6dc3f478e56a15e7b0869222892c94a46337712f1471a9ce2c3cf42bd0cf6c42c7177022ac323d732f095e1b3a1c7d37a9aff100fc8f833abd32e3 SHA512 4616e050664da46c3ddf89a10366134394b8a7d7cf26488396259b0ff394bbb03df7fe0f73b7d8476ad514b4fb118af0613f0d239b5e7ca0ecc769dfafb53036 +DIST nulloy-0.9.9.tar.gz 331205 BLAKE2B b16cfbf7395a386da15f03788588cd4a0c5ec4ba05ee089aa2a289963279b5c8e5d433a9f0d58102f58303ce7f3b18491be74d6b9a572770d1416b9774e839d2 SHA512 84a003721f07cf66256500275e0a6f41999bed2457bb0f1273b4963936889b49bb0832cbbac00016f11e5e9f2deca1a2021c36cd767d67f05bdf40653c87f0e3 DIST nulloy-theme-night-1.1.tar.bz2 353588 BLAKE2B e22388b2236b3f274cae127dcb545444b465cbf164c4bb6a5b443fdf7e2494c663dd112bbe07f2f5d2bd5e8c11b3b874381925e7f386ace47e2838ebb7ad7a3e SHA512 ef92fc90ffe3383b5ee028f9f871676168fb845de1ecdb2b88f7397abbff433a2483e3f321cf4487c4551253013064815372a5be2a0860d3b5528abea6d97b59 DIST nulloy-theme-night-v1.0.tar.bz2 353544 BLAKE2B 71191393fcf1117f9c6c11c30ea2e6a51638e3a098d11c6c22d41e123da45313681b83cd8d3bfa290ed3e3b099390b2ed46a167b2bcaacd44d7833d375df71d1 SHA512 b0f1e6e3d2df6289ba19fc16ae1fb95c4cd731b684aafb498f87079a7a2e6a60bcc3edde37698c3e69d04062c7f563855b6a7997dea80ab6fad6c3615ebadd6d diff --git a/media-sound/nulloy/nulloy-0.9.9.ebuild b/media-sound/nulloy/nulloy-0.9.9.ebuild new file mode 100644 index 000000000..4ffef1766 --- /dev/null +++ b/media-sound/nulloy/nulloy-0.9.9.ebuild @@ -0,0 +1,73 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit xdg + +DESCRIPTION="Music player with a waveform progress bar (sound visualization)" +HOMEPAGE="https://nulloy.com" + +NAME="nulloy-theme-night-v1.0" +SRC_URI="https://github.com/nulloy/nulloy/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz + skins? ( https://gitlab.com/vitaly-zdanevich/nulloy-theme-night/-/archive/v1.0/${NAME}.tar.bz2 )" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+skins" + +BDEPEND=" + dev-qt/linguist-tools + app-arch/zip +" + +DEPEND=" + dev-qt/qtcore + dev-qt/designer + dev-qt/qtsvg + dev-qt/linguist + dev-qt/qtscript + dev-qt/qtx11extras + media-libs/gstreamer + media-libs/gst-plugins-base + media-libs/taglib + media-plugins/gst-plugins-meta +" +RDEPEND="${DEPEND}" + +src_prepare() { + if use skins ; then + eapply "${FILESDIR}"/add-dark-theme.patch + + cp -r "${WORKDIR}/${NAME}" src/skins/night + fi + + default +} + +src_configure() { + # Upstream ./configure script does not support specifying an option's + # value after an equal sign like in '--prefix="${EPREFIX}/usr"', so we + # have to set up all the options ourselves and call the script directly + local myconfargs=( + $(use skins || echo --no-skins) + --no-update-check + --gstreamer-tagreader + --prefix "${EPREFIX}/usr" + --libdir "$(get_libdir)" + ) + + QMAKE=/usr/bin/qmake5 LRELEASE=/usr/lib64/qt5/bin/lrelease ./configure "${myconfargs[@]}" || die + + # Because stripping should not be done by the build tools, + # because Portage does it when the install phase is run to be able + # to support the `splitdebug` and `installsources` FEATURES. + # See related issue https://bugs.gentoo.org/856292 + echo "CONFIG += nostrip" >> "${WORKDIR}/${P}/.qmake.cache" +} + +src_install() { + emake INSTALL_ROOT="${ED}" install + einstalldocs +}