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: Sun, 8 Dec 2019 15:38:04 +0000 (UTC) [thread overview]
Message-ID: <1575819460.2c715e98e064af930449be684e94e58c5f553c00.chewi@gentoo> (raw)
commit: 2c715e98e064af930449be684e94e58c5f553c00
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 8 15:03:38 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Dec 8 15:37:40 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c715e98
media-sound/openmpt123: New package
I have packaged libopenmpt separately. Both have many USE flags that
could be explained in the metadata but are more intuitive when
separated.
Closes: https://bugs.gentoo.org/598818
Package-Manager: Portage-2.3.81, Repoman-2.3.19
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
media-sound/openmpt123/Manifest | 1 +
media-sound/openmpt123/metadata.xml | 11 ++++
media-sound/openmpt123/openmpt123-0.4.10.ebuild | 74 +++++++++++++++++++++++++
3 files changed, 86 insertions(+)
diff --git a/media-sound/openmpt123/Manifest b/media-sound/openmpt123/Manifest
new file mode 100644
index 00000000000..a169d542130
--- /dev/null
+++ b/media-sound/openmpt123/Manifest
@@ -0,0 +1 @@
+DIST libopenmpt-0.4.10+release.autotools.tar.gz 1471662 BLAKE2B c20ef4d26b583f5cbbed5e6d108ce6f55fef74726997267a56d16b8508fb46f26f62f934a98bcc20749da2ed2aef0bdd22931cc785806ec0b6c5daef593d196d SHA512 d7c46016eea59c21e3f948d8538a747d5fa6b29f160841b688878d8ce48859d014c3a036738074b3d260af6e662c36b03391aef511c1817a5ace81f60bf27dfc
diff --git a/media-sound/openmpt123/metadata.xml b/media-sound/openmpt123/metadata.xml
new file mode 100644
index 00000000000..334feada06c
--- /dev/null
+++ b/media-sound/openmpt123/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>chewi@gentoo.org</email>
+ <name>James Le Cuirot</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">OpenMPT/openmpt</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-sound/openmpt123/openmpt123-0.4.10.ebuild b/media-sound/openmpt123/openmpt123-0.4.10.ebuild
new file mode 100644
index 00000000000..e7c6d6f4b4b
--- /dev/null
+++ b/media-sound/openmpt123/openmpt123-0.4.10.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~x86"
+IUSE="flac portaudio pulseaudio sdl sndfile"
+
+RDEPEND="
+ ~media-libs/libopenmpt-${PV}
+ flac? ( media-libs/flac )
+ pulseaudio? ( media-sound/pulseaudio )
+ sdl? ( media-libs/libsdl2 )
+ 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) \
+ --without-sdl \
+ $(use_with sndfile) \
+ $(use_with flac)
+}
+
+src_compile() {
+ emake "bin/${PN}$(get_exeext)"
+}
+
+src_install() {
+ dobin "bin/${PN}$(get_exeext)"
+}
next reply other threads:[~2019-12-08 15:38 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-08 15:38 James Le Cuirot [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-12-27 15:32 [gentoo-commits] repo/gentoo:master commit in: media-sound/openmpt123/ James Le Cuirot
2020-04-16 20:44 James Le Cuirot
2020-06-03 20:07 James Le Cuirot
2020-08-18 22:21 James Le Cuirot
2020-09-01 9:32 James Le Cuirot
2020-10-26 21:49 James Le Cuirot
2020-12-04 22:39 James Le Cuirot
2021-02-03 17:14 James Le Cuirot
2021-04-03 20:08 James Le Cuirot
2021-04-16 22:06 James Le Cuirot
2021-05-21 20:04 James Le Cuirot
2021-07-06 21:18 James Le Cuirot
2021-09-04 7:14 James Le Cuirot
2021-10-16 7:59 James Le Cuirot
2021-11-18 22:21 James Le Cuirot
2021-11-22 5:54 Yixun Lan
2021-12-17 23:54 James Le Cuirot
2021-12-27 13:14 James Le Cuirot
2022-02-06 11:15 James Le Cuirot
2022-02-06 11:15 James Le Cuirot
2022-03-15 23:19 James Le Cuirot
2022-04-27 21:50 James Le Cuirot
2022-06-18 8:50 James Le Cuirot
2022-08-25 20:39 James Le Cuirot
2022-09-10 8:41 Sam James
2022-09-26 21:01 James Le Cuirot
2022-12-10 10:02 James Le Cuirot
2023-01-13 23:33 James Le Cuirot
2023-02-04 17:56 James Le Cuirot
2023-03-06 23:41 James Le Cuirot
2023-04-16 15:58 James Le Cuirot
2023-06-02 21:14 James Le Cuirot
2023-07-12 21:07 James Le Cuirot
2023-10-12 21:11 James Le Cuirot
2024-03-24 16:20 James Le Cuirot
2024-03-24 21:23 James Le Cuirot
2024-05-22 21:15 James Le Cuirot
2024-08-15 22:22 James Le Cuirot
2024-10-20 22:21 James Le Cuirot
2025-01-09 23:36 James Le Cuirot
2025-06-23 21:53 James Le Cuirot
2025-08-01 22:11 James Le Cuirot
2025-08-01 22:22 James Le Cuirot
2025-09-14 20:44 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=1575819460.2c715e98e064af930449be684e94e58c5f553c00.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