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 E34D915806E for ; Fri, 2 Jun 2023 21:14:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27C3CE0898; Fri, 2 Jun 2023 21:14:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 068F0E0898 for ; Fri, 2 Jun 2023 21:14:20 +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 F11FF3411D4 for ; Fri, 2 Jun 2023 21:14:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8CC301D for ; Fri, 2 Jun 2023 21:14:17 +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: <1685740432.02371806c1838e54d284e8c7f89cd76debaacfe9.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.7.1.ebuild X-VCS-Directories: media-libs/libopenmpt/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 02371806c1838e54d284e8c7f89cd76debaacfe9 X-VCS-Branch: master Date: Fri, 2 Jun 2023 21:14:17 +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: cdf7a717-ff7e-45df-952c-4ed8986915f2 X-Archives-Hash: 65e9d8b281634639abe7958c24c6b244 commit: 02371806c1838e54d284e8c7f89cd76debaacfe9 Author: James Le Cuirot gentoo org> AuthorDate: Fri Jun 2 21:12:47 2023 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Fri Jun 2 21:13:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02371806 media-libs/libopenmpt: Version bump to 0.7.1 Signed-off-by: James Le Cuirot gentoo.org> media-libs/libopenmpt/Manifest | 1 + media-libs/libopenmpt/libopenmpt-0.7.1.ebuild | 61 +++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/media-libs/libopenmpt/Manifest b/media-libs/libopenmpt/Manifest index 79af0080c2b7..b47d1874dabb 100644 --- a/media-libs/libopenmpt/Manifest +++ b/media-libs/libopenmpt/Manifest @@ -1,2 +1,3 @@ DIST libopenmpt-0.6.10+release.autotools.tar.gz 1559701 BLAKE2B 0a9cbb45babb9adf4196bae93e118d55898801a6333982058c1320bda24980ce561768f8bb885736d357f33b13af18bfc525edab89ce0329169345a8a6a745a6 SHA512 ffa5f02be36dd8667660aff20b33ac2781fb960bbc815e3246f8e31273eb85702ed51ed04e72a1086bb5a51916dfa7d7db981c55dea52eaaa9e07e00ec170351 DIST libopenmpt-0.6.6+release.autotools.tar.gz 1554516 BLAKE2B 21e2fc4252431235608a52d3a321e26eae5d45f2328ff3e3604d84c537d72e07d72346c504901b000af04dfc52b1dd91c79f576be4331ea8685e534a174b61cd SHA512 b634c556f13dc51d1008f4216936a9b7cab25a6fb0d5218da0b692ec848de21905ed1981223ac9ecdebea9ce6c5376e91ff92e1655dd0be491fce0114e3230bf +DIST libopenmpt-0.7.1+release.autotools.tar.gz 1650178 BLAKE2B 5bc9ad5640e842d7320df59c76cae7619a36dab72a5b084a65ab0b99f00d48ce1aaca4c7344a9e14eab05bd3f05c8f60a93bce68e99cd5f93344453dee90d29f SHA512 65468341b24d80f8bf0e9cf32d43b3ca3ced0323836373ae3c794b6df5b23d7e9c230ec37dd00777e22038d340adb56b20b83815e048fae22117ead0b4044bba diff --git a/media-libs/libopenmpt/libopenmpt-0.7.1.ebuild b/media-libs/libopenmpt/libopenmpt-0.7.1.ebuild new file mode 100644 index 000000000000..e5e9549227c0 --- /dev/null +++ b/media-libs/libopenmpt/libopenmpt-0.7.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 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 ~arm64 ~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 +}