summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/qsampler/Manifest1
-rw-r--r--media-sound/qsampler/qsampler-0.9.5.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/media-sound/qsampler/Manifest b/media-sound/qsampler/Manifest
index a96a534c37d0..0c114b005883 100644
--- a/media-sound/qsampler/Manifest
+++ b/media-sound/qsampler/Manifest
@@ -1 +1,2 @@
DIST qsampler-0.9.4.tar.gz 284055 BLAKE2B 83f0eb7102d6dbba994d2efeee59ebc46ce2b07d40b9dcfe97ed3059fefd449fa90167718ef65ef41f04709ef9c985c86e2b35a0572b47a948172cf5b1a5dc23 SHA512 0e43a335c503bd76d41bfe88967b199bcd8c34a44a65293c1460daa342ca1e35f236984af74e30404637e9f6c8428b4cc52fc27501af7d52e1c9e30f1a80d35e
+DIST qsampler-0.9.5.tar.gz 222375 BLAKE2B 0051fc3bee7b3c544336b68ae36acbab265eb5dfd7750d525402d5ffea6ed69481fcccd77ba54df37c4eb2305ad25a6a56181aa4fa12d6a3afa86e012be5cb84 SHA512 2f79e4928ccb2cecafe63fc0b35349ed2ad4b26fe4436bdea0446f1d54a61478dbd5df87445bdd77c5ffd6c5e93e478c90b1576f4c1105276abe34a99b6a30e3
diff --git a/media-sound/qsampler/qsampler-0.9.5.ebuild b/media-sound/qsampler/qsampler-0.9.5.ebuild
new file mode 100644
index 000000000000..f286d8199e11
--- /dev/null
+++ b/media-sound/qsampler/qsampler-0.9.5.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2022 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"
+
+DEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtx11extras:5
+ media-libs/alsa-lib
+ media-libs/liblscp:=
+ x11-libs/libX11
+ libgig? ( media-libs/libgig:= )
+"
+RDEPEND="${DEPEND}
+ media-sound/linuxsampler
+"
+BDEPEND="dev-qt/linguist-tools:5"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.9.1-cmake-no-git.patch"
+)
+
+DOCS=( ChangeLog README TRANSLATORS )
+
+src_prepare() {
+ cmake_src_prepare
+
+ sed -e "/^find_package.*QT/s/Qt6 //" -i CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCONFIG_DEBUG=$(usex debug 1 0)
+ -DCONFIG_LIBGIG=$(usex libgig 1 0)
+ )
+ cmake_src_configure
+}