mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
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@ya.ru> Closes: https://github.com/gentoo/guru/pull/241 Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
committed by
David Roman
parent
704bf57067
commit
46bf7baff2
@@ -6,7 +6,7 @@
|
|||||||
<name>Vitaly Zdanevich</name>
|
<name>Vitaly Zdanevich</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<use>
|
<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>
|
</use>
|
||||||
<upstream>
|
<upstream>
|
||||||
<remote-id type="github">nulloy/nulloy</remote-id>
|
<remote-id type="github">nulloy/nulloy</remote-id>
|
||||||
|
|||||||
@@ -8,9 +8,7 @@ inherit xdg
|
|||||||
DESCRIPTION="Music player with a waveform progress bar (sound visualization)"
|
DESCRIPTION="Music player with a waveform progress bar (sound visualization)"
|
||||||
HOMEPAGE="https://nulloy.com"
|
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"
|
||||||
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"
|
LICENSE="GPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@@ -37,16 +35,6 @@ DEPEND="
|
|||||||
"
|
"
|
||||||
RDEPEND="${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() {
|
src_configure() {
|
||||||
# Upstream ./configure script does not support specifying an option's
|
# Upstream ./configure script does not support specifying an option's
|
||||||
# value after an equal sign like in '--prefix="${EPREFIX}/usr"', so we
|
# value after an equal sign like in '--prefix="${EPREFIX}/usr"', so we
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# Copyright 2022 Gentoo Authors
|
# Copyright 2024 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@@ -34,25 +34,6 @@ DEPEND="
|
|||||||
"
|
"
|
||||||
RDEPEND="${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() {
|
src_configure() {
|
||||||
# Upstream ./configure script does not support specifying an option's
|
# Upstream ./configure script does not support specifying an option's
|
||||||
# value after an equal sign like in '--prefix="${EPREFIX}/usr"', so we
|
# value after an equal sign like in '--prefix="${EPREFIX}/usr"', so we
|
||||||
|
|||||||
Reference in New Issue
Block a user