summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-06-19 10:36:43 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-06-19 10:36:43 +0200
commit021e4ce33c07a75f24d95cbc08bd27088bde6b6d (patch)
tree3799cfce27c7961d992cb5e64b69620047673bb0 /media-sound
parentRevert "dev-lang/cxprolog: rewrite with java-pkg-simple" (diff)
downloadgentoo-021e4ce33c07a75f24d95cbc08bd27088bde6b6d.tar.gz
gentoo-021e4ce33c07a75f24d95cbc08bd27088bde6b6d.tar.bz2
gentoo-021e4ce33c07a75f24d95cbc08bd27088bde6b6d.zip
media-sound/qsampler: bump to 1.0.0
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/qsampler/Manifest1
-rw-r--r--media-sound/qsampler/qsampler-1.0.0.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/media-sound/qsampler/Manifest b/media-sound/qsampler/Manifest
index b67d872152c4..7c9711e9a05d 100644
--- a/media-sound/qsampler/Manifest
+++ b/media-sound/qsampler/Manifest
@@ -1,2 +1,3 @@
DIST qsampler-0.9.90.tar.gz 219790 BLAKE2B ccbb9b94eedd200f0f79d22adf8541c49f334249f7b5eeca59a200a70ba9fd633c288a78f486394df3c33983c2be0d313ba0c8ad5e4151b83b9d630c0e7a9d94 SHA512 4ff7663e5ea7cbea34127e242debdf0ac8da1a06e3d8de071fbf9543841819b94c9addb1e368d2bda692269f31503bc52cd47ac7590d96e31866611349ff3aae
DIST qsampler-0.9.91.tar.gz 219798 BLAKE2B c947e865a62f4e14f701635d434ec6624a81fbcd471929b7ea1d9d841460afa931914937b6f9d863d4bd0759bcfd32da40765bc1d51e8950103f03f8e63a0078 SHA512 8ef9eefa7624d5e4b45a462fdb1fceded51e350ea75aafd5d9939be1d10f0d582d05244f3f73f1aeb9743a630d7a6f06a05ebf602a1e2a54bf542626c386db06
+DIST qsampler-1.0.0.tar.gz 219812 BLAKE2B f5e66edb92d24208e4cce9efcc0b84166fdd23180e47c5b136d9749908565400d6b3d201eda7287e89153c98042d69b2e0e4742a1e7b39d9b104cc45d21e0d46 SHA512 3414da88a5924206017d1829928281c345bc036244c38ccce84de080ab2a8f992ab3dec7391f52334ed47fa122315f47562739e7a12c488d0e38e944fa79ef6a
diff --git a/media-sound/qsampler/qsampler-1.0.0.ebuild b/media-sound/qsampler/qsampler-1.0.0.ebuild
new file mode 100644
index 000000000000..f0a0b110d46b
--- /dev/null
+++ b/media-sound/qsampler/qsampler-1.0.0.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="https://downloads.sourceforge.net/${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
+}