From d6ca4e4f90cb75c323b5988eefa96a04c0d36908 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 20 Jun 2024 00:10:57 +0100 Subject: gentoo auto-resync : 20:06:2024 - 00:10:56 --- media-sound/Manifest.gz | Bin 57433 -> 57434 bytes media-sound/abcmidi/Manifest | 4 +- media-sound/abcmidi/abcmidi-2024.06.12.ebuild | 44 ---------------- media-sound/abcmidi/abcmidi-2024.06.18.ebuild | 44 ++++++++++++++++ media-sound/qjackctl/Manifest | 2 + media-sound/qjackctl/qjackctl-1.0.0.ebuild | 47 +++++++++++++++++ media-sound/qsampler/Manifest | 4 +- media-sound/qsampler/qsampler-0.9.91.ebuild | 2 +- media-sound/qsampler/qsampler-1.0.0.ebuild | 57 ++++++++++++++++++++ media-sound/qsynth/Manifest | 2 + media-sound/qsynth/qsynth-1.0.0.ebuild | 72 ++++++++++++++++++++++++++ 11 files changed, 230 insertions(+), 48 deletions(-) delete mode 100644 media-sound/abcmidi/abcmidi-2024.06.12.ebuild create mode 100644 media-sound/abcmidi/abcmidi-2024.06.18.ebuild create mode 100644 media-sound/qjackctl/qjackctl-1.0.0.ebuild create mode 100644 media-sound/qsampler/qsampler-1.0.0.ebuild create mode 100644 media-sound/qsynth/qsynth-1.0.0.ebuild (limited to 'media-sound') diff --git a/media-sound/Manifest.gz b/media-sound/Manifest.gz index 027fe3835102..517529d72d3c 100644 Binary files a/media-sound/Manifest.gz and b/media-sound/Manifest.gz differ diff --git a/media-sound/abcmidi/Manifest b/media-sound/abcmidi/Manifest index bda26bfd4ae5..df50c18a1e72 100644 --- a/media-sound/abcmidi/Manifest +++ b/media-sound/abcmidi/Manifest @@ -1,5 +1,5 @@ DIST abcMIDI-2024.04.30.zip 633484 BLAKE2B 39935e46647556e2de2f920bb2ae4eebc8497827f22f950f7f6473cec4145009e5f6d31649c9e560424102bbd926684b338539076d157974c16abae978673d27 SHA512 95f78bb6d88f285ce74febb8937921a6c4740902caf1dc67cfca0c1a934636035792a0c5426ead46c85745e5900905e5530d9ab7feaa6107e7c6b10eeeb36aef -DIST abcMIDI-2024.06.12.zip 633653 BLAKE2B 3afa8681f28032529b1c29bf6102ca7176878d1241348d046eaa59969142f9a610c0d88795c6efcc02052aaeca974453383287a4fb738423e9b98aa768fc6582 SHA512 828d7bfdd4ac6fd212ab1b41a201a9417289a3ee9fcc5b69414f6c2f14b169ea2aa20ba44c3abeacfb3a30ee1ecbd997eb816b7c3ea94c4ab3cfc13ff4b4712b +DIST abcMIDI-2024.06.18.zip 633663 BLAKE2B 276553fa00d6a32a89e5f70505ff081acec3e151908a0829fddc6882d785d617c5ece73348689b93b7e7dfe7e5d845ffd66430ccd03ecee8dcb82d33d8f76399 SHA512 f8a16b8d47993c99571a5514b4579b697aa43039f87a794477cff54ea98f4f13c2f441ebf089f0d24cc4fe8f21482e06217f51a907cc4d0922c653b04b45b86f EBUILD abcmidi-2024.04.30.ebuild 842 BLAKE2B 55bd4449eefe4c0860ae462842dd378a99a09af0b65d48947eae1d32053f93260e35e02e03455422cd62657c966723e42243bb291f9a2719daa83bf41988e7fe SHA512 434499075ba0ddbf9f75291dd229dcada503b62aaa7b7c6e408d15412302f7d4a6a22fb3302daf53c8ef06bb139988d6806a559d8aae8b154308fb5b480edc9b -EBUILD abcmidi-2024.06.12.ebuild 844 BLAKE2B 40322a8d9af19c1d73ef93feffeb8ad8954c8b231de27870012c7c644832eeb220122204ce0af51499c7a22f12655b9c76f7209117039416c378152b6827fcf0 SHA512 fda5935c54e9f8c3ca30c7126f5bdc59618104c8947ec5dbe5f861cd5b357ff472bfd317186ff41bbf7a65cb17b0bdcb565de21b0af943ff1f7e61c2c17a10f5 +EBUILD abcmidi-2024.06.18.ebuild 844 BLAKE2B 40322a8d9af19c1d73ef93feffeb8ad8954c8b231de27870012c7c644832eeb220122204ce0af51499c7a22f12655b9c76f7209117039416c378152b6827fcf0 SHA512 fda5935c54e9f8c3ca30c7126f5bdc59618104c8947ec5dbe5f861cd5b357ff472bfd317186ff41bbf7a65cb17b0bdcb565de21b0af943ff1f7e61c2c17a10f5 MISC metadata.xml 382 BLAKE2B c115548ee2b0caa47535aeeda6dfac2666bdd08aa444d1a39f2ba829ccbfaabfefc0c94a1fc0d59a72c17d6cea045531c13b66c449c40351432ad4830ced6c1d SHA512 ba8f57a005267fda3d71bf26cbaffb4cd16bcdd6811a4b618140d6d56dd0b16477d02d66ebd86b93bebd52a22cd554d9bb4ca8e9c2bf865e4c95a8c1205922af diff --git a/media-sound/abcmidi/abcmidi-2024.06.12.ebuild b/media-sound/abcmidi/abcmidi-2024.06.12.ebuild deleted file mode 100644 index 8aed3dc3a8d2..000000000000 --- a/media-sound/abcmidi/abcmidi-2024.06.12.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic - -MY_P="abcMIDI-${PV}" -DESCRIPTION="Programs for processing ABC music notation files" -HOMEPAGE="https://ifdo.ca/~seymour/runabc/top.html" -SRC_URI="https://ifdo.ca/~seymour/runabc/${MY_P}.zip" -S="${WORKDIR}"/${PN} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="examples" - -BDEPEND="app-arch/unzip" - -src_prepare() { - default - sed -i "s:-O2::" configure.ac || die - sed -i "s:@datarootdir@/doc/abcmidi:@docdir@:" Makefile.in || die - eautoreconf -} - -src_configure() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/876421 - # https://github.com/sshlien/abcmidi/issues/9 - filter-lto - - default -} - -src_install() { - default - - if use examples ; then - docinto examples - dodoc samples/*.abc - fi -} diff --git a/media-sound/abcmidi/abcmidi-2024.06.18.ebuild b/media-sound/abcmidi/abcmidi-2024.06.18.ebuild new file mode 100644 index 000000000000..8aed3dc3a8d2 --- /dev/null +++ b/media-sound/abcmidi/abcmidi-2024.06.18.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +MY_P="abcMIDI-${PV}" +DESCRIPTION="Programs for processing ABC music notation files" +HOMEPAGE="https://ifdo.ca/~seymour/runabc/top.html" +SRC_URI="https://ifdo.ca/~seymour/runabc/${MY_P}.zip" +S="${WORKDIR}"/${PN} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +BDEPEND="app-arch/unzip" + +src_prepare() { + default + sed -i "s:-O2::" configure.ac || die + sed -i "s:@datarootdir@/doc/abcmidi:@docdir@:" Makefile.in || die + eautoreconf +} + +src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/876421 + # https://github.com/sshlien/abcmidi/issues/9 + filter-lto + + default +} + +src_install() { + default + + if use examples ; then + docinto examples + dodoc samples/*.abc + fi +} diff --git a/media-sound/qjackctl/Manifest b/media-sound/qjackctl/Manifest index bfb94cba833c..95ef3e1b4b37 100644 --- a/media-sound/qjackctl/Manifest +++ b/media-sound/qjackctl/Manifest @@ -1,5 +1,7 @@ AUX qjackctl-0.9.13-disable-git.patch 503 BLAKE2B d46a307dd6fcf62b51b4172a7e88ff71cf632646e28fd26857cb0bc4b9cdcd5c11260a197b10ffc4362d77bd319524bac2985bef2faf03e97d0c899dd24fcd16 SHA512 0bdc675bd9c82a45f3633342a1669bfa4d545e31122c915ff21256e7653bb1b5f33fc77341c1a9ca568912327e7f5380b27278f63914e123484d80935a27f3d9 DIST qjackctl-0.9.91.tar.gz 1312312 BLAKE2B db7dbffd55bb94b5bbd43fb68e9ffc00d47cab90773b8e4e9d386d84a365be71dee8d6ff480fb888fd70024a1467317554745bbc2ff433931a87cf4e7923e9fe SHA512 b4b7ef5619fde94b9b6e840477339972aa97906b0e1eceb2918de3d19dbf96bbea6b119bce7881143a533666967c646328ff887bdae7a5c21f0300951abd2afe +DIST qjackctl-1.0.0.tar.gz 1314301 BLAKE2B f27422bb98a4a7b1ec905df63989a51edfd6ccebdbae0da000f98a1dcaf93757f3aab9ec971ad3f395c668c85fc838ff62017545072028e5ccd0d435e4a9ac15 SHA512 2ca2691112d35d959ab0d0abc86e79b7526c6b5a5ef6d36581bc712ad6926b13cc559767b81c817bbfb7a5203e2cfaad396451ad749b553d6882d2c963a3f197 EBUILD qjackctl-0.9.91.ebuild 1008 BLAKE2B 1ec2ffb41f8547db96bb48b4d76b852d1113f1412a6da07f97caf2dce6087999ad51e4b369716362c98cbcb506e5c16b5c9853b06d0df8cacfdd48fa83739ead SHA512 462f339e40a8302f9838e51d8f1241ca6d8d82185d8f0f2171fb73d87822b852f25dafd3f26deaff618ae2d5682565ee274d0d158552eff44f46b39304200d2e +EBUILD qjackctl-1.0.0.ebuild 1010 BLAKE2B 48dcbd5d6e79b3515afb7ff0d45f2d1e91d403440b7c58a7515a6764658ea84466c2c3449195ac28793715de78e98047b05d67305160e02fa33ade6bd3d0cb83 SHA512 071f43972f2991ca0a371e1e56e8d77c0ecdc61c90a99b5a7380b69eb70ce27dbfbcdb1eb5c3ca6c01be6014635f6c1d96ef72a781172c259ee184fe29b1eeec EBUILD qjackctl-9999.ebuild 926 BLAKE2B e7d605b036d205a43319d6559c0a918e347436e3e932d8002f3dffe6e56ef8563ca32efb6bd731802e8c1c066716f3e21a0896ac8b107f6c9361656f7ac3b556 SHA512 eceec774ffc46b565ad7398844febfee6c6c3ba65bc523072d81de91f84065f9507c93b4b18f9e63abc794a2814aa0f2bfab2a70f48afbaec07484d9530892e9 MISC metadata.xml 338 BLAKE2B 74efc1853779388695ea14b6ccbe8e22d88941b8fcb845f553c02bd9e052f5638b2f4629dd238272a20b76db17f0d1f30a454a4b9a27333eb1e80b8d826c0dfd SHA512 bf18f336710191bc34b33b34f3f39435a9f3c9d7c45cef4e5b0ad39c19f4a9b27ee032dd2dbf6c57daaa90ad5f9adce40c49230850b6c1d746d0691eaf5ebb10 diff --git a/media-sound/qjackctl/qjackctl-1.0.0.ebuild b/media-sound/qjackctl/qjackctl-1.0.0.ebuild new file mode 100644 index 000000000000..29b887562b75 --- /dev/null +++ b/media-sound/qjackctl/qjackctl-1.0.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit xdg cmake + +DESCRIPTION="Qt GUI to control the JACK Audio Connection Kit and ALSA sequencer connections" +HOMEPAGE="https://qjackctl.sourceforge.io/" +SRC_URI="https://downloads.sourceforge.net/qjackctl/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa dbus debug portaudio" + +BDEPEND="dev-qt/linguist-tools:5" +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + dev-qt/qtxml:5 + virtual/jack + alsa? ( media-libs/alsa-lib ) + dbus? ( dev-qt/qtdbus:5 ) + portaudio? ( media-libs/portaudio ) +" +RDEPEND="${DEPEND} + dev-qt/qtsvg:5 +" + +PATCHES=( + "${FILESDIR}/${PN}-0.9.13-disable-git.patch" +) + +src_configure() { + local mycmakeargs=( + -DCONFIG_ALSA_SEQ=$(usex alsa 1 0) + -DCONFIG_DBUS=$(usex dbus 1 0) + -DCONFIG_DEBUG=$(usex debug 1 0) + -DCONFIG_PORTAUDIO=$(usex portaudio 1 0) + -DCONFIG_QT6=no + ) + cmake_src_configure +} diff --git a/media-sound/qsampler/Manifest b/media-sound/qsampler/Manifest index 03d6ee217e11..06b3b7ff1694 100644 --- a/media-sound/qsampler/Manifest +++ b/media-sound/qsampler/Manifest @@ -1,6 +1,8 @@ DIST qsampler-0.9.90.tar.gz 219790 BLAKE2B ccbb9b94eedd200f0f79d22adf8541c49f334249f7b5eeca59a200a70ba9fd633c288a78f486394df3c33983c2be0d313ba0c8ad5e4151b83b9d630c0e7a9d94 SHA512 4ff7663e5ea7cbea34127e242debdf0ac8da1a06e3d8de071fbf9543841819b94c9addb1e368d2bda692269f31503bc52cd47ac7590d96e31866611349ff3aae DIST qsampler-0.9.91.tar.gz 219798 BLAKE2B c947e865a62f4e14f701635d434ec6624a81fbcd471929b7ea1d9d841460afa931914937b6f9d863d4bd0759bcfd32da40765bc1d51e8950103f03f8e63a0078 SHA512 8ef9eefa7624d5e4b45a462fdb1fceded51e350ea75aafd5d9939be1d10f0d582d05244f3f73f1aeb9743a630d7a6f06a05ebf602a1e2a54bf542626c386db06 +DIST qsampler-1.0.0.tar.gz 219812 BLAKE2B f5e66edb92d24208e4cce9efcc0b84166fdd23180e47c5b136d9749908565400d6b3d201eda7287e89153c98042d69b2e0e4742a1e7b39d9b104cc45d21e0d46 SHA512 3414da88a5924206017d1829928281c345bc036244c38ccce84de080ab2a8f992ab3dec7391f52334ed47fa122315f47562739e7a12c488d0e38e944fa79ef6a EBUILD qsampler-0.9.90.ebuild 1139 BLAKE2B f5228ee61fe4946a0f116db47237151eb697135fc52b52105f7ac123fc3306c2f37e936860d0c310895e3f362259755dba497bf33bffcfa48a7c767adf888ed9 SHA512 486623f328d732f9d8cf1f21bed737212b7b17ce277715be10441a6d775a1456eb7e6d72489746c18af816b33bf81179438cb52872fa2da3ffd3e1333d591935 -EBUILD qsampler-0.9.91.ebuild 1140 BLAKE2B cbcc56ea839a1c69cd32179146b50be84ae49dc4ab3013416a3e8eb2575fa55a07eff45caa82249432c166e4fb04b1c1108625edb172e8a4ad515f5a39a934e7 SHA512 473c5f4189110b028222f9dcd728c3d391af1516c0bf55ffb5c6f22f504f71e464686989013b12cb7b67bbbb10f455c5ac6594d6f143656b5699589c311d6905 +EBUILD qsampler-0.9.91.ebuild 1139 BLAKE2B f5228ee61fe4946a0f116db47237151eb697135fc52b52105f7ac123fc3306c2f37e936860d0c310895e3f362259755dba497bf33bffcfa48a7c767adf888ed9 SHA512 486623f328d732f9d8cf1f21bed737212b7b17ce277715be10441a6d775a1456eb7e6d72489746c18af816b33bf81179438cb52872fa2da3ffd3e1333d591935 +EBUILD qsampler-1.0.0.ebuild 1140 BLAKE2B cbcc56ea839a1c69cd32179146b50be84ae49dc4ab3013416a3e8eb2575fa55a07eff45caa82249432c166e4fb04b1c1108625edb172e8a4ad515f5a39a934e7 SHA512 473c5f4189110b028222f9dcd728c3d391af1516c0bf55ffb5c6f22f504f71e464686989013b12cb7b67bbbb10f455c5ac6594d6f143656b5699589c311d6905 EBUILD qsampler-9999.ebuild 1140 BLAKE2B cbcc56ea839a1c69cd32179146b50be84ae49dc4ab3013416a3e8eb2575fa55a07eff45caa82249432c166e4fb04b1c1108625edb172e8a4ad515f5a39a934e7 SHA512 473c5f4189110b028222f9dcd728c3d391af1516c0bf55ffb5c6f22f504f71e464686989013b12cb7b67bbbb10f455c5ac6594d6f143656b5699589c311d6905 MISC metadata.xml 494 BLAKE2B e15f94a046f20f6430b293d548b1b9694e172b083d51542d398abf2de7beea5aa5915b670ac335bc31f797dbba71e82db55b72a93e88bfbdca8d862d9840975e SHA512 b136da53c09415395c0529c6d02d328520617737bce205ba1089725c3705ddea4be61e8208d814479976a420673498fba53caba64b5e0cb49ffe79694045f25a diff --git a/media-sound/qsampler/qsampler-0.9.91.ebuild b/media-sound/qsampler/qsampler-0.9.91.ebuild index f0a0b110d46b..d07c734a28c1 100644 --- a/media-sound/qsampler/qsampler-0.9.91.ebuild +++ b/media-sound/qsampler/qsampler-0.9.91.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == *9999* ]]; then inherit git-r3 else SRC_URI="https://downloads.sourceforge.net/${PN}/${PV}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="amd64 ~x86" fi DESCRIPTION="Graphical frontend to the LinuxSampler engine" diff --git a/media-sound/qsampler/qsampler-1.0.0.ebuild b/media-sound/qsampler/qsampler-1.0.0.ebuild new file mode 100644 index 000000000000..f0a0b110d46b --- /dev/null +++ b/media-sound/qsampler/qsampler-1.0.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2024 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="https://downloads.sourceforge.net/${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 qt6" + +DEPEND=" + media-libs/alsa-lib + media-libs/liblscp:= + x11-libs/libX11 + libgig? ( media-libs/libgig:= ) + 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 + ) +" +RDEPEND="${DEPEND} + media-sound/linuxsampler +" +BDEPEND=" + qt6? ( dev-qt/qttools:6[linguist] ) + !qt6? ( dev-qt/linguist-tools:5 ) +" + +DOCS=( ChangeLog README TRANSLATORS ) + +src_configure() { + local mycmakeargs=( + -DCONFIG_DEBUG=$(usex debug 1 0) + -DCONFIG_LIBGIG=$(usex libgig 1 0) + -DCONFIG_QT6=$(usex qt6 1 0) + ) + cmake_src_configure +} diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest index 64318b5b9858..e26118502027 100644 --- a/media-sound/qsynth/Manifest +++ b/media-sound/qsynth/Manifest @@ -1,4 +1,6 @@ DIST qsynth-0.9.91.tar.gz 334833 BLAKE2B 057ebf72aab4ea811046fede9df42ef7ccb7b98018544397e67212d694d7d798761340114a6609c230062791c81050f11c77348674008e09b1c1f9a28ea27f47 SHA512 0749195078e223ae7e42f2fc7d7f435bc174290f9d018ed01ec27088599f5e1e39739b20aa1233368e45336fb6ff74c9f634942e34543a7405f02749dc76446b +DIST qsynth-1.0.0.tar.gz 337358 BLAKE2B 40e2b6aacf21eb17169b0899f1b089cb2869295fd5a3b87a4d0e8d7632bce8518ce4d2dc22dafa2c9d4fafe0211c90b9729432a7407bd35f8237c357ce1cb897 SHA512 9533cb425345a83ed9695917885cba52278035c2a6f7b824981b9ec5033b5d61b7ac050cc7e516a6aa7f4ff76e29eb29089a93a727294e7a6a1e5fb631720ea4 EBUILD qsynth-0.9.91.ebuild 1446 BLAKE2B ac188db2357400e302959fae3e13def93ecc2ed37364233f5120369b2d0391dd36127a21d05f7bf06d443141e65b155f86681acc4d4563e1252486dda581ed68 SHA512 c871fd5c08a346bc9e6292442db4622401fa8dbf4bbea76eee9eb997179715d1b711de3ddba6323362c95a82621800c88191dd1c5e8c53778944cd020323dbf5 +EBUILD qsynth-1.0.0.ebuild 1450 BLAKE2B 89489add82e60db13848dd37e80966790ab9c697ae293b74a3c73bb84cf35e53c045e5cb3f1b56a8cd58993d7d12b5a1aa282561a4e773921f5c24fd7dc03086 SHA512 76a7e85715aa5df34219ee005e802cab0459a044653a63a1c70863d296c0e07389d02c6cf6e24b73649c2524eb5f1fb3ea5ccb148d9c98b74691706197a1aec1 EBUILD qsynth-9999.ebuild 1450 BLAKE2B 89489add82e60db13848dd37e80966790ab9c697ae293b74a3c73bb84cf35e53c045e5cb3f1b56a8cd58993d7d12b5a1aa282561a4e773921f5c24fd7dc03086 SHA512 76a7e85715aa5df34219ee005e802cab0459a044653a63a1c70863d296c0e07389d02c6cf6e24b73649c2524eb5f1fb3ea5ccb148d9c98b74691706197a1aec1 MISC metadata.xml 763 BLAKE2B 871d9e5edd0dcd434d496c2d40f997717d424502a5d7072264886477eaaf4bf460e32746bc899a124d97f5cadf116c0cdd198d017ebd4e9cbd769ba2af8a8512 SHA512 147e494f3b468283759a06d361d286e211e95cabbfc6daef67c406e5f19a9eb04ec611f41273ddb0c712dd1fd9afa3a71922bd9cfe749c388ab61d550dc86def diff --git a/media-sound/qsynth/qsynth-1.0.0.ebuild b/media-sound/qsynth/qsynth-1.0.0.ebuild new file mode 100644 index 000000000000..496e8129a1ca --- /dev/null +++ b/media-sound/qsynth/qsynth-1.0.0.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 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="https://downloads.sourceforge.net/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