public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/qtractor/
Date: Thu, 18 Aug 2022 07:06:26 +0000 (UTC)	[thread overview]
Message-ID: <1660806377.eff4c9b4ef74d3ae03f5d8a03451812944e0b653.juippis@gentoo> (raw)

commit:     eff4c9b4ef74d3ae03f5d8a03451812944e0b653
Author:     Nikos Chantziaras <realnc <AT> gmail <DOT> com>
AuthorDate: Wed Aug  3 06:44:28 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Aug 18 07:06:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eff4c9b4

media-sound/qtractor: enable VST2 support

A lot of MIDI instruments now come in the form of Linux VST plugins, so
not having VST support enabled seriously limits Qtractor's use cases
(since the primary use of Qtractor is as a MIDI sequencer) and forces
users to manually build from source.

VST2 support does not actually require any external deps. When the VST2
SDK is not found, it just uses the VST API declared in vestige.h which
comes with qtractor. So just unconditionally enable it, which is what
upstream does when cmake can't find the SDK.

VST3 support does require the VST3 SDK, which is not in portage, so keep
that disabled. Fortunately, VST3 is not that popular, at least for Linux
VST plugins.

Signed-off-by: Nikos Chantziaras <realnc <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26717
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-sound/qtractor/qtractor-0.9.27-r1.ebuild | 103 +++++++++++++++++++++++++
 1 file changed, 103 insertions(+)

diff --git a/media-sound/qtractor/qtractor-0.9.27-r1.ebuild b/media-sound/qtractor/qtractor-0.9.27-r1.ebuild
new file mode 100644
index 000000000000..81b259e6c8fa
--- /dev/null
+++ b/media-sound/qtractor/qtractor-0.9.27-r1.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg
+
+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="aubio cpu_flags_x86_sse debug dssi ladspa libsamplerate mad osc rubberband vorbis zlib"
+REQUIRED_USE="dssi? ( ladspa )"
+
+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/libsndfile
+	media-libs/lilv
+	media-libs/lv2
+	media-libs/suil
+	virtual/jack
+	aubio? ( media-libs/aubio )
+	dssi? ( media-libs/dssi )
+	ladspa? ( media-libs/ladspa-sdk )
+	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_prepare() {
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DCONFIG_DSSI=$(usex dssi 1 0)
+		-DCONFIG_GRADIENT=1
+		-DCONFIG_JACK_LATENCY=1
+		-DCONFIG_JACK_METADATA=1
+		-DCONFIG_JACK_SESSION=1
+		-DCONFIG_LADSPA=$(usex ladspa 1 0)
+		-DCONFIG_LIBAUBIO=$(usex aubio 1 0)
+		-DCONFIG_LIBLILV=1
+		-DCONFIG_LIBLO=$(usex osc 1 0)
+		-DCONFIG_LIBMAD=$(usex mad 1 0)
+		-DCONFIG_LIBRUBBERBAND=$(usex rubberband 1 0)
+		-DCONFIG_LIBSAMPLERATE=$(usex libsamplerate 1 0)
+		-DCONFIG_LIBVORBIS=$(usex vorbis 1 0)
+		-DCONFIG_LIBZ=$(usex zlib 1 0)
+		-DCONFIG_LV2=1
+		-DCONFIG_LV2_UI_GTK2=0
+		-DCONFIG_NSM=0
+		-DCONFIG_SSE=$(usex cpu_flags_x86_sse 1 0)
+		-DCONFIG_STACKTRACE=$(usex debug 1 0)
+		-DCONFIG_VESTIGE=1
+		-DCONFIG_VST=1
+		-DCONFIG_VST3=0
+		-DCONFIG_XUNIQUE=0
+	)
+	# Following options are left to the default
+	# CONFIG_LV2_ATOM
+	# CONFIG_LV2_BUF_SIZE
+	# CONFIG_LV2_CVPORT
+	# CONFIG_LV2_EVENT
+	# CONFIG_LV2_EXTERNAL_UI
+	# CONFIG_LV2_MIDNAM
+	# CONFIG_LV2_OPTIONS
+	# CONFIG_LV2_PARAMETERS
+	# CONFIG_LV2_PATCH
+	# CONFIG_LV2_PORT_EVENT
+	# CONFIG_LV2_PRESETS
+	# CONFIG_LV2_PROGRAMS
+	# CONFIG_LV2_STATE
+	# CONFIG_LV2_STATE_FILES
+	# CONFIG_LV2_STATE_MAKE_PATH
+	# CONFIG_LV2_TIME
+	# CONFIG_LV2_TIME_POSITION
+	# CONFIG_LV2_UI
+	# CONFIG_LV2_UI_IDLE
+	# CONFIG_LV2_UI_REQ_VALUE
+	# CONFIG_LV2_UI_SHOW
+	# CONFIG_LV2_UI_TOUCH
+	# CONFIG_LV2_WORKER
+	# CONFIG_LV2_UI_X11
+	cmake_src_configure
+}


             reply	other threads:[~2022-08-18  7:06 UTC|newest]

