summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/qtractor/qtractor-0.9.4.ebuild')
-rw-r--r--media-sound/qtractor/qtractor-0.9.4.ebuild61
1 files changed, 61 insertions, 0 deletions
diff --git a/media-sound/qtractor/qtractor-0.9.4.ebuild b/media-sound/qtractor/qtractor-0.9.4.ebuild
new file mode 100644
index 000000000000..d70675518a76
--- /dev/null
+++ b/media-sound/qtractor/qtractor-0.9.4.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2019 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic qmake-utils
+
+DESCRIPTION="Audio/MIDI multi-track sequencer written in C++ with the Qt framework"
+HOMEPAGE="https://qtractor.sourceforge.io"
+SRC_URI="mirror://sourceforge/qtractor/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="cpu_flags_x86_sse debug dssi libsamplerate mad osc rubberband vorbis zlib"
+
+BDEPEND="
+ dev-qt/linguist-tools:5
+ virtual/pkgconfig
+"
+DEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ dev-qt/qtx11extras:5
+ media-libs/alsa-lib
+ media-libs/ladspa-sdk
+ media-libs/libsndfile
+ >=media-libs/lilv-0.16.0
+ media-libs/lv2
+ media-libs/suil
+ virtual/jack
+ dssi? ( media-libs/dssi )
+ libsamplerate? ( media-libs/libsamplerate )
+ mad? ( media-libs/libmad )
+ osc? ( media-libs/liblo )
+ rubberband? ( media-libs/rubberband )
+ vorbis? ( media-libs/libvorbis )
+ zlib? ( sys-libs/zlib )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ append-cxxflags -std=c++11
+ econf \
+ --enable-ladspa \
+ --enable-lilv \
+ $(use_enable debug) \
+ $(use_enable dssi) \
+ $(use_enable libsamplerate) \
+ $(use_enable mad libmad) \
+ $(use_enable osc liblo) \
+ $(use_enable rubberband librubberband) \
+ $(use_enable cpu_flags_x86_sse sse) \
+ $(use_enable vorbis libvorbis) \
+ $(use_enable zlib libz)
+
+ eqmake5 ${PN}.pro -o ${PN}.mak
+}