commit:     46bf7baff232e69bde02f28e172b0bbe6e9f9246
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Fri Sep 13 20:42:12 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Sep 14 00:37:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=46bf7baf

media-sound/nulloy: drop external theme

I will move it to a separate ebuild (decided by the community).

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>
Closes: https://github.com/gentoo/guru/pull/241
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>

 media-sound/nulloy/metadata.xml                     |  2 +-
 .../{nulloy-0.9.9.ebuild => nulloy-0.9.9-r1.ebuild} | 14 +-------------
 media-sound/nulloy/nulloy-9999.ebuild               | 21 +--------------------
 3 files changed, 3 insertions(+), 34 deletions(-)

diff --git a/media-sound/nulloy/metadata.xml b/media-sound/nulloy/metadata.xml
index d9c4775e5..9988a9371 100644
--- a/media-sound/nulloy/metadata.xml
+++ b/media-sound/nulloy/metadata.xml
@@ -6,7 +6,7 @@
                <name>Vitaly Zdanevich</name>
        </maintainer>
        <use>
-               <flag name="skins">Add a few themes, enable if you want 
dark</flag>
+               <flag name="skins">Without this flag - you can choose qt5 
themes not only for preferences</flag>
        </use>
        <upstream>
                <remote-id type="github">nulloy/nulloy</remote-id>

diff --git a/media-sound/nulloy/nulloy-0.9.9.ebuild 
b/media-sound/nulloy/nulloy-0.9.9-r1.ebuild
similarity index 83%
rename from media-sound/nulloy/nulloy-0.9.9.ebuild
rename to media-sound/nulloy/nulloy-0.9.9-r1.ebuild
index d4c5f2417..c4b906bd3 100644
--- a/media-sound/nulloy/nulloy-0.9.9.ebuild
+++ b/media-sound/nulloy/nulloy-0.9.9-r1.ebuild
@@ -8,9 +8,7 @@ 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
 )"
+SRC_URI="https://github.com/nulloy/nulloy/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -37,16 +35,6 @@ DEPEND="
 "
 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

diff --git a/media-sound/nulloy/nulloy-9999.ebuild 
b/media-sound/nulloy/nulloy-9999.ebuild
index efc31d791..465a8be61 100644
--- a/media-sound/nulloy/nulloy-9999.ebuild
+++ b/media-sound/nulloy/nulloy-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -34,25 +34,6 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
-src_unpack() {
-       git-r3_src_unpack
-
-       if use skins ; then
-               
EGIT_REPO_URI=https://gitlab.com/vitaly-zdanevich/nulloy-theme-night.git
-               EGIT_CHECKOUT_DIR="${WORKDIR}/night"
-               git-r3_src_unpack
-       fi
-}
-
-src_prepare() {
-       default
-
-       if use skins ; then
-               eapply "${FILESDIR}/add-dark-theme.patch"
-               cp -r "${WORKDIR}/night" src/skins
-       fi
-}
-
 src_configure() {
        # Upstream ./configure script does not support specifying an option's
        # value after an equal sign like in '--prefix="${EPREFIX}/usr"', so we

Reply via email to