summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/qsampler')
-rw-r--r--media-sound/qsampler/Manifest1
-rw-r--r--media-sound/qsampler/qsampler-0.9.90.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/media-sound/qsampler/Manifest b/media-sound/qsampler/Manifest
index ca3572173157..2fb8206d494f 100644
--- a/media-sound/qsampler/Manifest
+++ b/media-sound/qsampler/Manifest
@@ -1 +1,2 @@
DIST qsampler-0.9.12.tar.gz 219168 BLAKE2B c68fad51b37f4b471e1ffdcb4168487ef0069877ed2c13fd06f320c1a353c146ab493d94522d7ed86a8541646429550a4d02a89d5b37ae44847687acb5400fd1 SHA512 089a177e2d6350880c96e17f7833ef80b94add3535b9cf0418453080c294c51a98b909a4072054c5f0b8ecdf014914966ac7d2e90add984225ec3c9a35a0ca0c
+DIST qsampler-0.9.90.tar.gz 219790 BLAKE2B ccbb9b94eedd200f0f79d22adf8541c49f334249f7b5eeca59a200a70ba9fd633c288a78f486394df3c33983c2be0d313ba0c8ad5e4151b83b9d630c0e7a9d94 SHA512 4ff7663e5ea7cbea34127e242debdf0ac8da1a06e3d8de071fbf9543841819b94c9addb1e368d2bda692269f31503bc52cd47ac7590d96e31866611349ff3aae
diff --git a/media-sound/qsampler/qsampler-0.9.90.ebuild b/media-sound/qsampler/qsampler-0.9.90.ebuild
new file mode 100644
index 000000000000..7cec1f31e3fe
--- /dev/null
+++ b/media-sound/qsampler/qsampler-0.9.90.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://git.code.sf.net/p/qsampler/code"
+ inherit git-r3
+else
+ SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="Graphical frontend to the LinuxSampler engine"
+HOMEPAGE="https://qsampler.sourceforge.io/ https://www.linuxsampler.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="debug +libgig qt6"
+
+DEPEND="
+ media-libs/alsa-lib
+ media-libs/liblscp:=
+ x11-libs/libX11
+ libgig? ( media-libs/libgig:= )
+ qt6? (
+ dev-qt/qtbase:6[gui,network,widgets]
+ dev-qt/qtsvg:6
+ )
+ !qt6? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ )
+"
+RDEPEND="${DEPEND}
+ media-sound/linuxsampler
+"
+BDEPEND="
+ qt6? ( dev-qt/qttools:6[linguist] )
+ !qt6? ( dev-qt/linguist-tools:5 )
+"
+
+DOCS=( ChangeLog README TRANSLATORS )
+
+src_configure() {
+ local mycmakeargs=(
+ -DCONFIG_DEBUG=$(usex debug 1 0)
+ -DCONFIG_LIBGIG=$(usex libgig 1 0)
+ -DCONFIG_QT6=$(usex qt6 1 0)
+ )
+ cmake_src_configure
+}