diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-12 00:33:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-12 00:33:29 +0100 |
commit | 3a6d209caa07e3be8e8423251b70c8bbeeedb17f (patch) | |
tree | aa94c255fa1bd982214ca518fb93d674cc253101 /media-sound/wildmidi | |
parent | 1f43daba2fbe6f53e67c63944941dc645657c5b3 (diff) |
gentoo auto-resync : 12:04:2024 - 00:33:28
Diffstat (limited to 'media-sound/wildmidi')
-rw-r--r-- | media-sound/wildmidi/Manifest | 4 | ||||
-rw-r--r-- | media-sound/wildmidi/metadata.xml | 1 | ||||
-rw-r--r-- | media-sound/wildmidi/wildmidi-0.4.6.ebuild | 59 |
3 files changed, 63 insertions, 1 deletions
diff --git a/media-sound/wildmidi/Manifest b/media-sound/wildmidi/Manifest index 2c63b4757846..2172aa029f2c 100644 --- a/media-sound/wildmidi/Manifest +++ b/media-sound/wildmidi/Manifest @@ -1,3 +1,5 @@ DIST wildmidi-0.4.5.tar.gz 197793 BLAKE2B a0b43e19b4e4ced6c4f536dd5e1ac313acd26ad0c3c9deed7068181666a175f4dfdf5cb522d70fdaf0636cc4b3b1af3cedfda54a6c048b05e828a4d1ad185b77 SHA512 0229914ecc60091b649b790a82ad5e755a2b9dfab7443fb3e3c19f4ae64b82817cafe74d78c27f05c68c3c8fb30092c96da732d27ff82fbd7dd7d577facc23d6 +DIST wildmidi-0.4.6.tar.gz 199971 BLAKE2B 797d50e9e1a4ca52c6ddf610964dfa993833d7c78cbe12d333364e29940af1e334ef764730e94b1f09b3d5930e46fa1c5c4e8070026bf7b892dcdbdb9f0af1f6 SHA512 b7259578c1b334de13b49e27aef32ad43e41bc04f569601b765ecea789b8da536d07afdb581986b7c91de552db2a625b13d061e52a2c8c51652f3cf3d1a30000 EBUILD wildmidi-0.4.5.ebuild 1336 BLAKE2B d3bd169cd89f85a93315491f4aa8b0b948c999bb1e9957163024e5f911a80d1525782ad750f4a4dd3e7e2b4d6643cee10a0ea5d931e9001ab50980dd5de284eb SHA512 ebad91f6030a3203686fbce7ff5628d739b3d6305263ee4f8c5b7e840fb7549bb392a8bb59d0ce1da5b37f0607c776db2d31ea10d1e6b5ef99831a4db0c608ae -MISC metadata.xml 615 BLAKE2B eb837a7dd6cf235acea9926300c47dd55fbca6d9b394f0cdac3736c06e355286e803d02545ebd56f39b54fbc2ecb4c9bf23b81d396f52501d3706d509d56857d SHA512 3ee62effc4b078da0f1bafde9dc70d10c237bf621f5ef74ad0ef5c50b302e5080cddd5b8fbdf2226e74dbb29686db21c584f1333d35621209c4c9b9d7acfbb47 +EBUILD wildmidi-0.4.6.ebuild 1356 BLAKE2B f9de103b205fa15640f63d267acb872917a177a33e4a2ee6a7386a40852fd1e26d3e147ee8359fabf647fd96feda14a629073e07f5ad0591a6540510619bf133 SHA512 30c2d0c69dc29b77149786030dee19402050ae67e5971f81bf2417bd64c11258860b4d6ebc5c584da7369d6b37418ad0fb9f8ad6050ac391d19d102da505a03f +MISC metadata.xml 692 BLAKE2B 35dea9c3a003d11713281a8c836231caeac01816018bcabf088931a0039d096e17a4d013ba9c2413f7b866a4096f1aee365af7017d6822efe73c5ce57c3cbb06 SHA512 c24e7e78048bb3c5bdb0f50cdea8aa4558eb6c206864369b19b7dcc7d8343b26fdde49e01d249e3a3b41ca201564f217ff26ee32b4b7f8bf50e9cb3e57fa91f3 diff --git a/media-sound/wildmidi/metadata.xml b/media-sound/wildmidi/metadata.xml index e8e34519c583..07338cab867b 100644 --- a/media-sound/wildmidi/metadata.xml +++ b/media-sound/wildmidi/metadata.xml @@ -11,6 +11,7 @@ </maintainer> <use> <flag name="player">Install the wildmidi player</flag> + <flag name="sndio">Enable support for the media-sound/sndio backend</flag> </use> <upstream> <remote-id type="github">Mindwerks/wildmidi</remote-id> diff --git a/media-sound/wildmidi/wildmidi-0.4.6.ebuild b/media-sound/wildmidi/wildmidi-0.4.6.ebuild new file mode 100644 index 000000000000..f21610603570 --- /dev/null +++ b/media-sound/wildmidi/wildmidi-0.4.6.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake readme.gentoo-r1 + +DESCRIPTION="MIDI processing library and player using the GUS patch set" +HOMEPAGE="http://www.mindwerks.net/projects/wildmidi/" +SRC_URI="https://github.com/Mindwerks/${PN}/archive/${P}.tar.gz" + +LICENSE="GPL-3+ LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" +IUSE="+alsa openal oss +player sndio" + +DEPEND=" + player? ( + alsa? ( media-libs/alsa-lib ) + openal? ( media-libs/openal ) + sndio? ( media-sound/sndio ) + ) +" +RDEPEND="${DEPEND} + media-sound/timidity-freepats +" + +DOC_CONTENTS="${PN} is using timidity-freepats for midi playback. + A default configuration file was placed on /etc/${PN}/${PN}.cfg. + For more information please read the ${PN}.cfg manpage." + +S="${WORKDIR}/${PN}-${P}" + +src_prepare() { + cmake_src_prepare + # Fix location of media-sound/timidity-freepats + # See #749759 + sed -i -e "s:midi/freepats:timidity/freepats:" cfg/wildmidi.cfg || die +} + +src_configure() { + local mycmakeargs=( + -DWANT_ALSA=$(usex alsa) + -DWANT_OPENAL=$(usex openal) + -DWANT_OSS=$(usex oss) + -DWANT_PLAYER=$(usex player) + -DWANT_SNDIO=$(usex sndio) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + insinto /etc/${PN}/ + doins cfg/wildmidi.cfg + + readme.gentoo_create_doc +} |