public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/wildmidi/
Date: Fri, 27 Jan 2023 07:33:28 +0000 (UTC)	[thread overview]
Message-ID: <1674804803.31da6b0ccc026c0ef62f5c47a88d1720a0aa04ea.juippis@gentoo> (raw)

commit:     31da6b0ccc026c0ef62f5c47a88d1720a0aa04ea
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Wed Jan 18 08:46:59 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jan 27 07:33:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31da6b0c

media-sound/wildmidi: add 0.4.5

Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/29153
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-sound/wildmidi/Manifest              |  1 +
 media-sound/wildmidi/wildmidi-0.4.5.ebuild | 59 ++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/media-sound/wildmidi/Manifest b/media-sound/wildmidi/Manifest
index ce7887439414..07efe5000c1c 100644
--- a/media-sound/wildmidi/Manifest
+++ b/media-sound/wildmidi/Manifest
@@ -1 +1,2 @@
 DIST wildmidi-0.4.4.tar.gz 197597 BLAKE2B 5f5b11bec70b24b4798ac39d4d30420916609f3d65497ef88b48ef292f41d0cc81cc8d9c8c47ffc68705d6297a9ce55ef5d7ebdf63f8c18b8b0f7982c1f60bfc SHA512 5b74ee83f1d7ce3b45d2f996aaa30ec6e7d7808eab294a3eaf6fcef77443523df1f54bb0fb1b3105edd0d72d75885fda1a2e97c68defb5bbd687bda5077d3454
+DIST wildmidi-0.4.5.tar.gz 197793 BLAKE2B a0b43e19b4e4ced6c4f536dd5e1ac313acd26ad0c3c9deed7068181666a175f4dfdf5cb522d70fdaf0636cc4b3b1af3cedfda54a6c048b05e828a4d1ad185b77 SHA512 0229914ecc60091b649b790a82ad5e755a2b9dfab7443fb3e3c19f4ae64b82817cafe74d78c27f05c68c3c8fb30092c96da732d27ff82fbd7dd7d577facc23d6

diff --git a/media-sound/wildmidi/wildmidi-0.4.5.ebuild b/media-sound/wildmidi/wildmidi-0.4.5.ebuild
new file mode 100644
index 000000000000..a5a398d0f3c0
--- /dev/null
+++ b/media-sound/wildmidi/wildmidi-0.4.5.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2023 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"
+
+DEPEND="
+	player? (
+		alsa? ( media-libs/alsa-lib )
+		openal? ( media-libs/openal )
+	)
+"
+RDEPEND="${DEPEND}
+	media-sound/timidity-freepats
+"
+
+REQUIRED_USE="player? ( ^^ ( alsa oss openal ) )"
+
+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)
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	insinto /etc/${PN}/
+	doins cfg/wildmidi.cfg
+
+	readme.gentoo_create_doc
+}


             reply	other threads:[~2023-01-27  7:33 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-27  7:33 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-21  0:32 [gentoo-commits] repo/gentoo:master commit in: media-sound/wildmidi/ Sam James
2024-07-21  0:32 Sam James
2024-07-21  0:32 Sam James
2024-07-20 22:46 Sam James
2024-07-20 22:34 Sam James
2024-04-11 22:16 Yixun Lan
2023-02-03 21:43 Andreas Sturmlechner
2023-02-02 19:00 Arthur Zamarin
2023-02-02 12:58 Sam James
2023-02-02 12:58 Sam James
2023-02-02 12:54 Sam James
2023-02-02 12:54 Sam James
2022-12-19 14:47 Andreas Sturmlechner
2022-12-10 10:02 James Le Cuirot
2021-09-02 10:04 Yixun Lan
2021-08-23 22:16 Agostino Sarubbo
2021-08-23  0:39 Sam James
2021-08-22  5:15 Agostino Sarubbo
2021-08-22  5:14 Agostino Sarubbo
2021-08-22  5:14 Agostino Sarubbo
2021-03-31  7:40 Joonas Niilola
2021-02-14 20:04 Andreas Sturmlechner
2020-12-13  8:51 Sam James
2020-12-04 18:37 Sergei Trofimovich
2020-12-04 18:31 Sergei Trofimovich
2020-12-03  9:25 Joonas Niilola
2020-12-03  9:25 Joonas Niilola
2018-09-30 15:39 Andreas Sturmlechner
2018-09-19 17:41 Markus Meier
2018-08-25 18:55 Sergei Trofimovich
2018-08-25 18:25 Sergei Trofimovich
2018-08-24  3:39 Mikle Kolyada
2018-08-24  1:40 Thomas Deutschmann
2018-08-22 21:06 Andreas Sturmlechner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1674804803.31da6b0ccc026c0ef62f5c47a88d1720a0aa04ea.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox