public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/openmpt123/
Date: Mon, 27 Dec 2021 13:14:37 +0000 (UTC)	[thread overview]
Message-ID: <1640610857.486e52056c7e352a04b3eac6cb263486bf09ad45.chewi@gentoo> (raw)

commit:     486e52056c7e352a04b3eac6cb263486bf09ad45
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 27 13:14:17 2021 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Mon Dec 27 13:14:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=486e5205

media-sound/openmpt123: Version bump to 0.6.0

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 media-sound/openmpt123/Manifest                |  1 +
 media-sound/openmpt123/openmpt123-0.6.0.ebuild | 73 ++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/media-sound/openmpt123/Manifest b/media-sound/openmpt123/Manifest
index 197a8eaf9e90..28104baf1634 100644
--- a/media-sound/openmpt123/Manifest
+++ b/media-sound/openmpt123/Manifest
@@ -1 +1,2 @@
 DIST libopenmpt-0.5.14+release.autotools.tar.gz 1446898 BLAKE2B ab6ff8db2e19d859fecca882aea3e569b58d96d5055ec0dd42494a7eb38fefa9c8b88f4700d354de71346c71c6d9a96327db1c2b7b48e227928dcba0ce7347d6 SHA512 8897549c18afb57c5bf54f4dd8a1d80983829bca958052d76cda1315ef4a37f4201575817b7cedfe17a44ee79051a52aa35b26a51b554091e92c9d2dcf5924a3
+DIST libopenmpt-0.6.0+release.autotools.tar.gz 1506911 BLAKE2B 44cf8c5f725d2b11409d23e293dca0c151cad17c029da7f70a22366e75baa1b49b763f67d617d84a142efd3933b90344ccca5d881e5c724e2cfe0210170593dc SHA512 8da6cf1f2dbf683c32f45cbf884784360cced5e21f9862c96a1a679bd90b36be9a7cc59accbf82271a804722986cb81e75915f6564aeaaa248ed3e967dfdfb1a

diff --git a/media-sound/openmpt123/openmpt123-0.6.0.ebuild b/media-sound/openmpt123/openmpt123-0.6.0.ebuild
new file mode 100644
index 000000000000..82cbe36ce684
--- /dev/null
+++ b/media-sound/openmpt123/openmpt123-0.6.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib
+
+MY_P="libopenmpt-${PV}+release.autotools"
+DESCRIPTION="libopenmpt-based command line player for tracked music files (modules)"
+HOMEPAGE="https://lib.openmpt.org/libopenmpt/"
+SRC_URI="https://lib.openmpt.org/files/libopenmpt/src/${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~riscv ~x86"
+IUSE="flac portaudio pulseaudio sdl sndfile"
+
+RDEPEND="
+	~media-libs/libopenmpt-${PV}
+	flac? ( media-libs/flac )
+	pulseaudio? ( media-sound/pulseaudio )
+	sdl? ( >=media-libs/libsdl2-2.0.4 )
+	sndfile? ( media-libs/libsndfile )
+"
+
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+	default
+
+	# Normally libopenmpt is built alongside openmpt123. Avoid the
+	# internal dependency and link it externally.
+	rm -r libopenmpt/ || die
+	sed -i \
+		-e "s:libopenmpt/libopenmpt\.pc::g" \
+		configure || die
+	sed -i \
+		-e "/_${PN}_DEPENDENCIES/s:libopenmpt\.la::g" \
+		-e "/_${PN}_LDADD/s:libopenmpt\.la:-lopenmpt:g" \
+		Makefile.in || die
+}
+
+src_configure() {
+	# A lot of these optional dependencies relate to libopenmpt, which
+	# we package separately, so we disable them here.
+	econf \
+		--disable-static \
+		--enable-openmpt123 \
+		--disable-examples \
+		--disable-tests \
+		--disable-doxygen-doc \
+		--without-zlib \
+		--without-mpg123 \
+		--without-ogg \
+		--without-vorbis \
+		--without-vorbisfile \
+		$(use_with pulseaudio) \
+		$(use_with portaudio) \
+		--without-portaudiocpp \
+		$(use_with sdl sdl2) \
+		$(use_with sndfile) \
+		$(use_with flac)
+}
+
+src_compile() {
+	emake "bin/${PN}$(get_exeext)"
+}
+
+src_install() {
+	dobin "bin/${PN}$(get_exeext)"
+}


             reply	other threads:[~2021-12-27 13:14 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-27 13:14 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-15 22:22 [gentoo-commits] repo/gentoo:master commit in: media-sound/openmpt123/ James Le Cuirot
2024-05-22 21:15 James Le Cuirot
2024-03-24 21:23 James Le Cuirot
2024-03-24 16:20 James Le Cuirot
2023-10-12 21:11 James Le Cuirot
2023-07-12 21:07 James Le Cuirot
2023-06-02 21:14 James Le Cuirot
2023-04-16 15:58 James Le Cuirot
2023-03-06 23:41 James Le Cuirot
2023-02-04 17:56 James Le Cuirot
2023-01-13 23:33 James Le Cuirot
2022-12-10 10:02 James Le Cuirot
2022-09-26 21:01 James Le Cuirot
2022-09-10  8:41 Sam James
2022-08-25 20:39 James Le Cuirot
2022-06-18  8:50 James Le Cuirot
2022-04-27 21:50 James Le Cuirot
2022-03-15 23:19 James Le Cuirot
2022-02-06 11:15 James Le Cuirot
2022-02-06 11:15 James Le Cuirot
2021-12-17 23:54 James Le Cuirot
2021-11-22  5:54 Yixun Lan
2021-11-18 22:21 James Le Cuirot
2021-10-16  7:59 James Le Cuirot
2021-09-04  7:14 James Le Cuirot
2021-07-06 21:18 James Le Cuirot
2021-05-21 20:04 James Le Cuirot
2021-04-16 22:06 James Le Cuirot
2021-04-03 20:08 James Le Cuirot
2021-02-03 17:14 James Le Cuirot
2020-12-04 22:39 James Le Cuirot
2020-10-26 21:49 James Le Cuirot
2020-09-01  9:32 James Le Cuirot
2020-08-18 22:21 James Le Cuirot
2020-06-03 20:07 James Le Cuirot
2020-04-16 20:44 James Le Cuirot
2019-12-27 15:32 James Le Cuirot
2019-12-08 15:38 James Le Cuirot

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=1640610857.486e52056c7e352a04b3eac6cb263486bf09ad45.chewi@gentoo \
    --to=chewi@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