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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 693FA15812D for ; Wed, 01 Jan 2025 16:10:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94A7FE03EC; Wed, 01 Jan 2025 16:10:13 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7B0E1E03EC for ; Wed, 01 Jan 2025 16:10:13 +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 7057033C84E for ; Wed, 01 Jan 2025 16:10:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 99F83AED for ; Wed, 01 Jan 2025 16:10:10 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1735747775.c7e1dc7ae0fc8d17c056e54afe363b62da17829d.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libmikmod/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libmikmod/Manifest media-libs/libmikmod/libmikmod-3.3.12.ebuild X-VCS-Directories: media-libs/libmikmod/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: c7e1dc7ae0fc8d17c056e54afe363b62da17829d X-VCS-Branch: master Date: Wed, 01 Jan 2025 16:10:10 +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: 4bb88741-c128-4a32-9be4-ddc9b44bc5de X-Archives-Hash: 0e48d9c17c74c03c06d982aec97aff74 commit: c7e1dc7ae0fc8d17c056e54afe363b62da17829d Author: Miroslav Šulc gentoo org> AuthorDate: Wed Jan 1 16:09:35 2025 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Wed Jan 1 16:09:35 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7e1dc7a media-libs/libmikmod: bump to 3.3.12 Signed-off-by: Miroslav Šulc gentoo.org> media-libs/libmikmod/Manifest | 1 + media-libs/libmikmod/libmikmod-3.3.12.ebuild | 81 ++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/media-libs/libmikmod/Manifest b/media-libs/libmikmod/Manifest index b48498e0a9bc..eb87f373978e 100644 --- a/media-libs/libmikmod/Manifest +++ b/media-libs/libmikmod/Manifest @@ -1 +1,2 @@ DIST libmikmod-3.3.11.1.tar.gz 1240373 BLAKE2B 9de58eea739f8f7a5c4ff482093974f67a623fd0acd3b65752b0832b1376fb05ca00e7fbd09c242a25fb76d90d662afc3886808fbe6cabb15332f263adba37ad SHA512 f2439e2b691613847cd0787dd4e050116683ce7b05c215b8afecde5c6add819ea6c18e678e258c0a80786bef463f406072de15127f64368f694287a5e8e1a9de +DIST libmikmod-3.3.12.tar.gz 1305911 BLAKE2B 52208c5c5938194d4873488644baa5bd1c57ce67304b2201696654f177f6f57ac16877de0c33b936361626ab68b08e7309c0ca19579fd08167b6d3a115d75113 SHA512 df0fab3c6ac0583cc588be53fcbc1de7c277394f70892f7addbc6eef889ce33da6aa6508cfdceaf68f8803b7d8aae672e6b8ddbef8836b0be578349b7ebce20a diff --git a/media-libs/libmikmod/libmikmod-3.3.12.ebuild b/media-libs/libmikmod/libmikmod-3.3.12.ebuild new file mode 100644 index 000000000000..0c7d98a0a0b2 --- /dev/null +++ b/media-libs/libmikmod/libmikmod-3.3.12.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit multilib multilib-minimal + +DESCRIPTION="Library to play a wide range of module formats" +HOMEPAGE="https://mikmod.sourceforge.net/" +SRC_URI="https://downloads.sourceforge.net/mikmod/${P}.tar.gz" + +LICENSE="LGPL-2+ LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="+alsa coreaudio cpu_flags_ppc_altivec debug nas openal oss pulseaudio cpu_flags_x86_sse2 static-libs +threads" + +REQUIRED_USE="|| ( alsa coreaudio nas openal oss pulseaudio )" + +COMMON_DEPEND=" + alsa? ( >=media-libs/alsa-lib-1.0.27.2:=[${MULTILIB_USEDEP}] ) + nas? ( >=media-libs/nas-1.9.4:=[${MULTILIB_USEDEP}] ) + openal? ( >=media-libs/openal-1.15.1-r1[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] ) +" +DEPEND="${COMMON_DEPEND} + oss? ( virtual/os-headers ) +" +RDEPEND="${COMMON_DEPEND} + !${CATEGORY}/${PN}:2 +" +BDEPEND="sys-apps/texinfo" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/libmikmod-config +) + +src_prepare() { + default + + # USE=debug enables Werror, bug #621688 + sed -i -e 's/-Werror//' configure || die +} + +multilib_src_configure() { + local mysimd="--disable-simd" + if use ppc || use ppc64 || use ppc-macos; then + mysimd="$(use_enable cpu_flags_ppc_altivec simd)" + fi + if use amd64 || use x86 || use amd64-linux || use x86-linux || use x64-macos; then + mysimd="$(use_enable cpu_flags_x86_sse2 simd)" + fi + + # sdl, sdl2: missing multilib supported ebuilds, temporarily disabled, remember to update REQUIRED_USE + ECONF_SOURCE=${S} econf \ + $(use_enable alsa) \ + $(use_enable nas) \ + $(use_enable pulseaudio) \ + --disable-sdl \ + --disable-sdl2 \ + $(use_enable openal) \ + $(use_enable oss) \ + $(use_enable coreaudio osx) \ + $(use_enable debug) \ + $(use_enable threads) \ + $(use_enable static-libs static) \ + --disable-dl \ + ${mysimd} +} + +multilib_src_install() { + emake DESTDIR="${D}" install + dosym ${PN}$(get_libname 3) /usr/$(get_libdir)/${PN}$(get_libname 2) +} + +multilib_src_install_all() { + dodoc AUTHORS NEWS README TODO + docinto html + dodoc docs/*.html + + find "${ED}" -name '*.la' -delete || die +}