summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-02-03 09:27:03 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2021-02-03 09:30:13 +0100
commitd3ec41d7c27fff58da5317d3b45641f00d883f36 (patch)
tree7bc440a6ff85452e6cb8370def61211595e35285 /media-sound
parentmedia-sound/qjackctl: Switch to cmake, add missing DEPEND and RDEPEND (diff)
downloadgentoo-d3ec41d7c27fff58da5317d3b45641f00d883f36.tar.gz
gentoo-d3ec41d7c27fff58da5317d3b45641f00d883f36.tar.bz2
gentoo-d3ec41d7c27fff58da5317d3b45641f00d883f36.zip
media-sound/qjackctl: ported changes from live to 0.9.0
Closes: https://bugs.gentoo.org/766300 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/qjackctl/qjackctl-0.9.0.ebuild42
1 files changed, 16 insertions, 26 deletions
diff --git a/media-sound/qjackctl/qjackctl-0.9.0.ebuild b/media-sound/qjackctl/qjackctl-0.9.0.ebuild
index 1479ddaa98aa..bb38a07a4992 100644
--- a/media-sound/qjackctl/qjackctl-0.9.0.ebuild
+++ b/media-sound/qjackctl/qjackctl-0.9.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit flag-o-matic qmake-utils xdg
+inherit xdg cmake
DESCRIPTION="Qt GUI to control the JACK Audio Connection Kit and ALSA sequencer connections"
HOMEPAGE="https://qjackctl.sourceforge.io/"
@@ -11,43 +11,33 @@ SRC_URI="mirror://sourceforge/qjackctl/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
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}"
+ 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
}