Thread overview: 178+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-18  7:06 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-01  8:55 [gentoo-commits] repo/gentoo:master commit in: media-sound/qtractor/ Andreas Sturmlechner
2025-01-01  8:55 Andreas Sturmlechner
2024-12-31  9:08 Andreas Sturmlechner
2024-12-30 17:23 Miroslav Šulc
2024-12-16 14:37 Miroslav Šulc
2024-12-07 14:02 Miroslav Šulc
2024-12-06 10:51 Sam James
2024-12-06 10:13 Sam James
2024-11-04 14:42 Miroslav Šulc
2024-11-04 14:28 Miroslav Šulc
2024-11-04  9:37 Sam James
2024-11-04  9:29 Sam James
2024-11-02  9:25 Miroslav Šulc
2024-10-04  9:23 Miroslav Šulc
2024-10-04  9:23 Miroslav Šulc
2024-09-29 10:59 Arthur Zamarin
2024-09-29 10:59 Arthur Zamarin
2024-09-11  8:10 Miroslav Šulc
2024-09-05 12:27 Sam James
2024-09-05 12:27 Sam James
2024-08-29 11:28 Miroslav Šulc
2024-08-06  9:21 Miroslav Šulc
2024-08-02 13:34 Miroslav Šulc
2024-07-23 18:47 Miroslav Šulc
2024-07-23  3:40 Eli Schwartz
2024-07-21 13:22 Sam James
2024-07-21 13:22 Sam James
2024-06-21  8:01 Miroslav Šulc
2024-06-21  8:00 Miroslav Šulc
2024-06-04 18:23 Arthur Zamarin
2024-06-04  8:56 Joonas Niilola
2024-06-02  9:10 Miroslav Šulc
2024-05-31 14:05 Arthur Zamarin
2024-05-31 14:03 Arthur Zamarin
2024-05-04  7:54 Miroslav Šulc
2024-04-12  9:13 Miroslav Šulc
2024-04-12  9:13 Miroslav Šulc
2024-04-11 16:30 Sam James
2024-02-28 14:00 Sam James
2024-02-28 14:00 Sam James
2024-01-29  8:36 Miroslav Šulc
2024-01-23 10:01 Miroslav Šulc
2024-01-22 13:12 Sam James
2024-01-22 11:51 Sam James
2023-12-23  9:27 Miroslav Šulc
2023-12-23  9:27 Miroslav Šulc
2023-12-17 13:17 Miroslav Šulc
2023-12-15 10:10 Michał Górny
2023-12-14  4:13 Sam James
2023-12-06 12:43 Miroslav Šulc
2023-11-11 12:12 Miroslav Šulc
2023-10-16  8:14 Miroslav Šulc
2023-10-15 12:38 Sam James
2023-10-15  9:14 Sam James
2023-09-15  7:29 Miroslav Šulc
2023-07-12  7:23 Miroslav Šulc
2023-07-12  1:14 Sam James
2023-07-12  1:14 Sam James
2023-06-10 13:50 Sam James
2023-06-08  5:49 Miroslav Šulc
2023-05-03  6:14 Miroslav Šulc
2023-05-02 15:21 Arthur Zamarin
2023-05-01  7:23 Sam James
2023-03-31  6:48 Miroslav Šulc
2023-03-27 10:45 Miroslav Šulc
2023-03-25  5:41 Miroslav Šulc
2023-03-24  6:08 Sam James
2023-03-24  6:08 Sam James
2023-03-24  5:55 Miroslav Šulc
2023-01-26  8:24 Miroslav Šulc
2022-12-30  9:31 Miroslav Šulc
2022-11-29  9:08 Miroslav Šulc
2022-11-28  7:05 Joonas Niilola
2022-11-28  7:00 Joonas Niilola
2022-10-27 14:05 Alexis Ballier
2022-10-09  6:13 Miroslav Šulc
2022-10-07  5:24 Joonas Niilola
2022-10-07  5:24 Joonas Niilola
2022-09-19  3:58 Miroslav Šulc
2022-09-18 16:36 Sam James
2022-09-18 16:36 Sam James
2022-09-06  4:22 Miroslav Šulc
2022-08-18  9:32 Joonas Niilola
2022-08-18  7:06 Joonas Niilola
2022-07-08 19:39 Miroslav Šulc
2022-05-11 12:30 Miroslav Šulc
2022-05-11  9:33 Jakov Smolić
2022-05-11  9:33 Jakov Smolić
2022-04-10  8:34 Miroslav Šulc
2022-02-11 10:47 Miroslav Šulc
2022-02-11 10:40 Jakov Smolić
2022-02-11 10:40 Jakov Smolić
2022-01-11  8:50 Miroslav Šulc
2021-11-20  8:28 Miroslav Šulc
2021-11-20  7:28 Agostino Sarubbo
2021-11-18 14:00 Jakov Smolić
2021-10-18  7:27 Miroslav Šulc
2021-08-12  5:31 Miroslav Šulc
2021-08-11 19:13 Sam James
2021-08-11 19:13 Sam James
2021-07-11  5:54 Miroslav Šulc
2021-06-15 13:28 Miroslav Šulc
2021-06-15 13:25 Sam James
2021-06-15 13:25 Sam James
2021-05-15  9:20 Miroslav Šulc
2021-04-26 10:34 Sam James
2021-04-21 18:53 Sam James
2021-04-18  9:19 Miroslav Šulc
2021-03-20  8:53 Miroslav Šulc
2021-03-15 16:18 Agostino Sarubbo
2021-03-15  2:28 Sam James
2021-02-03  8:01 Miroslav Šulc
2021-02-02 23:46 Sam James
2021-01-31 21:51 Sam James
2020-12-28  7:01 Miroslav Šulc
2020-12-16 11:22 Miroslav Šulc
2020-12-16 11:12 Sam James
2020-12-02 23:31 Thomas Deutschmann
2020-11-12 21:03 Thomas Deutschmann
2020-11-04  0:58 Sam James
2020-11-02  9:56 Miroslav Šulc
2020-09-18  8:34 Miroslav Šulc
2020-08-11 15:29 Miroslav Šulc
2020-08-11 14:23 Agostino Sarubbo
2020-08-10 13:09 Agostino Sarubbo
2020-08-08  7:20 Miroslav Šulc
2020-07-08  7:34 Miroslav Šulc
2020-05-11 11:38 Agostino Sarubbo
2020-05-09  7:40 Agostino Sarubbo
2020-04-06 15:12 Miroslav Šulc
2020-02-18  8:49 Miroslav Šulc
2020-02-17 12:21 Agostino Sarubbo
2020-02-17 12:13 Agostino Sarubbo
2020-01-17 11:03 Miroslav Šulc
2020-01-17 10:45 Agostino Sarubbo
2020-01-17  9:29 Agostino Sarubbo
2020-01-16 23:08 Miroslav Šulc
2019-12-15 18:03 Agostino Sarubbo
2019-12-15 13:43 Agostino Sarubbo
2019-12-14 11:07 Miroslav Šulc
2019-09-07 12:02 Joonas Niilola
2019-09-07 12:02 Joonas Niilola
2019-02-19 18:20 Andreas Sturmlechner
2019-02-19 18:20 Andreas Sturmlechner
2019-02-19 18:20 Andreas Sturmlechner
2019-02-10 23:46 Andreas Sturmlechner
2019-02-10 23:46 Andreas Sturmlechner
2018-09-12  9:21 Andreas Sturmlechner
2018-08-25 12:30 Andreas Sturmlechner
2018-07-22 11:21 Andreas Sturmlechner
2017-12-21 20:29 Patrice Clement
2017-12-21 20:29 Patrice Clement
2017-10-14 12:23 Andreas Sturmlechner
2017-10-14 12:23 Andreas Sturmlechner
2017-09-25 11:00 Andreas Sturmlechner
2017-09-25 11:00 Andreas Sturmlechner
2017-09-24 14:29 Michael Palimaka
2017-07-06 14:30 Alexis Ballier
2017-06-18 16:42 Alexis Ballier
2017-05-11  6:36 Alexis Ballier
2017-02-20  9:05 Alexis Ballier
2017-02-17 22:44 Alexis Ballier
2017-02-08 16:58 Alexis Ballier
2016-11-30  9:25 Alexis Ballier
2016-09-23 10:46 Alexis Ballier
2016-06-28 11:57 Alexis Ballier
2016-06-28 11:57 Alexis Ballier
2016-05-12 13:44 Alexis Ballier
2016-04-07 13:03 Alexis Ballier
2016-03-24 11:28 Alexis Ballier
2016-01-30 15:56 Alexis Ballier
2016-01-07  7:49 Alexis Ballier
2015-12-15  9:30 Alexis Ballier
2015-10-25 13:09 Michał Górny
2015-10-24  9:04 Michał Górny
2015-10-13  8:51 Alexis Ballier
2015-08-28 15:36 Ben de Groot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1660806377.eff4c9b4ef74d3ae03f5d8a03451812944e0b653.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox