[gentoo-commits] repo/proj/guru:dev commit in: media-sound/nulloy/files/, media-sound/nulloy/
commit: fde97c7e5637424e146fba67974862ca33ad6f87 Author: Vitaly Zdanevich ya ru> AuthorDate: Sun Jul 10 10:44:08 2022 + Commit: Vitaly Zdanevich ya ru> CommitDate: Sun Jul 10 10:44:08 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fde97c7e media-sound/nulloy: do not strip Signed-off-by: Vitaly Zdanevich ya.ru> media-sound/nulloy/files/add-nostrip.patch | 9 - media-sound/nulloy/nulloy-0.9.3.ebuild | 6 ++ media-sound/nulloy/nulloy-.ebuild | 12 ++-- 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/media-sound/nulloy/files/add-nostrip.patch b/media-sound/nulloy/files/add-nostrip.patch deleted file mode 100644 index 39b78be70..0 --- a/media-sound/nulloy/files/add-nostrip.patch +++ /dev/null @@ -1,9 +0,0 @@ a/nulloy.pro -+++ b/nulloy.pro -@@ -1,5 +1,5 @@ - TEMPLATE = subdirs --CONFIG += ordered -+CONFIG += ordered nostrip - - isEmpty(N_CONFIG_SUCCESS) { - unix:error("Please run './configure'") diff --git a/media-sound/nulloy/nulloy-0.9.3.ebuild b/media-sound/nulloy/nulloy-0.9.3.ebuild index bfce51ba0..e7e7056ae 100644 --- a/media-sound/nulloy/nulloy-0.9.3.ebuild +++ b/media-sound/nulloy/nulloy-0.9.3.ebuild @@ -58,6 +58,12 @@ src_configure() { ) 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() { diff --git a/media-sound/nulloy/nulloy-.ebuild b/media-sound/nulloy/nulloy-.ebuild index 7408f0030..8932c9364 100644 --- a/media-sound/nulloy/nulloy-.ebuild +++ b/media-sound/nulloy/nulloy-.ebuild @@ -45,12 +45,6 @@ src_unpack() { src_prepare() { default - # 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 - eapply $FILESDIR/add-nostrip.patch - if use skins ; then eapply $FILESDIR/add-dark-theme.patch cp -r $WORKDIR/night src/skins @@ -71,6 +65,12 @@ src_configure() { ) 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() {
[gentoo-commits] repo/proj/guru:dev commit in: media-sound/nulloy/files/, media-sound/nulloy/
commit: ceafffcacd1fe1fe14c1e4b1ad52662f97a96eaf Author: Vitaly Zdanevich ya ru> AuthorDate: Sat Jul 9 22:10:49 2022 + Commit: Vitaly Zdanevich ya ru> CommitDate: Sat Jul 9 22:12:53 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ceafffca media-sound/nulloy: do not strip by default Signed-off-by: Vitaly Zdanevich ya.ru> .../nulloy/files/{nulloy.patch => add-dark-theme.patch}| 0 media-sound/nulloy/files/add-nostrip.patch | 10 ++ media-sound/nulloy/nulloy-.ebuild | 8 +++- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/media-sound/nulloy/files/nulloy.patch b/media-sound/nulloy/files/add-dark-theme.patch similarity index 100% rename from media-sound/nulloy/files/nulloy.patch rename to media-sound/nulloy/files/add-dark-theme.patch diff --git a/media-sound/nulloy/files/add-nostrip.patch b/media-sound/nulloy/files/add-nostrip.patch new file mode 100644 index 0..0078b64ce --- /dev/null +++ b/media-sound/nulloy/files/add-nostrip.patch @@ -0,0 +1,10 @@ +index 795269f..5d59711 100644 +--- a/nulloy.pro b/nulloy.pro +@@ -1,5 +1,5 @@ + TEMPLATE = subdirs +-CONFIG += ordered ++CONFIG += ordered nostrip + + isEmpty(N_CONFIG_SUCCESS) { + unix:error("Please run './configure'") diff --git a/media-sound/nulloy/nulloy-.ebuild b/media-sound/nulloy/nulloy-.ebuild index fb893764d..583be7996 100644 --- a/media-sound/nulloy/nulloy-.ebuild +++ b/media-sound/nulloy/nulloy-.ebuild @@ -46,7 +46,13 @@ src_prepare() { if use skins ; then default - eapply "${FILESDIR}"/nulloy.patch + # 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 + eapply "${FILESDIR}"/add-nostrip.patch + + eapply "${FILESDIR}"/add-dark-theme.patch cp -r $WORKDIR/night src/skins fi }
[gentoo-commits] repo/proj/guru:dev commit in: media-sound/nulloy/files/, media-sound/nulloy/
commit: 304d220ac6447c1839923ad85030ce38c4639c41 Author: Vitaly Zdanevich ya ru> AuthorDate: Sun Jun 26 14:40:57 2022 + Commit: Vitaly Zdanevich ya ru> CommitDate: Sun Jun 26 14:40:57 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=304d220a media-sound/nulloy: add 0.8.2, Signed-off-by: Vitaly Zdanevich ya.ru> media-sound/nulloy/Manifest| 2 + media-sound/nulloy/files/nulloy.patch | 12 ++ media-sound/nulloy/metadata.xml| 11 ++ media-sound/nulloy/nulloy-0.9.3.ebuild | 63 ++ media-sound/nulloy/nulloy-.ebuild | 70 ++ 5 files changed, 158 insertions(+) diff --git a/media-sound/nulloy/Manifest b/media-sound/nulloy/Manifest new file mode 100644 index 0..96d9bfaa2 --- /dev/null +++ b/media-sound/nulloy/Manifest @@ -0,0 +1,2 @@ +DIST nulloy-0.9.3.tar.gz 374184 BLAKE2B 49dc31e3e30b89bab62dcdaeea56a71da4a54a19a866df47034708659494aaca3c622c1466a62ffd1d9f6247e14d06eb2d6992d9779c619c6bcf07154ae10731 SHA512 884828a0968c651af770042aade1ed4491e8d8f49c5e7b16df0115841a3883df00f190da6c1478f2eb9ed065ef0372ff7635e2c5d8d32ec5af8b55b00302b0a9 +DIST nulloy-theme-night-v1.0.tar.gz 350556 BLAKE2B dbb9b81c1fce9bcc1da4a99ef0369280770e221b2615e9421f7165d450362d96e180a6460b839d0adc21c16286309cffcefe04dba9e1fe5b31c9df729415c883 SHA512 5e4c43d4a5cb1cb41b23e243d12ade6abc7309136caf69a8e0fa24becab22edf5c9b955e5933e3cb9f104e5cd953f9a46344ad04beb3e08e154725de7c852a70 diff --git a/media-sound/nulloy/files/nulloy.patch b/media-sound/nulloy/files/nulloy.patch new file mode 100644 index 0..155879b1b --- /dev/null +++ b/media-sound/nulloy/files/nulloy.patch @@ -0,0 +1,12 @@ +index 4ddee63..5f02c60 100644 +--- a/src/skins/skins.pri b/src/skins/skins.pri +@@ -12,7 +12,7 @@ win32 { + ZIP_DEL_CMD = 7z d -tzip + } + +-unix:SKINS = metro silver slim ++unix:SKINS = metro silver slim night + win32:SKINS = Metro Silver Slim + for(skin, SKINS) { + _depends = $$SRC_DIR/skins/$$lower($${skin})/* diff --git a/media-sound/nulloy/metadata.xml b/media-sound/nulloy/metadata.xml new file mode 100644 index 0..7e06a7d4b --- /dev/null +++ b/media-sound/nulloy/metadata.xml @@ -0,0 +1,11 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + zdanevich.vit...@ya.ru + Vitaly Zdanevich + + + Add a few themes, enable if you want dark + + diff --git a/media-sound/nulloy/nulloy-0.9.3.ebuild b/media-sound/nulloy/nulloy-0.9.3.ebuild new file mode 100644 index 0..2a8ed1a32 --- /dev/null +++ b/media-sound/nulloy/nulloy-0.9.3.ebuild @@ -0,0 +1,63 @@ +# 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 like in audio editors)" +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" + +DEPEND=" + dev-qt/qtcore + dev-qt/designer + dev-qt/linguist + dev-qt/qtscript + dev-qt/qtx11extras + media-libs/gstreamer + media-libs/gst-plugins-base + media-plugins/gst-plugins-meta +" +RDEPEND="${DEPEND}" + +src_prepare() { + if use skins ; then + eapply "${FILESDIR}"/nulloy.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 + --no-taglib + --gstreamer-tagreader + --prefix "${EPREFIX}/usr" + --libdir "$(get_libdir)" + ) + + ./configure "${myconfargs[@]}" || die +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs +} diff --git a/media-sound/nulloy/nulloy-.ebuild b/media-sound/nulloy/nulloy-.ebuild new file mode 100644 index 0..4cd2267fd --- /dev/null +++ b/media-sound/nulloy/nulloy-.ebuild @@ -0,0 +1,70 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit git-r3 xdg + +DESCRIPTION="Music player with a waveform progress bar (sound visualization like in audio editors)" +HOMEPAGE="https://nulloy.com; + +EGIT_REPO_URI="https://github.com/nulloy/nulloy; +EGIT_CLONE_TYPE="shallow" + +LICENSE="GPL-3" +SLOT="0"