From 5067796b074450a155155c782ef4885c885cfb2b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 10 Sep 2023 10:35:29 +0100 Subject: gentoo auto-resync : 10:09:2023 - 10:35:29 --- media-sound/Manifest.gz | Bin 57442 -> 57429 bytes media-sound/hydrogen/Manifest | 4 +- media-sound/hydrogen/hydrogen-1.2.2.ebuild | 98 +++++++++++++++++++++++++++++ media-sound/hydrogen/hydrogen-9999.ebuild | 2 +- media-sound/qsynth/Manifest | 2 + media-sound/qsynth/qsynth-0.9.12.ebuild | 72 +++++++++++++++++++++ 6 files changed, 176 insertions(+), 2 deletions(-) create mode 100644 media-sound/hydrogen/hydrogen-1.2.2.ebuild create mode 100644 media-sound/qsynth/qsynth-0.9.12.ebuild (limited to 'media-sound') diff --git a/media-sound/Manifest.gz b/media-sound/Manifest.gz index 070e2237b832..573ff8e22247 100644 Binary files a/media-sound/Manifest.gz and b/media-sound/Manifest.gz differ diff --git a/media-sound/hydrogen/Manifest b/media-sound/hydrogen/Manifest index 34c55f0987c3..95ec26d44672 100644 --- a/media-sound/hydrogen/Manifest +++ b/media-sound/hydrogen/Manifest @@ -1,6 +1,8 @@ AUX hydrogen-1.1.0-gnuinstalldirs.patch 1879 BLAKE2B bf1563cbedc0b3a6d2aefcfe6bbf1bfd7f44ea26456d18889d684763f9af8170aeacc5887182ea845093c5187e92da51298dcb44bd99d6c2f0c5a47adbe5ba7d SHA512 20cc8970301192c967866f27b344591a58747a3a501eaa1b5d92dfb82af48e98f5c9e4c7908084f2845d258f323cec0ec42b578797b1bc3447c9b1918cbbdaea AUX hydrogen-1.2.1-gnuinstalldirs.patch 1893 BLAKE2B 5c73531087d253791c0168db9454e9a3da31afa3989eb08291053939b5fe4ff438364a632f42ce965434a64a09cf18a67d34538892348ff554d4e49b75493e87 SHA512 b957b08ad9f92a0238ec55732024c43dfcba66b294fea5f0ac37c4c714ed88499726b0fcc4e4c7995d22c42f587a5ece3fb13886a132a3dbc11e66d0e84e83da DIST hydrogen-1.2.1.tar.gz 12920203 BLAKE2B 3ddc92fdab9a07c26aa1d00239a23dd7aeb2014cf5e71023ef3ccfee880fb9a568cad6de94c9cdaf2037bab5dbe500cfbaaac14c02a608f002866927cb75dc61 SHA512 aa6faadaf43da1ab6f514223bf7c8b526daac8dcd17916a0fdea098d6f80a33170ca3aaa210e2aedea7546221fb2aacaabf365d1457b5a25fb81f51780405ff2 +DIST hydrogen-1.2.2.tar.gz 12948890 BLAKE2B 30d8624078a29a0514aee01d56865e5923f755de02acfddde45a26d6ffbd68cf3c8c774827fe4538b7d03faefaabb9ddcfd9a28bb404c535ad7f6734eb5b1aff SHA512 bd6b102b14d30a8e2f4ea7e405199bb34f9b7691b57c3f9f3096c9e30c25c158e3bfd40bcfdd2d449bc153b7d3d9717df401f1e7a086e33dc953247870f1dee0 EBUILD hydrogen-1.2.1-r1.ebuild 2073 BLAKE2B e1deb5e766084916aee09650e9173ce703fb1bc879fd10226d614c66e0bddf96bf9ba4258bf45ce96094115c6c471de5f3452648bdb5c378292d0e2b56d9963f SHA512 73b2002b0ccf1fd5a940bbe752f6259f0b55a4af6c0a19ba0242d76a196aaf948bb5fd96bf41bc8669e46bd4b7d71e9b56abd0a19de172015b67e9dcdade1b3f -EBUILD hydrogen-9999.ebuild 2086 BLAKE2B db2468cb373051b32917408670841f90f1947e10f3d9937ea7de83a2c5bc1e156666770d12f56bf227a4a9585d8142179e0b6bb819f4f71c363286208200b4ad SHA512 532fcc909108e2d8e04dd0d66e3aa0fbea2a93cc6f6ef534045f4fe05070b5db0b916551ab0b8670345a879b7adf866032317bc4ad03c63b9022963a1f41f9c5 +EBUILD hydrogen-1.2.2.ebuild 2077 BLAKE2B 63ac00eb57f5c667c43be79b85163d27e0bb534da74afeacf3940bd016700d169521b30cc32d35a07e5586c1e87625387b8266e1935e8b1e7454c0a31fa60c9a SHA512 90adcbc28017de1ef5b15b5baef3696ac1ff84bdaf27637e36fe0359ee20fee40bcb76b1cd02013389038710bfc523ddde6ba08e0b7d2e55a69a2d3a944e9d8a +EBUILD hydrogen-9999.ebuild 2077 BLAKE2B 63ac00eb57f5c667c43be79b85163d27e0bb534da74afeacf3940bd016700d169521b30cc32d35a07e5586c1e87625387b8266e1935e8b1e7454c0a31fa60c9a SHA512 90adcbc28017de1ef5b15b5baef3696ac1ff84bdaf27637e36fe0359ee20fee40bcb76b1cd02013389038710bfc523ddde6ba08e0b7d2e55a69a2d3a944e9d8a MISC metadata.xml 478 BLAKE2B bd59feef45263e2f2440696d657c0845f70498b64dec764dc4fff3e0c837a725195f55a2a651498f5c38448ae7c45fdc50def9a8068fe58e93332ad66de7e1ab SHA512 757c7766697ad73293ed281df0079de5775068bc6b899a9dc6bd3a41a36ed024646e01d242177948be1756d407e44cacd2bb2ed7ec0e4698fd358ec0031db3c4 diff --git a/media-sound/hydrogen/hydrogen-1.2.2.ebuild b/media-sound/hydrogen/hydrogen-1.2.2.ebuild new file mode 100644 index 000000000000..300110e184b2 --- /dev/null +++ b/media-sound/hydrogen/hydrogen-1.2.2.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +DESCRIPTION="Advanced drum machine" +HOMEPAGE="http://hydrogen-music.org/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}-music/${PN}" +else + MY_PV=${PV/_/-} + SRC_URI="https://github.com/${PN}-music/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + S="${WORKDIR}"/${PN}-${MY_PV} +fi + +LICENSE="GPL-2 ZLIB" +SLOT="0" +IUSE="alsa +archive doc jack ladspa lash osc oss portaudio portmidi pulseaudio" + +REQUIRED_USE="lash? ( alsa )" + +BDEPEND=" + dev-qt/linguist-tools:5 + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" +CDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + dev-qt/qtxmlpatterns:5 + media-libs/libsndfile + alsa? ( media-libs/alsa-lib ) + archive? ( app-arch/libarchive ) + !archive? ( dev-libs/libtar ) + doc? ( dev-texlive/texlive-fontutils ) + jack? ( virtual/jack ) + ladspa? ( media-libs/liblrdf ) + lash? ( media-sound/lash ) + osc? ( media-libs/liblo ) + portaudio? ( media-libs/portaudio ) + portmidi? ( media-libs/portmidi ) + pulseaudio? ( media-libs/libpulse ) +" +DEPEND=" + ${CDEPEND} + dev-qt/qttest:5 +" +RDEPEND="${CDEPEND}" + +DOCS=( AUTHORS ChangeLog DEVELOPERS README.md ) + +PATCHES=( + "${FILESDIR}/${PN}-1.2.1-gnuinstalldirs.patch" +) + +src_prepare() { + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DWANT_ALSA=$(usex alsa) + -DWANT_CPPUNIT=OFF + -DWANT_DEBUG=OFF + -DWANT_JACK=$(usex jack) + -DWANT_LADSPA=$(usex ladspa) + -DWANT_LASH=$(usex lash) + -DWANT_LIBARCHIVE=$(usex archive) + -DWANT_LRDF=$(usex ladspa) + -DWANT_OSC=$(usex osc) + -DWANT_OSS=$(usex oss) + -DWANT_PORTAUDIO=$(usex portaudio) + -DWANT_PORTMIDI=$(usex portmidi) + -DWANT_PULSEAUDIO=$(usex pulseaudio) + -DWANT_RUBBERBAND=OFF + ) + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + use doc && cmake_src_compile doc +} + +src_install() { + use doc && local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. ) + cmake_src_install +} diff --git a/media-sound/hydrogen/hydrogen-9999.ebuild b/media-sound/hydrogen/hydrogen-9999.ebuild index 951d4fb7a1fc..300110e184b2 100644 --- a/media-sound/hydrogen/hydrogen-9999.ebuild +++ b/media-sound/hydrogen/hydrogen-9999.ebuild @@ -37,7 +37,7 @@ CDEPEND=" dev-qt/qtwidgets:5 dev-qt/qtxml:5 dev-qt/qtxmlpatterns:5 - >=media-libs/libsndfile-1.0.18 + media-libs/libsndfile alsa? ( media-libs/alsa-lib ) archive? ( app-arch/libarchive ) !archive? ( dev-libs/libtar ) diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest index bc672fbfe1ea..a788921de7a2 100644 --- a/media-sound/qsynth/Manifest +++ b/media-sound/qsynth/Manifest @@ -1,4 +1,6 @@ DIST qsynth-0.9.11.tar.gz 333402 BLAKE2B 72a57a978bad1c4b2abcb287ea27c1c1365c06efdeedcd9bb69ca01a20304f48b19065c5e5181e8d30a3d4137eee56ec69cfba32dd8d2fa29f3ea1140019e089 SHA512 3d6c40066db235fc39ca804de1a352ade9e03e162b5901d0e1170f1f0cb4ec3e1631d2fe2b1e50a9cbab9528bca54ebb0afb8e5d615fb8f0b06b9761ae472f2d +DIST qsynth-0.9.12.tar.gz 333588 BLAKE2B 778edbb60535aea55f3d82074e8723b37fef6fa01975403211317753f790e14baf9f59db294f68e3d067a2142b450878cfaf412ad22480744936a2eee1d654d1 SHA512 44017d24c09714d174c774083462f7dc263f2abc7aaf7d2cda0f4987b007210a33dcfb35d47eacd5682859e5299f75e26e47fd2f73458eb2a05a36c27d5889f0 EBUILD qsynth-0.9.11-r2.ebuild 1433 BLAKE2B cac4a796d53643b31eb8603ddcf71aca7370d505fcd47292941e6e29d95f5fc9a7853a50a96d0fcdc2868190d120d10b12ab474203d9eec5fa689e87a1da691f SHA512 e51eb23c60665cce64c5dad45ba5d56fb145b2fba4b9b4f73edc03167519d5a852abc9bf844f8fdfa2ee23b52e0064f3f1752f016063d17111de0eb01ce230a1 +EBUILD qsynth-0.9.12.ebuild 1437 BLAKE2B 2e3d53ab8b02fd4942e275bb3304282921c8c8e0f90897731ed7348d711fde579f40ecdd93e8d5f390521bcb4eabaa8ee537356968ded0bb6f707df69706d362 SHA512 cc1e36a7c57a47de01dcd2266604f22358df7bdf8967e85541c438238de53471e9d3b301d005ba9020f74b5dcf404e4c7fc2e524c80a59e0a57bc1b0e4419ff6 EBUILD qsynth-9999.ebuild 1437 BLAKE2B 2e3d53ab8b02fd4942e275bb3304282921c8c8e0f90897731ed7348d711fde579f40ecdd93e8d5f390521bcb4eabaa8ee537356968ded0bb6f707df69706d362 SHA512 cc1e36a7c57a47de01dcd2266604f22358df7bdf8967e85541c438238de53471e9d3b301d005ba9020f74b5dcf404e4c7fc2e524c80a59e0a57bc1b0e4419ff6 MISC metadata.xml 763 BLAKE2B 871d9e5edd0dcd434d496c2d40f997717d424502a5d7072264886477eaaf4bf460e32746bc899a124d97f5cadf116c0cdd198d017ebd4e9cbd769ba2af8a8512 SHA512 147e494f3b468283759a06d361d286e211e95cabbfc6daef67c406e5f19a9eb04ec611f41273ddb0c712dd1fd9afa3a71922bd9cfe749c388ab61d550dc86def diff --git a/media-sound/qsynth/qsynth-0.9.12.ebuild b/media-sound/qsynth/qsynth-0.9.12.ebuild new file mode 100644 index 000000000000..ab43ec3a943b --- /dev/null +++ b/media-sound/qsynth/qsynth-0.9.12.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake desktop xdg + +DESCRIPTION="Qt application to control FluidSynth" +HOMEPAGE="https://qsynth.sourceforge.io/" + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://git.code.sf.net/p/qsynth/code" + inherit git-r3 +else + SRC_URI="mirror://sourceforge/qsynth/${P}.tar.gz" + KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="+alsa debug jack pulseaudio qt6" + +REQUIRED_USE="|| ( alsa jack pulseaudio )" + +BDEPEND=" + qt6? ( dev-qt/qttools:6[linguist] ) + !qt6? ( dev-qt/linguist-tools:5 ) +" +DEPEND=" + qt6? ( + dev-qt/qtbase:6[gui,network,widgets] + dev-qt/qtsvg:6 + ) + !qt6? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + ) + media-sound/fluidsynth:=[jack?,alsa?,pulseaudio?] +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DCONFIG_DEBUG=$(usex debug 1 0) + -DCONFIG_QT6=$(usex qt6 1 0) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + # The desktop file is invalid, and we also change the command + # depending on useflags + rm "${D}/usr/share/applications/org.rncbc.qsynth.desktop" || die + + local cmd + if use jack; then + cmd="qsynth" + elif use pulseaudio; then + cmd="qsynth -a pulseaudio" + elif use alsa; then + cmd="qsynth -a alsa" + else + cmd="qsynth -a oss" + fi + + make_desktop_entry "${cmd}" Qsynth org.rncbc.qsynth +} -- cgit v1.2.3