From 623ee73d661e5ed8475cb264511f683407d87365 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 12 Apr 2020 03:41:30 +0100 Subject: gentoo Easter resync : 12.04.2020 --- games-emulation/mupen64plus-video-rice/Manifest | 4 +- .../mupen64plus-video-rice/metadata.xml | 3 - .../mupen64plus-video-rice-2.5.9-r2.ebuild | 82 ++++++++++++++++++++++ .../mupen64plus-video-rice-2.5.9.ebuild | 82 ---------------------- 4 files changed, 84 insertions(+), 87 deletions(-) create mode 100644 games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.5.9-r2.ebuild delete mode 100644 games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.5.9.ebuild (limited to 'games-emulation/mupen64plus-video-rice') diff --git a/games-emulation/mupen64plus-video-rice/Manifest b/games-emulation/mupen64plus-video-rice/Manifest index febe989235e1..472bead79633 100644 --- a/games-emulation/mupen64plus-video-rice/Manifest +++ b/games-emulation/mupen64plus-video-rice/Manifest @@ -1,3 +1,3 @@ DIST mupen64plus-video-rice-src-2.5.9.tar.gz 300964 BLAKE2B 652d6642b743703488465883de2fe1e83e873316f133322fce343a6c8f3be37f351a1a91bad56ee1b4568afcafee55c1cb3cd6679159e24c552df63174751376 SHA512 98be11217024408e7c61120e7eb3cf83d6c9f666a029c7d0e85790c885c99e795336a8fa4f5029e546eba8cc139c6a5e84dd6c2ae5c60784a90c27ce58cd0603 -EBUILD mupen64plus-video-rice-2.5.9.ebuild 1837 BLAKE2B 2e8db70b5dc5a362387c484b6dbc037189508663743ced010374f9c6fa0dab48ba279100a42e5b70e6b306007587508032e482316a9b62d196fbbf423b459bea SHA512 19f12ab31c756b45a38c062e424743909f115829a5aad126dc5dc1e75058dce2459fb613d36a2112887d9746e4d3a8dcb947863ea13d8f024f1cd5cb40618908 -MISC metadata.xml 417 BLAKE2B 8510b7d913205c08c30afab179d14342bef943520adc195a25dba626d2e24406cb7108c0fcf6c0f0648612d8f9c458661aee4cef60b7b44fb30eccfc10926615 SHA512 620411630a55162b14abef6e6b62a5621de4d53e8bf467faa07f4aa114d7e4be4123f5ef9033cbbe04635e71255ad63f16303eb7b511a3ce151627e54d7d3bb6 +EBUILD mupen64plus-video-rice-2.5.9-r2.ebuild 1858 BLAKE2B 66708b55ea0edcbfa8202dadd0f65b38465bb9b7459842f6f46e578b5261b8c502f5577d25344556d7b36b692acc8638a0e783a9d78c0d1c5b3a6919756e5762 SHA512 9ed85fb8fd262da2c4d1b5def7a248a3415ea657fbd4c422220ce69f46dfb8802a5c69dbb4714b7111974f054e12bda1743a2405e6835cbd77863de47e11b3c9 +MISC metadata.xml 346 BLAKE2B e8e8b99a57f8ff54dcaedfca0b1c6ac65f8243c195374bc7b9591e435410f80767aea87a5526d1baecd5fa14889d8a90ba386cb5e732081aac6f771c3b76503f SHA512 a97be2ea2365ddd82e4693c3e4bbb3186ca2ef5a17ae8f3a6a6d07467ccaec1b27a22ca277fe6ceb1b773dff82a4a0dd0eb6f68690cc809cb51022c76ba924ca diff --git a/games-emulation/mupen64plus-video-rice/metadata.xml b/games-emulation/mupen64plus-video-rice/metadata.xml index 6df8a44e7777..2fe7b9cfc1ec 100644 --- a/games-emulation/mupen64plus-video-rice/metadata.xml +++ b/games-emulation/mupen64plus-video-rice/metadata.xml @@ -5,9 +5,6 @@ mgorny@gentoo.org Michał Górny - - Use GLES2 instead of OpenGL - mupen64plus/mupen64plus-video-rice diff --git a/games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.5.9-r2.ebuild b/games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.5.9-r2.ebuild new file mode 100644 index 000000000000..14f93d58dc90 --- /dev/null +++ b/games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.5.9-r2.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2020 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, rice video 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="gles2-only cpu_flags_x86_sse" + +RDEPEND=">=games-emulation/mupen64plus-core-2.5:0=[gles2-only=] + media-libs/libpng:0= + media-libs/libsdl2:0=[video] + virtual/opengl:0= + gles2-only? ( media-libs/libsdl2:0[gles2] )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +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= + + # Package-specific stuff + + # CROSS_COMPILE causes it to look for ${CHOST}-sdl2-config... + SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl2)" + SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl2)" + + NO_ASM=$(usex cpu_flags_x86_sse 0 1) + USE_GLES=$(usex gles2-only 1 0) + ) + + use amd64 && MAKEARGS+=( HOST_CPU=x86_64 ) + use x86 && MAKEARGS+=( HOST_CPU=i386 ) + + emake "${MAKEARGS[@]}" all +} + +src_install() { + emake "${MAKEARGS[@]}" DESTDIR="${D}" install + dodoc README RELEASE +} diff --git a/games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.5.9.ebuild b/games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.5.9.ebuild deleted file mode 100644 index 07453e8b3b5c..000000000000 --- a/games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.5.9.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# 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, rice video 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="gles2 cpu_flags_x86_sse" - -RDEPEND=">=games-emulation/mupen64plus-core-2.5:0=[gles2=] - media-libs/libpng:0= - media-libs/libsdl2:0=[video] - virtual/opengl:0= - gles2? ( media-libs/libsdl2:0[gles] )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -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= - - # Package-specific stuff - - # CROSS_COMPILE causes it to look for ${CHOST}-sdl2-config... - SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl2)" - SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl2)" - - NO_ASM=$(usex cpu_flags_x86_sse 0 1) - USE_GLES=$(usex gles2 1 0) - ) - - use amd64 && MAKEARGS+=( HOST_CPU=x86_64 ) - use x86 && MAKEARGS+=( HOST_CPU=i386 ) - - emake "${MAKEARGS[@]}" all -} - -src_install() { - emake "${MAKEARGS[@]}" DESTDIR="${D}" install - dodoc README RELEASE -} -- cgit v1.2.3