diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-14 18:51:10 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-14 18:51:10 +0000 |
commit | aa44121f587698ace480d5ca16ae9e64fe1b4d0b (patch) | |
tree | 51e169f07cbed2c1aca51f5e6ae3152233d68f27 /media-sound | |
parent | 7d58bf45ea7b2d8f188fd2aa40484a8c9a3381a7 (diff) |
gentoo auto-resync : 14:11:2022 - 18:51:10
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/Manifest.gz | bin | 57058 -> 57068 bytes | |||
-rw-r--r-- | media-sound/fluidsynth/Manifest | 4 | ||||
-rw-r--r-- | media-sound/fluidsynth/fluidsynth-2.3.0.ebuild | 121 | ||||
-rw-r--r-- | media-sound/fluidsynth/metadata.xml | 1 | ||||
-rw-r--r-- | media-sound/mpg123/Manifest | 2 | ||||
-rw-r--r-- | media-sound/mpg123/mpg123-1.31.1.ebuild | 110 | ||||
-rw-r--r-- | media-sound/qsampler/Manifest | 2 | ||||
-rw-r--r-- | media-sound/qsampler/qsampler-0.9.7.ebuild | 57 | ||||
-rw-r--r-- | media-sound/qsynth/Manifest | 2 | ||||
-rw-r--r-- | media-sound/qsynth/qsynth-0.9.8.ebuild | 71 |
10 files changed, 369 insertions, 1 deletions
diff --git a/media-sound/Manifest.gz b/media-sound/Manifest.gz Binary files differindex c5c71587192c..2bfa95ef0c86 100644 --- a/media-sound/Manifest.gz +++ b/media-sound/Manifest.gz diff --git a/media-sound/fluidsynth/Manifest b/media-sound/fluidsynth/Manifest index 5cb3439bbdd5..15e9f77139cb 100644 --- a/media-sound/fluidsynth/Manifest +++ b/media-sound/fluidsynth/Manifest @@ -1,3 +1,5 @@ DIST fluidsynth-2.2.9.tar.gz 1750977 BLAKE2B a6b4a19737d01e86a80084cdf88897da9af7d2c50be80fb0227a1d70effb8551667ae27f43ce63591830acfdef31ff0d99d51e3160b9b09c274637b259a82833 SHA512 90f44f6d7a4ed504eea5e2d39d8da2e0072bef746f3d969e367f0bab36a4cff479a98e795dc8b6b58b565fb266c44a137a14e98c7e4c77d1be3b300b8c066600 +DIST fluidsynth-2.3.0.tar.gz 1757143 BLAKE2B 845f4b1d00b743edf7ef8a5660c239c2924ca51306fbd8f45c0c965198ed2d5267bacf8333a44720beb3f283e9a75bbb8b497dcb0b004153d5f8a9d9ed4f5224 SHA512 621a54f7d9845a9350381e9aa99f342b28050e1dd80983e69828acc685ace39ee5376f8e40d7a93ddb247718e4bcfb3f196cbd4027343251f8c0fbe3c0d219ed EBUILD fluidsynth-2.2.9.ebuild 3392 BLAKE2B 1fa6acdd1ea5d223df74ba0c3b1106676ee9bb0c518a2eed129ecd4c6b49ff8d691cc67702dba1663869daefab6687a12eb776069f45f44b953dd129f9c46df2 SHA512 b5369a6033e7dd4bdb73f93c794ebe47824fd425ad08c97d10fc2352d4d74bbc98bc6300ca85eff72f255d248735bc7579f4311950a48f7d195af1b6ad1df3bd -MISC metadata.xml 431 BLAKE2B f739f538274e2e63b1977673b0766a594db59982ab71d6552d1e841434c4040bb7af29d441b1d9e8ce61385dbdb8e522b5591f6826a4c52f085bf004f9fe8426 SHA512 c8085e7652a504610fb841e302ee380de58a67a16a9b874447c00ee20c2d56119254eed954704e8bd4cf8e574980da2dd2f90baa5c99e59cd534e26245af67bb +EBUILD fluidsynth-2.3.0.ebuild 3452 BLAKE2B 56758951eee5749e3518bcd3b7624324fe9aa42fce4ba35a2813f0a1c7940c6fc18d99791275819cd99a68fb4105883b4f099b86943258dc8d7d860636e251ec SHA512 d7c7732631cdb5a2f9cdd1a1305b646564383873742c2c547aa36c8ed57f4a9b9930b49985754878f0a74dd5699f0b601a83b5353dde449755882415dd3db34f +MISC metadata.xml 486 BLAKE2B 9df033e417835f43720a3e90329da4144ed3932a185a228622331cd490d00e5057e85192c32fd7cd303c182d830182cc543f48a3669223d69890159af179c5d4 SHA512 3ca4231c97c3a7ea49d0398a201db7b7ab1589e4dfab940872907c9d10c2115cdb66c52431aa7d1076824b4bf96ecc87908d2a09df1391d241cf8f6df1f5dc65 diff --git a/media-sound/fluidsynth/fluidsynth-2.3.0.ebuild b/media-sound/fluidsynth/fluidsynth-2.3.0.ebuild new file mode 100644 index 000000000000..d5a21ab76f24 --- /dev/null +++ b/media-sound/fluidsynth/fluidsynth-2.3.0.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib systemd toolchain-funcs + +DESCRIPTION="Software real-time synthesizer based on the Soundfont 2 specifications" +HOMEPAGE="https://www.fluidsynth.org" +SRC_URI="https://github.com/FluidSynth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0/3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="alsa dbus debug examples ipv6 jack ladspa lash network oss pipewire portaudio pulseaudio +readline sdl +sndfile systemd threads" + +BDEPEND=" + virtual/pkgconfig +" +DEPEND=" + dev-libs/glib:2[${MULTILIB_USEDEP}] + alsa? ( + media-libs/alsa-lib[${MULTILIB_USEDEP}] + lash? ( media-sound/lash[${MULTILIB_USEDEP}] ) + ) + dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] ) + jack? ( virtual/jack[${MULTILIB_USEDEP}] ) + ladspa? ( + media-libs/ladspa-sdk[${MULTILIB_USEDEP}] + media-plugins/cmt-plugins[${MULTILIB_USEDEP}] + ) + pipewire? ( + media-video/pipewire:0=[${MULTILIB_USEDEP}] + ) + portaudio? ( media-libs/portaudio[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] ) + readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] ) + sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] ) + sndfile? ( media-libs/libsndfile[${MULTILIB_USEDEP}] ) +" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS ChangeLog README.md THANKS TODO doc/fluidsynth-v20-devdoc.txt ) + +src_configure() { + local mycmakeargs=( + -DCMAKE_C_COMPILER="$(tc-getCC)" + -Denable-alsa=$(usex alsa) + -Denable-aufile=ON + -Denable-dbus=$(usex dbus) + -Denable-dsound=OFF # Windows + -Denable-floats=OFF # loat instead of double for DSP samples + -Denable-fpe-check=$(usex debug) + -Denable-ipv6=$(usex ipv6) + -Denable-jack=$(usex jack) + -Denable-ladspa=$(usex ladspa) + -Denable-libinstpatch=ON # https://github.com/swami/libinstpatch + -Denable-midishare=OFF # http://midishare.sourceforge.net/ + -Denable-network=$(usex network) + -Denable-opensles=OFF + -Denable-oboe=OFF # requires OpenSLES and/or AAudio + -Denable-oss=$(usex oss) + -Denable-libsndfile=$(usex sndfile) + -Denable-portaudio=$(usex portaudio) + -Denable-profiling=$(usex debug) + -Denable-pulseaudio=$(usex pulseaudio) + -Denable-pipewire=$(usex pipewire) + -Denable-readline=$(usex readline) + -Denable-sdl2=$(usex sdl) + -Denable-systemd=$(usex systemd) + -Denable-threads=$(usex threads) + -Denable-trap-on-fpe=$(usex debug) + -Denable-ubsan=OFF # compile and link against UBSan (for debugging fluidsynth internals) + -Denable-waveout=OFF # Windows + -Denable-winmidi=OFF # Windows + ) + + if use alsa; then + mycmakeargs+=( -Denable-lash=$(usex lash) ) + else + mycmakeargs+=( -Denable-lash=OFF ) + fi + + if use systemd; then + mycmakeargs+=( -DFLUID_DAEMON_ENV_FILE="/etc/fluidsynth.conf" ) + fi + + cmake-multilib_src_configure +} + +install_systemd_files() { + if multilib_is_native_abi; then + systemd_dounit "${BUILD_DIR}/fluidsynth.service" + insinto /etc + doins "${BUILD_DIR}/fluidsynth.conf" + fi +} + +multilib_src_test() { + eninja check +} + +src_install() { + cmake-multilib_src_install + + docinto pdf + dodoc doc/*.pdf + + if use examples; then + docinto examples + dodoc doc/examples/*.c + fi + + if use systemd; then + multilib_foreach_abi install_systemd_files + + elog "When using fluidsynth as a systemd service, make sure" + elog "to configure your fluidsynth settings globally in " + elog "/etc/fluidsynth.conf or per-user in ~/.config/fluidsynth" + fi +} diff --git a/media-sound/fluidsynth/metadata.xml b/media-sound/fluidsynth/metadata.xml index 5f9feb05c374..940387fae30c 100644 --- a/media-sound/fluidsynth/metadata.xml +++ b/media-sound/fluidsynth/metadata.xml @@ -10,5 +10,6 @@ </upstream> <use> <flag name="network">enable network support (requires BSD sockets)</flag> + <flag name="pipewire">enable pipewire support</flag> </use> </pkgmetadata> diff --git a/media-sound/mpg123/Manifest b/media-sound/mpg123/Manifest index 797647a47c24..89c60b5b1993 100644 --- a/media-sound/mpg123/Manifest +++ b/media-sound/mpg123/Manifest @@ -1,3 +1,5 @@ DIST mpg123-1.30.2.tar.bz2 1093138 BLAKE2B 03247431bf58886c7a942fb00f11d7e82cc12f95cb30c95fc01bb986e32d8245349dba6fd2a0ada33918542ce8944037f9899512cc6ffa013b884a009dbe8cef SHA512 e2e9279799f3917c9ecbcb2ccdc2c246bda50317dbfdd7ba3d56281b7b4f5b1928442fc8e712fbf90543159afc703d1ab8ceb7e3c1c038e1547b82d1616bdc82 +DIST mpg123-1.31.1.tar.bz2 1093324 BLAKE2B 47a845a5909874fe1e41a3a6b0ac57973f7bba69517b4ce6204a68f9f8c93b079062407fd6c1a9db42b8c7b483d3ba95a7257d1a8268b03f858f20d3695979de SHA512 d007ea94a99fde60919a173320e124c9f0079a28452533eeceb9c7bfed43810b46384ae45459ef6ac185e27ec06e153723bb588aaa4955ee2ad1c51dc58eb132 EBUILD mpg123-1.30.2.ebuild 3000 BLAKE2B e549199288fc002da8714ed3d943490333f0109b9ae473ebdc11b1fdceb03c35fe7cade7adc0c5dbbfeb12f99e37c708eb29af9e32910d1578fd344a89b888ea SHA512 cef63bcf0d17708e85a0eaf71a8ad5ee33d71a87c89ffecadf3e591cfc01d5403eccb411ed96e9e55e1fb9a475165217a155d09201b870f1de8da738ca60813a +EBUILD mpg123-1.31.1.ebuild 3026 BLAKE2B ccb251ded34113c7c76133558871e9b38bd8f7e7bac2a08be3ed5ff56f2c981c480245ed4db5cbcd9de213d04cb66a2687e8c48fac095239f6a2920e4ef0e252 SHA512 22c9d0c7bb412b6f13c88277a97700748ff2fd439442b2ae2a239267c913cf1c6e934fcd7f1179225184c9037f076a559540c83fb7d41f9d051fbd856fdf81b3 MISC metadata.xml 526 BLAKE2B 42eed8f068420cefea4cf3e75a880889be7abe182feec2aa95e0e7f550cf68eb2582460e43500d24b7ad189adb3e0e135da1079efb405957fe3dfc6b93a91ece SHA512 11e572b6ec77d6c971766e666db84ee4b605479c3f89ba639177de7fb109a8d9e38d1f5034a52554736e6bd0915aae84830169ba3580f6d64794adc4c8cb9d0e diff --git a/media-sound/mpg123/mpg123-1.31.1.ebuild b/media-sound/mpg123/mpg123-1.31.1.ebuild new file mode 100644 index 000000000000..85809e52a0e0 --- /dev/null +++ b/media-sound/mpg123/mpg123-1.31.1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs libtool multilib-minimal + +DESCRIPTION="a realtime MPEG 1.0/2.0/2.5 audio player for layers 1, 2 and 3" +HOMEPAGE="https://www.mpg123.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" +IUSE="cpu_flags_x86_3dnow cpu_flags_x86_3dnowext cpu_flags_ppc_altivec alsa coreaudio int-quality ipv6 jack cpu_flags_x86_mmx nas oss portaudio pulseaudio sdl cpu_flags_x86_sse" + +# No MULTILIB_USEDEP here since we only build libmpg123 for non native ABIs. +# Note: build system prefers libsdl2 > libsdl. We could in theory add both +# but it's tricky when it comes to handling switching between them properly. +# We'd need a USE flag for both sdl1 and sdl2 and to make them clash. +RDEPEND=" + dev-libs/libltdl:0 + alsa? ( media-libs/alsa-lib ) + jack? ( virtual/jack ) + nas? ( media-libs/nas ) + portaudio? ( media-libs/portaudio ) + pulseaudio? ( media-sound/pulseaudio ) + sdl? ( media-libs/libsdl2 )" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/libtool + virtual/pkgconfig +" +IDEPEND="app-eselect/eselect-mpg123" + +DOCS=( AUTHORS ChangeLog NEWS NEWS.libmpg123 README ) + +src_prepare() { + default + elibtoolize # for Darwin bundles +} + +multilib_src_configure() { + local _audio=dummy + local _output=dummy + local _cpu=generic_fpu + + # Build fails without -D_GNU_SOURCE like this: + # error: ‘struct hostent’ has no member named ‘h_addr’ + append-cflags -D_GNU_SOURCE + + append-lfs-flags + + if $(multilib_is_native_abi) ; then + local flag + for flag in nas portaudio sdl oss jack alsa pulseaudio coreaudio; do + if use ${flag}; then + _audio+=" ${flag/pulseaudio/pulse}" + _output=${flag/pulseaudio/pulse} + fi + done + fi + + use cpu_flags_ppc_altivec && _cpu=altivec + + if [[ $(tc-arch) == amd64 || ${ARCH} == x64-* ]]; then + use cpu_flags_x86_sse && _cpu=x86-64 + elif use x86 && gcc-specs-pie ; then + # Don't use any mmx, 3dnow, sse and 3dnowext + # bug #164504 + _cpu=generic_fpu + else + use cpu_flags_x86_mmx && _cpu=mmx + use cpu_flags_x86_3dnow && _cpu=3dnow + use cpu_flags_x86_sse && _cpu=x86 + use cpu_flags_x86_3dnowext && _cpu=x86 + fi + + local myconf=( + --with-optimization=0 + --with-audio="${_audio}" + --with-default-audio=${_output} + --with-cpu=${_cpu} + --enable-network + $(use_enable ipv6) + --enable-int-quality=$(usex int-quality) + ) + + multilib_is_native_abi || myconf+=( --disable-modules ) + + ECONF_SOURCE="${S}" econf "${myconf[@]}" + + if ! $(multilib_is_native_abi) ; then + sed -i -e 's:src doc:src/libmpg123:' Makefile || die + fi +} + +multilib_src_install_all() { + einstalldocs + mv "${ED}"/usr/bin/mpg123{,-mpg123} + find "${ED}" -type f -name '*.la' -delete || die +} + +pkg_postinst() { + eselect mpg123 update ifunset +} + +pkg_postrm() { + eselect mpg123 update ifunset +} diff --git a/media-sound/qsampler/Manifest b/media-sound/qsampler/Manifest index 7a7f02b1f5b8..4a8922d30d93 100644 --- a/media-sound/qsampler/Manifest +++ b/media-sound/qsampler/Manifest @@ -1,5 +1,7 @@ AUX qsampler-0.9.1-cmake-no-git.patch 543 BLAKE2B db45bba7c2f5e7d3325340568a1163627dc909192bc7721436b34216cdc2672c1134f817367a8783810412e909c6934a45f730f7623787b6819a88cfacd5aa0d SHA512 e5e55ca07bf38627d45a7761027fb49dfb4736b59ad0ad5441bcf1c51fef3678ddb4a6974d6febd2e74fed90a6535d0f4dcd80b4b587b2087c3ec3d1ed18ae3e DIST qsampler-0.9.6.tar.gz 222973 BLAKE2B 944616f522df1e4d5d8305f474f1aaf0f5c39d41860b26f057122463a866ccf95c283ec6a34ef204580627b1e9b6aaec4dd6bf65364fab67ceee91b9d08879dd SHA512 a2de808d3b4d41970b11eb41c972b09568fc478abb0e039725bb8d341b988986c239a82792ba5051d552264dd44d68d3d58f00e21412a154fbb476421262381d +DIST qsampler-0.9.7.tar.gz 220674 BLAKE2B 743cd6a2ea2ea9a76b8aa840bc67d15dd3be2a89a783c7de896bf618a14c06f51fa0d753337d73e21b9a350cb96936f2288d8893fc441f8e5117ea322fbb2785 SHA512 3474ef1924ca4090d153ccf2b50de840c8f0cd22c880e2ffb129c9f1f1516238cfe4e3e35b5dfa839ea21d45390814723f530b8618fa0ca4a4cac1c15bcf3083 EBUILD qsampler-0.9.6.ebuild 1124 BLAKE2B c678830f8637123b03ab9b76ff3011646b3300a96bb97e714aee0371ed138315ae0db880e142706b0e9eaa791f920ac8dfed6b3ce6f3d156e16d2786cee39262 SHA512 a001fd94db2b62d6b8be35058e5a25af2b20e73ce67e073345ac20599e5e2d4f17a92fe6ae4b27d4294e1b512368e585ee87a5576dcbc128fe0a73e988dc60a5 +EBUILD qsampler-0.9.7.ebuild 1125 BLAKE2B a1c614c76d6bdb057cb7d82c595822b3fc3e0277547e6d49503a45805108c2bd2202677fdfcfc638ca6355160570a5f9795b1e42271fd445a93e7b5d00276ad0 SHA512 622132777a24f8e2ae8a8cf211bb553c895b967c93f8d5533681d35f1662b43b1f8eb087d54b03d85ab1ddbb2bda6b75f80c6bd0fb048c835319da984e3e7874 EBUILD qsampler-9999.ebuild 1066 BLAKE2B fb8717ad1c4fa88cc5a0177a6fff158cfca12c0b5ef717d808ae70b721f733534895dc80ac9f3ae1a0862d44e3e1354535e72fceff18ba62d5d66794177659a2 SHA512 fb773e6378edccd26ad0e6be0deb16481b604432e505ac2581c4cdb5c431aaf70b9055abf5dcb6e5dd84d5e8b9d23467113e8bc7ba118aba40ffe873af3ae57e MISC metadata.xml 494 BLAKE2B e15f94a046f20f6430b293d548b1b9694e172b083d51542d398abf2de7beea5aa5915b670ac335bc31f797dbba71e82db55b72a93e88bfbdca8d862d9840975e SHA512 b136da53c09415395c0529c6d02d328520617737bce205ba1089725c3705ddea4be61e8208d814479976a420673498fba53caba64b5e0cb49ffe79694045f25a 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 +} diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest index b8aa5a6f63a8..befb22b6c5bb 100644 --- a/media-sound/qsynth/Manifest +++ b/media-sound/qsynth/Manifest @@ -1,5 +1,7 @@ AUX qsynth-0.9.1-cmake-no-git-version.patch 579 BLAKE2B 561d4fab7495335a9853968820f71508fe0ce340d829a36b74845b76a06c35abb815d40756d080efe9fecf8e8bcd9dfa347dc524aa4af2ccbb892ebc678fc861 SHA512 843467c9c6d13970ae7494a700830860783e48f4e9cc0bd74522921dfc2358e76d2e1b35436e2d04381e9e00c00692357526f3a0fa25c4d9205cd85ce73e97fd DIST qsynth-0.9.7.tar.gz 335564 BLAKE2B 7f74aebf0c635943e64be636035f86bb74e94514f97f199046cebed37675503c15225f626aba9bc862d07b13d941bb26bc3d3550f0f2c0dc32a8ed6db6c7f029 SHA512 1df8b96423a44d2a3db47417867319cea5df941e4e17e7b04c5b9c3839fff4c7d77cbc4a1ba86a2c17f5bbe13aefa59fc46a8769ecb1a2590c1f4c6c28ae6081 +DIST qsynth-0.9.8.tar.gz 333010 BLAKE2B 60433afaccc6a1378b9799316bd8d4a0cbe3592059788feacf8564e6ee659ea61904358378d3307a12e706c8aeb70a51546063fc7f766091ea784f7e01bb780a SHA512 f193dcbce0b92e25d5310c5f6d78a6360a8a6f089efceae55b7a425a823d418618ee2fd0debca6b9e4793e988b92f2dd8c2f32812f21224e8e566ab15d4d5e64 EBUILD qsynth-0.9.7.ebuild 1409 BLAKE2B 3da591d928a9b272f52f4cb9a52701df395e07e6a5595b44bae22405c433de7a3d42f7831ad99e9a545e7abb50306bac1ef0f8b9ae170ba5200c29015bad303b SHA512 97c625f61f97787d161296943cd12582919faf498c44a09e43898bad69513dcf3b27bfd286cd0b48693b3aa4b62c4e7acf1dbba20fab8c1c029b7b4554a02310 +EBUILD qsynth-0.9.8.ebuild 1413 BLAKE2B 94f3b565fe4092f371bcb9e668ce11403dd384ce2932846956d80fab08b7fb18d00892b4f1e0cdf40f17d002897e4076f701119b965dd7dbdf28bb564ecddff4 SHA512 d46ea096cdab2d24bd73e42f55c5056ac408baa42a0ba5d215683342605c04cfa4c6f404dfaa0e2d6a9c5fc1ec9954835c8af88e5e0a51fc60fa15817b5e7733 EBUILD qsynth-9999.ebuild 1347 BLAKE2B 219e5066d51c2aa4216f883b2a8e59de6f081caa033cd9810a4037ed7aea15225937e2c9c38cbd6d970c9ed1678f2d95d3b0a8cee3f6994243f77029a13ccfec SHA512 e423e026864f91ac8da553c616be407843ce250c504c96a7616bdae9821483675e338374474d0555a62859aa9b10478e2b1504cc2985b39dea534ea74e0a0932 MISC metadata.xml 763 BLAKE2B 871d9e5edd0dcd434d496c2d40f997717d424502a5d7072264886477eaaf4bf460e32746bc899a124d97f5cadf116c0cdd198d017ebd4e9cbd769ba2af8a8512 SHA512 147e494f3b468283759a06d361d286e211e95cabbfc6daef67c406e5f19a9eb04ec611f41273ddb0c712dd1fd9afa3a71922bd9cfe749c388ab61d550dc86def diff --git a/media-sound/qsynth/qsynth-0.9.8.ebuild b/media-sound/qsynth/qsynth-0.9.8.ebuild new file mode 100644 index 000000000000..802d146a7511 --- /dev/null +++ b/media-sound/qsynth/qsynth-0.9.8.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2022 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" + +REQUIRED_USE="|| ( alsa jack pulseaudio )" + +BDEPEND=" + dev-qt/linguist-tools:5 +" +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + media-sound/fluidsynth:=[jack?,alsa?,pulseaudio?] +" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${PN}-0.9.1-cmake-no-git-version.patch" ) + +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) + ) + 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 qsynth +} |