summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2022-12-29 09:39:31 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2022-12-29 09:39:31 +0100
commitb8b5c38a76ee86e51a5ff1aa081bd9e7dda8bb9e (patch)
tree946c2b8b97d69aa9967258e2065b8d7f0bbf2c48 /media-sound
parentmedia-libs/liblscp: bump to 0.9.8 (diff)
downloadgentoo-b8b5c38a76ee86e51a5ff1aa081bd9e7dda8bb9e.tar.gz
gentoo-b8b5c38a76ee86e51a5ff1aa081bd9e7dda8bb9e.tar.bz2
gentoo-b8b5c38a76ee86e51a5ff1aa081bd9e7dda8bb9e.zip
media-sound/qsampler: bump to 0.9.8
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-0.9.8.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/media-sound/qsampler/Manifest b/media-sound/qsampler/Manifest
index bd3f007a91d3..5bdc0ee2d130 100644
--- a/media-sound/qsampler/Manifest
+++ b/media-sound/qsampler/Manifest
@@ -1,2 +1,3 @@
DIST qsampler-0.9.6.tar.gz 222973 BLAKE2B 944616f522df1e4d5d8305f474f1aaf0f5c39d41860b26f057122463a866ccf95c283ec6a34ef204580627b1e9b6aaec4dd6bf65364fab67ceee91b9d08879dd SHA512 a2de808d3b4d41970b11eb41c972b09568fc478abb0e039725bb8d341b988986c239a82792ba5051d552264dd44d68d3d58f00e21412a154fbb476421262381d
DIST qsampler-0.9.7.tar.gz 220674 BLAKE2B 743cd6a2ea2ea9a76b8aa840bc67d15dd3be2a89a783c7de896bf618a14c06f51fa0d753337d73e21b9a350cb96936f2288d8893fc441f8e5117ea322fbb2785 SHA512 3474ef1924ca4090d153ccf2b50de840c8f0cd22c880e2ffb129c9f1f1516238cfe4e3e35b5dfa839ea21d45390814723f530b8618fa0ca4a4cac1c15bcf3083
+DIST qsampler-0.9.8.tar.gz 220782 BLAKE2B bd6431198e9143ff4123f0ed06e1e880891a7168412fe7fd0b09d5ef8be8a45027560fdb109d395a1fd66a1f6fdbf1c8b3dc673ec2a3d462f157048b0983142a SHA512 4731eb86663261f09503a3f7c930b7def86f35ac4693b5a4514c16440957c693848522e87f41ba17f415ef6575b60f865f4d44c204020869ee37b682339e5fcf
diff --git a/media-sound/qsampler/qsampler-0.9.8.ebuild b/media-sound/qsampler/qsampler-0.9.8.ebuild
new file mode 100644
index 000000000000..f286d8199e11
--- /dev/null
+++ b/media-sound/qsampler/qsampler-0.9.8.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
+}