diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2023-03-27 12:49:26 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-03-27 12:49:26 +0200 |
commit | 9de62385c4104214b5270a7482ab13754fb04692 (patch) | |
tree | abd2167e3b795ee585d2be13feff6f6935d60072 /media-sound | |
parent | media-libs/liblscp: bump to 0.9.9 (diff) | |
download | gentoo-9de62385c4104214b5270a7482ab13754fb04692.tar.gz gentoo-9de62385c4104214b5270a7482ab13754fb04692.tar.bz2 gentoo-9de62385c4104214b5270a7482ab13754fb04692.zip |
media-sound/qsampler: bump to 0.9.9
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/qsampler/Manifest | 1 | ||||
-rw-r--r-- | media-sound/qsampler/qsampler-0.9.9.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/media-sound/qsampler/Manifest b/media-sound/qsampler/Manifest index 5bdc0ee2d130..448955978b6b 100644 --- a/media-sound/qsampler/Manifest +++ b/media-sound/qsampler/Manifest @@ -1,3 +1,4 @@ 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 +DIST qsampler-0.9.9.tar.gz 220746 BLAKE2B 9c062b21655bc8fd484663a4c439b92c3bf554a1eb3648051f89bb97388740eea13c56b23a584c0c3f02ce150d2400a007dbaf1ad7a5752ab2366e9b2be3d6ab SHA512 0553a158cb257ce35fe784d69e4ac654cd3bd096287e21476ab7eca6369c2f415a8f317d2ae155cb6a475e68dfde958b93348f1d24e33f13e18bd408f3901db9 diff --git a/media-sound/qsampler/qsampler-0.9.9.ebuild b/media-sound/qsampler/qsampler-0.9.9.ebuild new file mode 100644 index 000000000000..38a795222015 --- /dev/null +++ b/media-sound/qsampler/qsampler-0.9.9.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 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 +} |