/[gentoo-x86]/media-sound/qjackctl/qjackctl-0.4.0.ebuild
Gentoo

Contents of /media-sound/qjackctl/qjackctl-0.4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Jul 27 09:37:18 2015 UTC (4 years, 2 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
add missing qt5 deps, bug #555516 by Anton Gubarkov

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 160F534A)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/qjackctl/qjackctl-0.4.0.ebuild,v 1.1 2015/07/20 09:09:20 aballier Exp $
4
5 EAPI=5
6
7 inherit qmake-utils
8
9 DESCRIPTION="A Qt application to control the JACK Audio Connection Kit and ALSA sequencer connections"
10 HOMEPAGE="http://qjackctl.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/qjackctl/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16
17 IUSE="alsa dbus debug portaudio +qt5"
18
19 RDEPEND="
20 >=media-sound/jack-audio-connection-kit-0.109.2
21 qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtxml:5 dev-qt/qtwidgets:5 )
22 !qt5? ( dev-qt/qtcore:4 dev-qt/qtgui:4 )
23 alsa? ( media-libs/alsa-lib )
24 dbus? ( dev-qt/qtdbus:4 )
25 portaudio? ( media-libs/portaudio )"
26 DEPEND="${RDEPEND}"
27
28 DOCS="AUTHORS ChangeLog README TODO TRANSLATORS"
29
30 src_configure() {
31 use qt5 && export PATH="$(qt5_get_bindir):${PATH}"
32 econf \
33 $(use_with !qt5 qt4 $(qt4_get_bindir)) \
34 $(use_with qt5 qt5 $(qt5_get_bindir)) \
35 $(use_enable alsa alsa-seq) \
36 $(use_enable dbus) \
37 $(use_enable debug) \
38 $(use_enable portaudio)
39
40 # Emulate what the Makefile does, so that we can get the correct
41 # compiler used.
42 if use qt5 ; then
43 eqmake5 ${PN}.pro -o ${PN}.mak
44 else
45 eqmake4 ${PN}.pro -o ${PN}.mak
46 fi
47 }
48
49 src_compile() {
50 emake -f ${PN}.mak
51 }

  ViewVC Help
Powered by ViewVC 1.1.20