diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2021-04-27 20:04:56 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-04-27 20:05:08 +0200 |
commit | 7ffa7081d98e3507b2a0153b6a3a493d10f3f110 (patch) | |
tree | 23b1242b0b96eed9e190604ebaa5e3431b3757d8 /media-sound/qsampler | |
parent | dev-libs/qtkeychain: Stabilize 0.11.1 x86, #782379 (diff) | |
download | gentoo-7ffa7081d98e3507b2a0153b6a3a493d10f3f110.tar.gz gentoo-7ffa7081d98e3507b2a0153b6a3a493d10f3f110.tar.bz2 gentoo-7ffa7081d98e3507b2a0153b6a3a493d10f3f110.zip |
media-sound/qsampler: bump to 0.9.2
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/qsampler')
-rw-r--r-- | media-sound/qsampler/Manifest | 1 | ||||
-rw-r--r-- | media-sound/qsampler/qsampler-0.9.2.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/media-sound/qsampler/Manifest b/media-sound/qsampler/Manifest index 0000d28b32bc..8eb66a984c23 100644 --- a/media-sound/qsampler/Manifest +++ b/media-sound/qsampler/Manifest @@ -1 +1,2 @@ DIST qsampler-0.9.1.tar.gz 283857 BLAKE2B 5d30c64edd4c1792d9e87453af45363ebdac6707ef6f804dc867b4eb23fdd657bbf554cd706ddcaa0c6bbe35deeaa1c8d1ff0f1e5af3cad005ebed94f43fed7d SHA512 5afda874b01ed576522898e04f9d264fccd589da292659eb9947786d3642c80d41629fd5d2268caa53f3ae0a96f0a1c84600a3651e8758d39d5c0220a9bba57d +DIST qsampler-0.9.2.tar.gz 283494 BLAKE2B fcc5a39e5f8069ae79e6e7f1df27c49f5c27573dbd8f937fe699e1cfd7149600eaa1e697cb86fa446a795d949267c92340b4f40868c9847eb493409126a94cbf SHA512 dcc06fbb66f9f7caf04359ef2f75510666214452251a005605a5235709f2846b3d58ee8cbb82f18f676d079d1484b91b7c3efc397fdc99e84ffaa1c95ccafb4c diff --git a/media-sound/qsampler/qsampler-0.9.2.ebuild b/media-sound/qsampler/qsampler-0.9.2.ebuild new file mode 100644 index 000000000000..d948252e61b9 --- /dev/null +++ b/media-sound/qsampler/qsampler-0.9.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake qmake-utils 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=( AUTHORS ChangeLog README TODO 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 +} |