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 5A823158094 for ; Mon, 26 Sep 2022 21:01:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D731E08F0; Mon, 26 Sep 2022 21:01:41 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 58A86E08F0 for ; Mon, 26 Sep 2022 21:01:41 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6094F341270 for ; Mon, 26 Sep 2022 21:01:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A2B885EB for ; Mon, 26 Sep 2022 21:01:38 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1664226032.844b8c05ddfbacb2bcb05fe1774dc5c5b3a1f238.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenmpt/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libopenmpt/Manifest media-libs/libopenmpt/libopenmpt-0.6.6.ebuild X-VCS-Directories: media-libs/libopenmpt/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 844b8c05ddfbacb2bcb05fe1774dc5c5b3a1f238 X-VCS-Branch: master Date: Mon, 26 Sep 2022 21:01:38 +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: db633768-d477-4ef3-a3c4-3b9e013690a3 X-Archives-Hash: 2be0b6fffd6a345a4d11c030d578d74e commit: 844b8c05ddfbacb2bcb05fe1774dc5c5b3a1f238 Author: James Le Cuirot gentoo org> AuthorDate: Mon Sep 26 21:00:32 2022 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Mon Sep 26 21:00:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=844b8c05 media-libs/libopenmpt: Version bump to 0.6.6 Signed-off-by: James Le Cuirot gentoo.org> media-libs/libopenmpt/Manifest | 1 + media-libs/libopenmpt/libopenmpt-0.6.6.ebuild | 61 +++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/media-libs/libopenmpt/Manifest b/media-libs/libopenmpt/Manifest index 8133eac34cd8..39680ed66e5a 100644 --- a/media-libs/libopenmpt/Manifest +++ b/media-libs/libopenmpt/Manifest @@ -1,3 +1,4 @@ DIST libopenmpt-0.5.14+release.autotools.tar.gz 1446898 BLAKE2B ab6ff8db2e19d859fecca882aea3e569b58d96d5055ec0dd42494a7eb38fefa9c8b88f4700d354de71346c71c6d9a96327db1c2b7b48e227928dcba0ce7347d6 SHA512 8897549c18afb57c5bf54f4dd8a1d80983829bca958052d76cda1315ef4a37f4201575817b7cedfe17a44ee79051a52aa35b26a51b554091e92c9d2dcf5924a3 DIST libopenmpt-0.6.4+release.autotools.tar.gz 1547663 BLAKE2B f1c7254146437ce3ca646049c05fe4ae0575012724584a7b2cfce7dfdacf7987eb5403b0634d1961e1b7b176adfbbcbb23a9966d874e489ebcf01524a020750d SHA512 7306ddbe030b8e82ad24fc85083d13d7ca680870f4dbe7215399719cd63ee9ed9e5c4c6229e9f17fb5a2005e86b21ceed0dab158d3f0b73c606579654434421f DIST libopenmpt-0.6.5+release.autotools.tar.gz 1549710 BLAKE2B f04c3df0322f336bd9e90edbbac4fd0532a41fc1ff17c11a20371946bd9ccdc50c0f8adbf92858516d453213dc04bcc07c08a72739458966aba5dfe37a955b8a SHA512 eb59ddb22fa07f216c76138c022187c76065be56d51520ed0dcf6f77638aaf832a803f63a398ca8d47bd368aee24dd425242017136c299fade6fd98b9d7b628c +DIST libopenmpt-0.6.6+release.autotools.tar.gz 1554516 BLAKE2B 21e2fc4252431235608a52d3a321e26eae5d45f2328ff3e3604d84c537d72e07d72346c504901b000af04dfc52b1dd91c79f576be4331ea8685e534a174b61cd SHA512 b634c556f13dc51d1008f4216936a9b7cab25a6fb0d5218da0b692ec848de21905ed1981223ac9ecdebea9ce6c5376e91ff92e1655dd0be491fce0114e3230bf diff --git a/media-libs/libopenmpt/libopenmpt-0.6.6.ebuild b/media-libs/libopenmpt/libopenmpt-0.6.6.ebuild new file mode 100644 index 000000000000..31433906b65f --- /dev/null +++ b/media-libs/libopenmpt/libopenmpt-0.6.6.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib-minimal + +MY_P="libopenmpt-${PV}+release.autotools" +DESCRIPTION="Library to decode 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 ~ppc ~ppc64 ~riscv ~x86" +IUSE="examples mp3 ogg static-libs test vorbis zlib" +RESTRICT="!test? ( test )" + +RDEPEND=" + mp3? ( media-sound/mpg123[${MULTILIB_USEDEP}] ) + ogg? ( media-libs/libogg[${MULTILIB_USEDEP}] ) + vorbis? ( media-libs/libvorbis[${MULTILIB_USEDEP}] ) + zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] ) +" + +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" +ECONF_SOURCE="${S}" + +multilib_src_configure() { + # A lot of these optional dependencies relate to openmpt123, which + # we package separately, so we disable them here. + econf \ + $(use_enable static-libs static) \ + --disable-openmpt123 \ + --disable-examples \ + $(use_enable test tests) \ + --disable-doxygen-doc \ + $(use_with zlib) \ + $(use_with mp3 mpg123) \ + $(use_with ogg) \ + $(use_with vorbis) \ + $(use_with vorbis vorbisfile) \ + --without-pulseaudio \ + --without-portaudio \ + --without-portaudiocpp \ + --without-sdl2 \ + --without-sndfile \ + --without-flac +} + +multilib_src_install_all() { + rm -f \ + "${ED}"/usr/*/*.la \ + "${ED}"/usr/share/doc/${P}/LICENSE || die + + if ! use examples; then + rm -r "${ED}"/usr/share/doc/${P}/examples || die + fi +}