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 3C37C158089 for ; Sun, 15 Oct 2023 11:40:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2AE602BC02B; Sun, 15 Oct 2023 11:40:08 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0B25C2BC02B for ; Sun, 15 Oct 2023 11:40:08 +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 8EC67335D0D for ; Sun, 15 Oct 2023 11:40:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BC6BF11E3 for ; Sun, 15 Oct 2023 11:40:03 +0000 (UTC) From: "Mart Raudsepp" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" Message-ID: <1697369874.1d6b92480146a0d54c15e6fe44963d6abf1fb1cc.leio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsidplay/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libsidplay/libsidplay-1.36.59-r3.ebuild X-VCS-Directories: media-libs/libsidplay/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: 1d6b92480146a0d54c15e6fe44963d6abf1fb1cc X-VCS-Branch: master Date: Sun, 15 Oct 2023 11:40:03 +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: b8297272-2d93-4c8a-97bb-995714b27cdc X-Archives-Hash: 12812b15677e92fe9b02a8fd9f706f9e commit: 1d6b92480146a0d54c15e6fe44963d6abf1fb1cc Author: Mart Raudsepp gentoo org> AuthorDate: Sun Oct 15 11:31:55 2023 +0000 Commit: Mart Raudsepp gentoo org> CommitDate: Sun Oct 15 11:37:54 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d6b9248 media-libs/libsidplay:1: fix compile issues, update EAPI, disable static-libs Closes: https://bugs.gentoo.org/859919 Closes: https://bugs.gentoo.org/896252 Signed-off-by: Mart Raudsepp gentoo.org> media-libs/libsidplay/libsidplay-1.36.59-r3.ebuild | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/media-libs/libsidplay/libsidplay-1.36.59-r3.ebuild b/media-libs/libsidplay/libsidplay-1.36.59-r3.ebuild new file mode 100644 index 000000000000..400b628f638b --- /dev/null +++ b/media-libs/libsidplay/libsidplay-1.36.59-r3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic multilib-minimal + +DESCRIPTION="C64 SID player library" +HOMEPAGE="http://critical.ch/distfiles/" +SRC_URI="http://critical.ch/distfiles/${P}.tgz" + +LICENSE="GPL-2" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="" +DEPEND="" +RDEPEND="" + +DOCS=( AUTHORS DEVELOPER ) +PATCHES=( + "${FILESDIR}"/${P}-gcc43.patch + "${FILESDIR}"/${P}-fix-c++14.patch +) + +src_prepare() { + default + + # Ships with a autoconf-2.59 generated ./configure, which misdetects strnicmp, bug #859919 + mv configure.{in,ac} || die + eautoreconf +} + +multilib_src_configure() { + # Uses register storage class specifier and it is an ancient version that may have + # other problems with newer C++, bug #896252 + append-cxxflags -std=gnu++14 + ECONF_SOURCE="${S}" econf +} + +multilib_src_install_all() { + einstalldocs + find "${D}" -name '*.la' -delete || die +}