commit:     8c32ab4b61d04de5730dcee9f9a061b9b9f07be5
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Thu Feb 22 16:16:54 2024 +0000
Commit:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
CommitDate: Thu Feb 22 16:16:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c32ab4b

media-sound/nulloy: add 0.9.8.7

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

 media-sound/nulloy/Manifest              |  1 +
 media-sound/nulloy/nulloy-0.9.8.7.ebuild | 77 ++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/media-sound/nulloy/Manifest b/media-sound/nulloy/Manifest
index e1b93fd248..3e2475b9ca 100644
--- a/media-sound/nulloy/Manifest
+++ b/media-sound/nulloy/Manifest
@@ -1,3 +1,4 @@
 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-theme-night-v1.0.tar.bz2 353544 BLAKE2B 
71191393fcf1117f9c6c11c30ea2e6a51638e3a098d11c6c22d41e123da45313681b83cd8d3bfa290ed3e3b099390b2ed46a167b2bcaacd44d7833d375df71d1
 SHA512 
b0f1e6e3d2df6289ba19fc16ae1fb95c4cd731b684aafb498f87079a7a2e6a60bcc3edde37698c3e69d04062c7f563855b6a7997dea80ab6fad6c3615ebadd6d

diff --git a/media-sound/nulloy/nulloy-0.9.8.7.ebuild 
b/media-sound/nulloy/nulloy-0.9.8.7.ebuild
new file mode 100644
index 0000000000..9831d0db81
--- /dev/null
+++ b/media-sound/nulloy/nulloy-0.9.8.7.ebuild
@@ -0,0 +1,77 @@
+# 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.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
+       media-gfx/imagemagick
+"
+# imagemagick to generate icons, see
+# 
https://github.com/nulloy/nulloy/commit/9b89a9e60d68c59fa541807db68e5a1daf4110cc#r138660390
+
+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