From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AA748158041 for ; Thu, 11 Apr 2024 22:16:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 762C5E2A0E; Thu, 11 Apr 2024 22:16:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5E960E2A0E for ; Thu, 11 Apr 2024 22:16:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A837734331F for ; Thu, 11 Apr 2024 22:16:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C186C16BC for ; Thu, 11 Apr 2024 22:16:27 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1712873777.10b3a6a1216f24cdbe7d0d9e152d5bbd7a03257c.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/wildmidi/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/wildmidi/Manifest media-sound/wildmidi/metadata.xml media-sound/wildmidi/wildmidi-0.4.6.ebuild X-VCS-Directories: media-sound/wildmidi/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 10b3a6a1216f24cdbe7d0d9e152d5bbd7a03257c X-VCS-Branch: master Date: Thu, 11 Apr 2024 22:16:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cbcee23f-ffe0-4df2-a431-2f2535e130c0 X-Archives-Hash: 3fb3d7a36fba661bfed935e22d896d50 commit: 10b3a6a1216f24cdbe7d0d9e152d5bbd7a03257c Author: Azamat H. Hackimov gmail com> AuthorDate: Thu Apr 11 15:46:50 2024 +0000 Commit: Yixun Lan gentoo org> CommitDate: Thu Apr 11 22:16:17 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10b3a6a1 media-sound/wildmidi: add 0.4.6 Closes: https://github.com/gentoo/gentoo/pull/36213 Signed-off-by: Azamat H. Hackimov gmail.com> Signed-off-by: Yixun Lan gentoo.org> media-sound/wildmidi/Manifest | 1 + media-sound/wildmidi/metadata.xml | 1 + media-sound/wildmidi/wildmidi-0.4.6.ebuild | 59 ++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+) diff --git a/media-sound/wildmidi/Manifest b/media-sound/wildmidi/Manifest index 84611232756e..4c5d4869e7bb 100644 --- a/media-sound/wildmidi/Manifest +++ b/media-sound/wildmidi/Manifest @@ -1 +1,2 @@ DIST wildmidi-0.4.5.tar.gz 197793 BLAKE2B a0b43e19b4e4ced6c4f536dd5e1ac313acd26ad0c3c9deed7068181666a175f4dfdf5cb522d70fdaf0636cc4b3b1af3cedfda54a6c048b05e828a4d1ad185b77 SHA512 0229914ecc60091b649b790a82ad5e755a2b9dfab7443fb3e3c19f4ae64b82817cafe74d78c27f05c68c3c8fb30092c96da732d27ff82fbd7dd7d577facc23d6 +DIST wildmidi-0.4.6.tar.gz 199971 BLAKE2B 797d50e9e1a4ca52c6ddf610964dfa993833d7c78cbe12d333364e29940af1e334ef764730e94b1f09b3d5930e46fa1c5c4e8070026bf7b892dcdbdb9f0af1f6 SHA512 b7259578c1b334de13b49e27aef32ad43e41bc04f569601b765ecea789b8da536d07afdb581986b7c91de552db2a625b13d061e52a2c8c51652f3cf3d1a30000 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 @@ Install the wildmidi player + Enable support for the media-sound/sndio backend Mindwerks/wildmidi 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 +}