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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C09A6138334 for ; Sun, 15 Sep 2019 09:51:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB882E092C; Sun, 15 Sep 2019 09:51:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B4401E092C for ; Sun, 15 Sep 2019 09:51:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 59BAA34B1DF for ; Sun, 15 Sep 2019 09:51:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 98FE47F7 for ; Sun, 15 Sep 2019 09:51:31 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1568541075.f3bbce52e0e61bd233cf9cab2f1fcf11e2a172a0.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/mupen64plus-rsp-hle/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/mupen64plus-rsp-hle/Manifest games-emulation/mupen64plus-rsp-hle/mupen64plus-rsp-hle-2.5.9.ebuild X-VCS-Directories: games-emulation/mupen64plus-rsp-hle/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f3bbce52e0e61bd233cf9cab2f1fcf11e2a172a0 X-VCS-Branch: master Date: Sun, 15 Sep 2019 09:51:31 +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: 48a14b9c-9848-45c4-ab29-e023491b2b59 X-Archives-Hash: 222c260af4d4ca955667be69fc05fee7 commit: f3bbce52e0e61bd233cf9cab2f1fcf11e2a172a0 Author: Michał Górny gentoo org> AuthorDate: Sun Sep 15 08:54:28 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Sep 15 09:51:15 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3bbce52 games-emulation/mupen64plus-rsp-hle: Bump to 2.5.9 Signed-off-by: Michał Górny gentoo.org> games-emulation/mupen64plus-rsp-hle/Manifest | 1 + .../mupen64plus-rsp-hle-2.5.9.ebuild | 68 ++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/games-emulation/mupen64plus-rsp-hle/Manifest b/games-emulation/mupen64plus-rsp-hle/Manifest index e9d855d3812..977842322c9 100644 --- a/games-emulation/mupen64plus-rsp-hle/Manifest +++ b/games-emulation/mupen64plus-rsp-hle/Manifest @@ -1 +1,2 @@ +DIST mupen64plus-rsp-hle-src-2.5.9.tar.gz 53889 BLAKE2B e66996ffbce1d4b2b40f1520f0806692652dbf7baa55a73f632f2dafe75f93093e0575bb1c7e63cc1cd8770c1cc0e6d59db9021fcb0fa2e34d707511dd3a40b0 SHA512 562f3a9d9eff01f11c13aca657fb6471f365fbfbe079ea5e1e6f0ad49b27ba04779bc86233bcacd20c95c79f7fa265f053b3fa4c2b12828c6a8992762c4b6963 DIST mupen64plus-rsp-hle-src-2.5.tar.gz 46998 BLAKE2B 3bb5ee627fa4c367e7dd1ef0ac0a1eae1267cf82ac66a35f4dcd972703b9cba832224cab1be20c75e9f61af2afae0c8eb7dd6ba806a47c57eef6e6c5da9e8a5a SHA512 564d96050890cc61df05163f99a0be8198e870f0d4071e87828bf58b283b2be8ca7de20ed03482ea8c45725bdd6f6baea618c068cced407892cf2add6ef373c6 diff --git a/games-emulation/mupen64plus-rsp-hle/mupen64plus-rsp-hle-2.5.9.ebuild b/games-emulation/mupen64plus-rsp-hle/mupen64plus-rsp-hle-2.5.9.ebuild new file mode 100644 index 00000000000..4d18794f870 --- /dev/null +++ b/games-emulation/mupen64plus-rsp-hle/mupen64plus-rsp-hle-2.5.9.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P=${PN}-src-${PV} +inherit toolchain-funcs + +DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, HLE RSP plugin" +HOMEPAGE="https://www.mupen64plus.org/" +SRC_URI="https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=games-emulation/mupen64plus-core-${PV}:0=" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + default + + # avoid implicitly appending CPU flags + sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die +} + +src_compile() { + MAKEARGS=( + # Note: please keep this in sync in all of mupen64plus-* packages + + -C projects/unix + + # this basically means: GNU userspace + UNAME=Linux + + # verbose output + V=1 + + CROSS_COMPILE="${CHOST}-" + CC="$(tc-getCC)" + CXX="$(tc-getCXX)" + PKG_CONFIG="$(tc-getPKG_CONFIG)" + # usual CFLAGS, CXXFLAGS and LDFLAGS are respected + # so we can leave OPTFLAGS empty + OPTFLAGS= + + # paths, some of them are used at compile time + PREFIX=/usr + LIBDIR=/usr/$(get_libdir) + + # disable unwanted magic + LDCONFIG=: + INSTALL_STRIP_FLAG= + ) + + use amd64 && MAKEARGS+=( HOST_CPU=x86_64 ) + use x86 && MAKEARGS+=( HOST_CPU=i386 ) + + emake "${MAKEARGS[@]}" all +} + +src_install() { + emake "${MAKEARGS[@]}" DESTDIR="${D}" install + dodoc RELEASE +}