mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
media-sound/nulloy: add 0.8.2, 9999
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
2
media-sound/nulloy/Manifest
Normal file
2
media-sound/nulloy/Manifest
Normal file
@@ -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
|
||||
12
media-sound/nulloy/files/nulloy.patch
Normal file
12
media-sound/nulloy/files/nulloy.patch
Normal file
@@ -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})/*
|
||||
11
media-sound/nulloy/metadata.xml
Normal file
11
media-sound/nulloy/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>zdanevich.vitaly@ya.ru</email>
|
||||
<name>Vitaly Zdanevich</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="skins">Add a few themes, enable if you want dark</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
63
media-sound/nulloy/nulloy-0.9.3.ebuild
Normal file
63
media-sound/nulloy/nulloy-0.9.3.ebuild
Normal file
@@ -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
|
||||
}
|
||||
70
media-sound/nulloy/nulloy-9999.ebuild
Normal file
70
media-sound/nulloy/nulloy-9999.ebuild
Normal file
@@ -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"
|
||||
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_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() {
|
||||
if use skins ; then
|
||||
default
|
||||
|
||||
eapply "${FILESDIR}"/nulloy.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
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user