commit:     a9e228881eb502703dc97afe08297c439f0b422f
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Tue Feb 13 20:37:25 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Feb 13 20:37:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a9e22888

media-sound/nulloy: add 0.9.8

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 media-sound/nulloy/Manifest            |  1 +
 media-sound/nulloy/nulloy-0.9.8.ebuild | 73 ++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/media-sound/nulloy/Manifest b/media-sound/nulloy/Manifest
index c04edb2124..de1315caa1 100644
--- a/media-sound/nulloy/Manifest
+++ b/media-sound/nulloy/Manifest
@@ -1,2 +1,3 @@
 DIST nulloy-0.9.5.tar.gz 326446 BLAKE2B 
8dfe39e428abcdc8c593816ae2aaae2ce8e10e5f5551de77444a205abc40dc1a369ab06ca61090235c2601ad1c0243282159ff002e47046b1482b0ec6c3f4389
 SHA512 
ca65ed5a5d0727505e36e9f85fd93ae27210f01ad4677ffce305ad00ef0307807acb492d1304c9f7ec75f7ec7e0d88371a89799c779d8d7b280a54bf703bd3d0
+DIST nulloy-0.9.8.tar.gz 332399 BLAKE2B 
5d18d6b00d6dc3f478e56a15e7b0869222892c94a46337712f1471a9ce2c3cf42bd0cf6c42c7177022ac323d732f095e1b3a1c7d37a9aff100fc8f833abd32e3
 SHA512 
4616e050664da46c3ddf89a10366134394b8a7d7cf26488396259b0ff394bbb03df7fe0f73b7d8476ad514b4fb118af0613f0d239b5e7ca0ecc769dfafb53036
 DIST nulloy-theme-night-v1.0.tar.gz 350556 BLAKE2B 
dbb9b81c1fce9bcc1da4a99ef0369280770e221b2615e9421f7165d450362d96e180a6460b839d0adc21c16286309cffcefe04dba9e1fe5b31c9df729415c883
 SHA512 
5e4c43d4a5cb1cb41b23e243d12ade6abc7309136caf69a8e0fa24becab22edf5c9b955e5933e3cb9f104e5cd953f9a46344ad04beb3e08e154725de7c852a70

diff --git a/media-sound/nulloy/nulloy-0.9.8.ebuild 
b/media-sound/nulloy/nulloy-0.9.8.ebuild
new file mode 100644
index 0000000000..199eb6dd5a
--- /dev/null
+++ b/media-sound/nulloy/nulloy-0.9.8.ebuild
@@ -0,0 +1,73 @@
+# Copyright 2022 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.gz
 )"
+
+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
+}

Reply via email to