From 4ab6db5717ef23f29320d4c6fb9ebdb8dec1f193 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 21 Dec 2017 20:47:17 +0000 Subject: gentoo resync : 21.12.2017 --- media-plugins/calf/calf-9999.ebuild | 40 ++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 16 deletions(-) (limited to 'media-plugins/calf/calf-9999.ebuild') diff --git a/media-plugins/calf/calf-9999.ebuild b/media-plugins/calf/calf-9999.ebuild index 333c1172872f..2187ab626fd5 100644 --- a/media-plugins/calf/calf-9999.ebuild +++ b/media-plugins/calf/calf-9999.ebuild @@ -1,9 +1,8 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -AUTOTOOLS_AUTORECONF=yes -inherit autotools-utils +EAPI=6 +inherit autotools DESCRIPTION="A set of open source instruments and effects for digital audio workstations" HOMEPAGE="http://calf-studio-gear.org/" @@ -18,29 +17,38 @@ fi LICENSE="LGPL-2.1" SLOT="0" -IUSE="lash lv2 static-libs experimental" +IUSE="cpu_flags_x86_sse gtk jack lash lv2 static-libs experimental" RDEPEND="dev-libs/atk dev-libs/expat dev-libs/glib:2 - gnome-base/libglade:2.0 media-sound/fluidsynth - virtual/jack - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/gtk+:2 - x11-libs/pango + jack? ( virtual/jack ) + gtk? ( + x11-libs/cairo + x11-libs/gtk+:2 + x11-libs/gdk-pixbuf + x11-libs/pango + ) lash? ( media-sound/lash ) lv2? ( media-libs/lv2 )" DEPEND="${RDEPEND} virtual/pkgconfig" +src_prepare() { + default + eautoreconf +} + src_configure() { - myeconfargs=( - --with-lv2-dir=/usr/$(get_libdir)/lv2 - $(use_with lash) - $(use_with lv2) + # automagic... + #$(use_with gtk gui) + #$(use_with jack) + econf \ + $(use_with lash) \ + $(use_with lv2 lv2) \ + $(usex lv2 "--with-lv2-dir=/usr/$(get_libdir)/lv2" "") \ + $(use_enable static-libs static) \ + $(use_enable cpu_flags_x86_sse sse) \ $(use_enable experimental) - ) - autotools-utils_src_configure } -- cgit v1.2.3