diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2021-05-12 07:50:19 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-05-12 07:50:19 +0200 |
commit | be67d7d78db3a8275482b7e168eefd7e1899994f (patch) | |
tree | 4b5ba492a5c9b8be1ac0cc584cc82a8c71a7f487 /media-sound/qsampler | |
parent | media-sound/qsynth: bump to 0.9.3 (diff) | |
download | gentoo-be67d7d78db3a8275482b7e168eefd7e1899994f.tar.gz gentoo-be67d7d78db3a8275482b7e168eefd7e1899994f.tar.bz2 gentoo-be67d7d78db3a8275482b7e168eefd7e1899994f.zip |
media-sound/qsampler: bump to 0.9.3
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.3.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/media-sound/qsampler/Manifest b/media-sound/qsampler/Manifest index 8eb66a984c23..e7a597152ec0 100644 --- a/media-sound/qsampler/Manifest +++ b/media-sound/qsampler/Manifest @@ -1,2 +1,3 @@ DIST qsampler-0.9.1.tar.gz 283857 BLAKE2B 5d30c64edd4c1792d9e87453af45363ebdac6707ef6f804dc867b4eb23fdd657bbf554cd706ddcaa0c6bbe35deeaa1c8d1ff0f1e5af3cad005ebed94f43fed7d SHA512 5afda874b01ed576522898e04f9d264fccd589da292659eb9947786d3642c80d41629fd5d2268caa53f3ae0a96f0a1c84600a3651e8758d39d5c0220a9bba57d DIST qsampler-0.9.2.tar.gz 283494 BLAKE2B fcc5a39e5f8069ae79e6e7f1df27c49f5c27573dbd8f937fe699e1cfd7149600eaa1e697cb86fa446a795d949267c92340b4f40868c9847eb493409126a94cbf SHA512 dcc06fbb66f9f7caf04359ef2f75510666214452251a005605a5235709f2846b3d58ee8cbb82f18f676d079d1484b91b7c3efc397fdc99e84ffaa1c95ccafb4c +DIST qsampler-0.9.3.tar.gz 283882 BLAKE2B 1171de42c7f27481a5e2f95c1d868b68594288d3a640fe118df9a7f1588d0fea73e06bad4d3acd08a99ec4ccceaee7d171a047a96e811be09ebb3c48896e064f SHA512 0abfcb35aafb773d1b0f2c31406ea7b04581a4a47b01074c70d1b4833a3f06e8223cfa57b1e7f0233bc347636f41732db37150e5bfde76ccaad4eb959428a7ba diff --git a/media-sound/qsampler/qsampler-0.9.3.ebuild b/media-sound/qsampler/qsampler-0.9.3.ebuild new file mode 100644 index 000000000000..d948252e61b9 --- /dev/null +++ b/media-sound/qsampler/qsampler-0.9.3.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 +} |