Files
guru/media-sound/nulloy/nulloy-9999.ebuild
Vitaly Zdanevich 46bf7baff2 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>
2024-09-14 02:37:35 +02:00

62 lines
1.5 KiB
Bash

# Copyright 2024 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)"
HOMEPAGE="https://nulloy.com"
EGIT_REPO_URI="https://github.com/nulloy/nulloy"
LICENSE="GPL-3"
SLOT="0"
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[svg]
"
RDEPEND="${DEPEND}"
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
}