commit: 7da5c1b7adc92028731881d7882a506cd091e760 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Tue Feb 2 23:52:04 2021 +0000 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> CommitDate: Wed Feb 3 08:30:13 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7da5c1b7
media-sound/qjackctl: Switch to cmake, add missing DEPEND and RDEPEND Bug: https://bugs.gentoo.org/766300 Closes: https://github.com/gentoo/gentoo/pull/19312 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> media-sound/qjackctl/qjackctl-9999.ebuild | 47 +++++++++++-------------------- 1 file changed, 16 insertions(+), 31 deletions(-) diff --git a/media-sound/qjackctl/qjackctl-9999.ebuild b/media-sound/qjackctl/qjackctl-9999.ebuild index 55ceab1b20d..0a4e44949eb 100644 --- a/media-sound/qjackctl/qjackctl-9999.ebuild +++ b/media-sound/qjackctl/qjackctl-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit flag-o-matic qmake-utils autotools git-r3 xdg +inherit xdg cmake git-r3 DESCRIPTION="Qt GUI to control the JACK Audio Connection Kit and ALSA sequencer connections" HOMEPAGE="https://qjackctl.sourceforge.io/" @@ -15,44 +15,29 @@ KEYWORDS="" IUSE="alsa dbus debug portaudio" BDEPEND="dev-qt/linguist-tools:5" -RDEPEND=" - app-arch/gzip +DEPEND=" dev-qt/qtcore:5 dev-qt/qtgui:5 + dev-qt/qtnetwork:5 dev-qt/qtwidgets:5 dev-qt/qtx11extras:5 dev-qt/qtxml:5 virtual/jack alsa? ( media-libs/alsa-lib ) dbus? ( dev-qt/qtdbus:5 ) - portaudio? ( media-libs/portaudio )" -DEPEND="${RDEPEND}" - -src_prepare() { - default - eautoreconf -} + portaudio? ( media-libs/portaudio ) +" +RDEPEND="${DEPEND} + dev-qt/qtsvg:5 +" src_configure() { - append-cxxflags -std=c++11 - local myeconfargs=( - $(use_enable alsa alsa-seq) - $(use_enable dbus) - $(use_enable debug) - $(use_enable portaudio) - --enable-jack-version + local mycmakeargs=( + -DCONFIG_ALSA_SEQ=$(usex alsa 1 0) + -DCONFIG_DBUS=$(usex dbus 1 0) + -DCONFIG_DEBUG=$(usex debug 1 0) + -DCONFIG_PORTAUDIO=$(usex portaudio 1 0) + -DCONFIG_JACK_VERSION=1 ) - econf "${myeconfargs[@]}" - eqmake5 ${PN}.pro -o ${PN}.mak -} - -src_compile() { - emake -f ${PN}.mak -} - -src_install() { - default - - gunzip "${D}/usr/share/man/man1/qjackctl.1.gz" || die - gunzip "${D}/usr/share/man/fr/man1/qjackctl.1.gz" || die + cmake_src_configure }
