commit: f0453576e0f2375da382448ba3fe8faadcce78cc Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Mon Nov 14 15:05:46 2022 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Mon Nov 14 15:24:34 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0453576
media-sound/qsampler: bump to 0.9.7 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> media-sound/qsampler/Manifest | 1 + media-sound/qsampler/qsampler-0.9.7.ebuild | 57 ++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/media-sound/qsampler/Manifest b/media-sound/qsampler/Manifest index 7056a2ed514b..bd3f007a91d3 100644 --- a/media-sound/qsampler/Manifest +++ b/media-sound/qsampler/Manifest @@ -1 +1,2 @@ DIST qsampler-0.9.6.tar.gz 222973 BLAKE2B 944616f522df1e4d5d8305f474f1aaf0f5c39d41860b26f057122463a866ccf95c283ec6a34ef204580627b1e9b6aaec4dd6bf65364fab67ceee91b9d08879dd SHA512 a2de808d3b4d41970b11eb41c972b09568fc478abb0e039725bb8d341b988986c239a82792ba5051d552264dd44d68d3d58f00e21412a154fbb476421262381d +DIST qsampler-0.9.7.tar.gz 220674 BLAKE2B 743cd6a2ea2ea9a76b8aa840bc67d15dd3be2a89a783c7de896bf618a14c06f51fa0d753337d73e21b9a350cb96936f2288d8893fc441f8e5117ea322fbb2785 SHA512 3474ef1924ca4090d153ccf2b50de840c8f0cd22c880e2ffb129c9f1f1516238cfe4e3e35b5dfa839ea21d45390814723f530b8618fa0ca4a4cac1c15bcf3083 diff --git a/media-sound/qsampler/qsampler-0.9.7.ebuild b/media-sound/qsampler/qsampler-0.9.7.ebuild new file mode 100644 index 000000000000..f286d8199e11 --- /dev/null +++ b/media-sound/qsampler/qsampler-0.9.7.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 +}