[proaudio] new ebuild: carla plugin host (reloaded)

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Removed useless stuff from previous posted. Use flags and their dependencies for bridges and extra plugins are used only if plugin flag enabled.

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

PYTHON_COMPAT=( python{3_2,3_3} )

inherit git-2 python-r1

DESCRIPTION="Audio plugin host and sampler"
HOMEPAGE="https://github.com/falkTX/Carla";
EGIT_REPO_URI="git://github.com/falkTX/Carla.git"
EGIT_BRANCH="stable"

LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS=""
IUSE="+plugin samplers rtaudio vestige +rdflib control lv2_gtk2 lv2_gtk3 lv2_qt5 extra_plugins"

DEPEND="
	dev-python/PyQt4[${PYTHON_USEDEP}]
	media-libs/liblo
	samplers? (
		media-sound/linuxsampler
		media-sound/fluidsynth )
	rdflib? ( dev-python/rdflib[${PYTHON_USEDEP}] )
	control? ( media-libs/pyliblo[${PYTHON_USEDEP}] )
	plugin? (
		lv2_gtk2? ( x11-libs/gtk+:2 )
		lv2_gtk3? ( x11-libs/gtk+:3 )
		lv2_qt5? ( dev-qt/qtgui:5 )
		extra_plugins? (
			virtual/opengl
			x11-libs/ntk
			media-libs/libsmf
			media-libs/libsndfile
			|| (
				media-video/ffmpeg
				media-video/libav )
			>=sci-libs/fftw-3
			dev-libs/mini-xml
			sys-libs/zlib
		)
	)"
RDEPEND="${DEPEND}"

REQUIRED_USE="${PYTHON_REQUIRED_USE}"

src_compile () {
	make || die
}

src_install () {
	make install \
	PREFIX="/usr" DESTDIR="$D" || die
}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/