# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit flag-o-matic qmake-utils xdg-utils
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
-
IUSE="alsa dbus debug portaudio"
+BDEPEND="dev-qt/linguist-tools:5"
RDEPEND="
app-arch/gzip
dev-qt/qtcore:5
alsa? ( media-libs/alsa-lib )
dbus? ( dev-qt/qtdbus:5 )
portaudio? ( media-libs/portaudio )"
-DEPEND="${RDEPEND}
- dev-qt/linguist-tools:5"
+DEPEND="${RDEPEND}"
src_configure() {
append-cxxflags -std=c++11
- econf \
- $(use_enable alsa alsa-seq) \
- $(use_enable dbus) \
- $(use_enable debug) \
- $(use_enable portaudio) \
+ local myeconfargs=(
+ $(use_enable alsa alsa-seq)
+ $(use_enable dbus)
+ $(use_enable debug)
+ $(use_enable portaudio)
--enable-jack-version
-
+ )
+ econf "${myeconfargs[@]}"
eqmake5 ${PN}.pro -o ${PN}.mak
}
src_install() {
default
- gunzip "${D}/usr/share/man/man1/qjackctl.fr.1.gz"
- gunzip "${D}/usr/share/man/man1/qjackctl.1.gz"
+ gunzip "${D}/usr/share/man/man1/qjackctl.fr.1.gz" || die
+ gunzip "${D}/usr/share/man/man1/qjackctl.1.gz" || die
}
pkg_postinst() {
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit flag-o-matic qmake-utils autotools git-r3 xdg-utils
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-
IUSE="alsa dbus debug portaudio"
+BDEPEND="dev-qt/linguist-tools:5"
RDEPEND="
app-arch/gzip
dev-qt/qtcore:5
alsa? ( media-libs/alsa-lib )
dbus? ( dev-qt/qtdbus:5 )
portaudio? ( media-libs/portaudio )"
-DEPEND="${RDEPEND}
- dev-qt/linguist-tools:5"
+DEPEND="${RDEPEND}"
src_prepare() {
- eautoreconf
-
default
+ eautoreconf
}
src_configure() {
append-cxxflags -std=c++11
- econf \
- $(use_enable alsa alsa-seq) \
- $(use_enable dbus) \
- $(use_enable debug) \
- $(use_enable portaudio) \
+ local myeconfargs=(
+ $(use_enable alsa alsa-seq)
+ $(use_enable dbus)
+ $(use_enable debug)
+ $(use_enable portaudio)
--enable-jack-version
-
+ )
+ econf "${myeconfargs[@]}"
eqmake5 ${PN}.pro -o ${PN}.mak
}
src_install() {
default
- gunzip "${D}/usr/share/man/man1/qjackctl.fr.1.gz"
- gunzip "${D}/usr/share/man/man1/qjackctl.1.gz"
+ gunzip "${D}/usr/share/man/man1/qjackctl.fr.1.gz" || die
+ gunzip "${D}/usr/share/man/man1/qjackctl.1.gz" || die
}
pkg_postinst() {