diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-25 19:33:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-28 08:31:11 +0100 |
commit | ad6182343997a405079870a2fe91c4e0c6b94595 (patch) | |
tree | 4aa7483cd0ad7de54338afc8e7971417abe1dd81 /games-emulation/mupen64plus-video-rice | |
parent | e8f81810baa21f490d6910e8e2d424546b72a333 (diff) |
gentoo resync : 25.09.2019
Diffstat (limited to 'games-emulation/mupen64plus-video-rice')
3 files changed, 86 insertions, 2 deletions
diff --git a/games-emulation/mupen64plus-video-rice/Manifest b/games-emulation/mupen64plus-video-rice/Manifest index f306995e878f..53c103fd4899 100644 --- a/games-emulation/mupen64plus-video-rice/Manifest +++ b/games-emulation/mupen64plus-video-rice/Manifest @@ -1,3 +1,5 @@ +DIST mupen64plus-video-rice-src-2.5.9.tar.gz 300964 BLAKE2B 652d6642b743703488465883de2fe1e83e873316f133322fce343a6c8f3be37f351a1a91bad56ee1b4568afcafee55c1cb3cd6679159e24c552df63174751376 SHA512 98be11217024408e7c61120e7eb3cf83d6c9f666a029c7d0e85790c885c99e795336a8fa4f5029e546eba8cc139c6a5e84dd6c2ae5c60784a90c27ce58cd0603 DIST mupen64plus-video-rice-src-2.5.tar.gz 339012 BLAKE2B 861f350376e92c24a31955cc39ba33abef9930d4fd598619fd0a6b7ff746b1bb71e1644dfed3aebab902b09c4fcbd1a1755475b11676c6070fe92ea4f30b4802 SHA512 d3e9c3b3097ca9b9d896498bb34374a14ec1948fce8b795e755bb13a88f3066289fe2500666b4057e719bf3f1b38b840f8a60eaeccdcdddfab69b1986c953d61 -EBUILD mupen64plus-video-rice-2.5.ebuild 1820 BLAKE2B dff3baf352a73257784d60429f87ccb840c974dc553d6d1094d1108aa2b6393cccf46422735d468f892b63e1fd3fe28bd2ca6c6536c6f01778e9567e087848d6 SHA512 52ae832baee4ef50de0f9c7584b3dacfa46230f8eba9bcb1b81ee5782ccb22abc4afb9c7119702d0ef4cf4861b7528ad4f358380e93139de98489b13f82141f4 +EBUILD mupen64plus-video-rice-2.5.9.ebuild 1837 BLAKE2B 2e8db70b5dc5a362387c484b6dbc037189508663743ced010374f9c6fa0dab48ba279100a42e5b70e6b306007587508032e482316a9b62d196fbbf423b459bea SHA512 19f12ab31c756b45a38c062e424743909f115829a5aad126dc5dc1e75058dce2459fb613d36a2112887d9746e4d3a8dcb947863ea13d8f024f1cd5cb40618908 +EBUILD mupen64plus-video-rice-2.5.ebuild 1821 BLAKE2B 73f783c104b6ed5eca672052e86454e969f27bb096ad810fcd52cf21307a7372642739c026fbe909b750a373f0b353b78fc87f3350aff233c00998e617ff751a SHA512 19ffad7194f1c28526c7854b0c9f9d3e30c397147791fdffd844c1fa1d6807cf8ab1fc2ae6e36f23438f3424a08aee074f1cac2882606532d127367819092606 MISC metadata.xml 417 BLAKE2B 8510b7d913205c08c30afab179d14342bef943520adc195a25dba626d2e24406cb7108c0fcf6c0f0648612d8f9c458661aee4cef60b7b44fb30eccfc10926615 SHA512 620411630a55162b14abef6e6b62a5621de4d53e8bf467faa07f4aa114d7e4be4123f5ef9033cbbe04635e71255ad63f16303eb7b511a3ce151627e54d7d3bb6 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 new file mode 100644 index 000000000000..07453e8b3b5c --- /dev/null +++ b/games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.5.9.ebuild @@ -0,0 +1,82 @@ +# 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 +} diff --git a/games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.5.ebuild b/games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.5.ebuild index a616be06c375..d61c87c17895 100644 --- a/games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.5.ebuild +++ b/games-emulation/mupen64plus-video-rice/mupen64plus-video-rice-2.5.ebuild @@ -7,7 +7,7 @@ MY_P=${PN}-src-${PV} inherit eutils multilib toolchain-funcs DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, rice video plugin" -HOMEPAGE="http://www.mupen64plus.org/" +HOMEPAGE="https://www.mupen64plus.org/" SRC_URI="https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz" LICENSE="GPL-2 LGPL-2.1" |