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 0600A158087 for ; Wed, 19 Jan 2022 16:45:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 336492BC011; Wed, 19 Jan 2022 16:45:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 AEDA52BC011 for ; Wed, 19 Jan 2022 16:45:19 +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 7BBB6342D2F for ; Wed, 19 Jan 2022 16:45:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 88A5724E for ; Wed, 19 Jan 2022 16:45:16 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1642610701.2f67555306927d6bf6e93328a2be6c45d654842b.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednafen/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/mednafen/Manifest games-emulation/mednafen/mednafen-1.29.0.ebuild X-VCS-Directories: games-emulation/mednafen/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 2f67555306927d6bf6e93328a2be6c45d654842b X-VCS-Branch: master Date: Wed, 19 Jan 2022 16:45:16 +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: f45b4cde-0d87-46ad-9ce8-42297971ac35 X-Archives-Hash: af6df601b41ece188c02e3e15352f4d8 commit: 2f67555306927d6bf6e93328a2be6c45d654842b Author: Ionen Wolkens gentoo org> AuthorDate: Wed Jan 19 16:44:48 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Wed Jan 19 16:45:01 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f675553 games-emulation/mednafen: add 1.29.0 Signed-off-by: Ionen Wolkens gentoo.org> games-emulation/mednafen/Manifest | 1 + games-emulation/mednafen/mednafen-1.29.0.ebuild | 80 +++++++++++++++++++++++++ 2 files changed, 81 insertions(+) diff --git a/games-emulation/mednafen/Manifest b/games-emulation/mednafen/Manifest index 5ef17b7c8d8c..03d23eaad428 100644 --- a/games-emulation/mednafen/Manifest +++ b/games-emulation/mednafen/Manifest @@ -1 +1,2 @@ DIST mednafen-1.27.1.tar.xz 3363540 BLAKE2B f74c251300af2348db00d68ef2cd998bdf4d6fb06873e03e0027d836b5b1217901b1e2cf922877b1db4c278ba4cc2674e4875a17fff52a3b8be5a447670a6385 SHA512 f55d86baa8c77fc98aae63a38235eb64f64131f180c40ed1ac7cd2ad845230348fbba05643eb5e6af203e56c39c8011b632d2bcecbd2c9f2c19b2447f6b99e83 +DIST mednafen-1.29.0.tar.xz 3512784 BLAKE2B bea5ecfe00f97d1cf81eccfe4264d8fea666c9c8543449ca8c1e4e064f89a100f6bbe77b23d42d5d9c4a7e005792006d599852a201f1d95a756742bc58ecda81 SHA512 375f0fb4f12907faf56b4e9ecdc44c1655b0660a3773240fe3118f2b261e171479b8eb254299f899fc442b54041c941eab2a5f343aec559d9731c3e92cde0569 diff --git a/games-emulation/mednafen/mednafen-1.29.0.ebuild b/games-emulation/mednafen/mednafen-1.29.0.ebuild new file mode 100644 index 000000000000..a57c4dde457d --- /dev/null +++ b/games-emulation/mednafen/mednafen-1.29.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic pax-utils toolchain-funcs + +DESCRIPTION="Argument-driven multi-system emulator utilizing OpenGL and SDL" +HOMEPAGE="https://mednafen.github.io/" +SRC_URI="https://mednafen.github.io/releases/files/${P}.tar.xz" +S="${WORKDIR}/${PN}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa cpu_flags_ppc_altivec flac jack" + +RDEPEND=" + app-arch/zstd:= + dev-libs/lzo:2 + dev-libs/trio + media-libs/libsdl2[joystick,opengl,video] + media-libs/tremor + media-sound/musepack-tools + sys-libs/zlib:=[minizip] + virtual/libintl + alsa? ( media-libs/alsa-lib ) + flac? ( media-libs/flac ) + jack? ( virtual/jack )" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig" + +src_prepare() { + default + + # don't let the build system mess with CFLAGS more than necessary, + # most are questionable (see README.PORTING/configure.ac comments) + # -fwrapv: kept for bug #539992 + sed -e '/CC_OPT.*CODEGEN_FLAGS/{/-fwrapv/!d}' \ + -e '/CC_OPT.*NOPICPIE_FLAGS/d' \ + -e '/CC_OPT.*NO_STACK_PROTECTOR_FLAGS/d' \ + -e '/CC_OPT.*OPTIMIZER_FLAGS/c\:' \ + -e '/CC_OPT.*-mtune.*SS_EXTRA_FLAGS/d' \ + -e '/LINK_FLAG.*NOPICPIE_LDFLAGS/d' \ + -i configure.ac || die + eautoreconf +} + +src_configure() { + # disable unnecessary warnings not to confuse users (see src/types.h) + append-cppflags -DMDFN_DISABLE_{NO_OPT,PICPIE}_ERRWARN + + local myeconfargs=( + $(use_enable alsa) + $(use_enable cpu_flags_ppc_altivec altivec) + $(use_enable jack) + $(use_with flac libflac) + --with-external-{libzstd,lzo,mpcdec,tremor,trio} + ) + + econf "${myeconfargs[@]}" +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + local DOCS=( + ChangeLog + Documentation/{cheats.txt,fname_format.txt,modules.def,settings.def} + ) + local HTML_DOCS=( Documentation/*.{css,html,png} ) + + default + + pax-mark m "${ED}"/usr/bin/mednafen +}