summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2017-06-04 17:37:57 +0100
committerJustin Lecher <jlec@gentoo.org>2017-06-04 17:37:57 +0100
commitba8c903d19b8c9f588df8be051886cd85b228a72 (patch)
tree936834174db763f786d07e0c1fa329a199450c98
parentdev-cpp/libvmime: fix metadata.xml (diff)
downloadbetagarden-ba8c903d19b8c9f588df8be051886cd85b228a72.tar.gz
betagarden-ba8c903d19b8c9f588df8be051886cd85b228a72.tar.bz2
betagarden-ba8c903d19b8c9f588df8be051886cd85b228a72.zip
media-sound/lmms: Bump EAPI
Package-Manager: Portage-2.3.6, Repoman-2.3.2 Signed-off-by: Justin Lecher <jlec@gentoo.org>
-rw-r--r--media-sound/lmms/lmms-9999.ebuild47
1 files changed, 26 insertions, 21 deletions
diff --git a/media-sound/lmms/lmms-9999.ebuild b/media-sound/lmms/lmms-9999.ebuild
index 48d0d5e..7f1967f 100644
--- a/media-sound/lmms/lmms-9999.ebuild
+++ b/media-sound/lmms/lmms-9999.ebuild
@@ -1,21 +1,21 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="2"
+EAPI=6
-inherit eutils cmake-utils git-2
+inherit eutils cmake-utils git-r3
-DESCRIPTION="Free alternative to popular programs such as Fruityloops, Cubase and Logic"
+DESCRIPTION="Free alternative for Fruityloops, Cubase and Logic"
HOMEPAGE="http://lmms.sourceforge.net/"
EGIT_REPO_URI="git://lmms.git.sf.net/gitroot/${PN}/${PN}"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS=""
-
IUSE="alsa debug fftw fluidsynth jack ogg portaudio pulseaudio sdl stk vst"
-RDEPEND="dev-qt/qtcore:4
+RDEPEND="
+ dev-qt/qtcore:4
dev-qt/qtgui:4[accessibility]
>=media-libs/libsndfile-1.0.11
>=media-libs/libsamplerate-0.1.7
@@ -23,13 +23,17 @@ RDEPEND="dev-qt/qtcore:4
alsa? ( media-libs/alsa-lib )
fftw? ( sci-libs/fftw:3.0 >=x11-libs/fltk-1.3.0_rc3:1 )
jack? ( >=media-sound/jack-audio-connection-kit-0.99.0 )
- ogg? ( media-libs/libvorbis
- media-libs/libogg )
+ ogg? (
+ media-libs/libvorbis
+ media-libs/libogg
+ )
fluidsynth? ( media-sound/fluidsynth )
portaudio? ( >=media-libs/portaudio-19_pre )
pulseaudio? ( media-sound/pulseaudio )
- sdl? ( media-libs/libsdl
- >=media-libs/sdl-sound-1.0.1 )
+ sdl? (
+ media-libs/libsdl
+ >=media-libs/sdl-sound-1.0.1
+ )
stk? ( media-libs/stk )
vst? ( app-emulation/wine )"
DEPEND="${RDEPEND}
@@ -45,22 +49,23 @@ DOCS="README AUTHORS TODO"
PATCHES=( "${FILESDIR}/${PN}-0.4.10-unembedfltk.patch" )
src_configure() {
- mycmakeargs="${mycmakeargs}
+ local mycmakeargs=(
-DWANT_SYSTEM_SR=TRUE
-DWANT_CAPS=FALSE
-DWANT_TAP=FALSE
-DWANT_SWH=FALSE
-DWANT_CMT=FALSE
-DWANT_CALF=TRUE
- $(cmake-utils_use_want alsa ALSA)
- $(cmake-utils_use_want fftw FFTW3F)
- $(cmake-utils_use_want jack JACK)
- $(cmake-utils_use_want ogg OGGVORBIS)
- $(cmake-utils_use_want portaudio PORTAUDIO)
- $(cmake-utils_use_want pulseaudio PULSEAUDIO)
- $(cmake-utils_use_want sdl SDL)
- $(cmake-utils_use_want stk STK)
- $(cmake-utils_use_want vst VST)
- $(cmake-utils_use_want fluidsynth SF2)"
+ -DWANT_ALSA=$(usex alsa)
+ -DWANT_FFTW3F=$(usex fftw)
+ -DWANT_JACK=$(usex jack)
+ -DWANT_OGGVORBIS=$(usex ogg)
+ -DWANT_PORTAUDIO=$(usex portaudio)
+ -DWANT_PULSEAUDIO=$(usex pulseaudio)
+ -DWANT_SDL=$(usex sdl)
+ -DWANT_STK=$(usex stk)
+ -DWANT_VST=$(usex vst)
+ -DWANT_SF2=$(usex fluidsynth)
+ )
cmake-utils_src_configure
}