diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-emulation/mupen64plus-input-sdl |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-emulation/mupen64plus-input-sdl')
4 files changed, 170 insertions, 0 deletions
diff --git a/games-emulation/mupen64plus-input-sdl/Manifest b/games-emulation/mupen64plus-input-sdl/Manifest new file mode 100644 index 000000000000..b41fc4974d87 --- /dev/null +++ b/games-emulation/mupen64plus-input-sdl/Manifest @@ -0,0 +1,7 @@ +DIST mupen64plus-input-sdl-src-2.0.tar.gz 43553 SHA256 b6be48e978683cced8c208ad03e27828c17ac7b2da5e699d6c34945db63d95b6 SHA512 adbeb83e01721aa74e5e65c05e4bff2a250c7bf51835a8b2c020752e9bf0bdb0f0672914fc5285ad9da2e6fa44259780aea6415d77914bb34e521f30eecf6747 WHIRLPOOL 647ccef13620c863077ae2eefb6934d966eaa413fe70437a38560e5fa03f479428e4848f2c2f3f38163a122a29f8b118fb50f9f772bfd1df96ab2860044352d7 +DIST mupen64plus-input-sdl-src-2.5.tar.gz 50580 SHA256 65e528667b7f57a307b92abba37a3601ee17e9dd9d303ba7e4163b27f3ef771b SHA512 014a5e21feb88b14bcee44a74556a257393b799745308421a611eb3b6c11a390a589fdd393f07e69a128ca60426d4dcf8847bcbabed77b0d570be282550148d6 WHIRLPOOL a3d60880c17939785af93f9a2a9de6d9180ae754580d9a21efd5cfc7b0774b7883115f71dde35b1c448c8fc259e4229866e92c7ac51053055e9878fc90ae48b1 +EBUILD mupen64plus-input-sdl-2.0-r1.ebuild 1680 SHA256 025c8c8b4a2af172c24b738f8db546301dcb995cedebfb297923070fab8f5af2 SHA512 32b15a30f280b3edbe0433d2fd8d45306bb5ad4a3e63dabb6570939dd76686259b2f411806577ad93de15082320c983630316e832bda6a6a697f3f7f92448d25 WHIRLPOOL 3d22d52271b3a487af75d4a962b041e008c418916c85ce5000ab7b0f9fbe9bda4594ab36a4330d2baf0985303e2964d93997123d7e3213bc6e5603d699f82e5e +EBUILD mupen64plus-input-sdl-2.5.ebuild 1681 SHA256 f5d70ceda46f62a2ab7e461fe014524c1319dda5a6a6b9760ddd6949a9ad5afe SHA512 42ac79a06506801717db1692bc86813a5737ebafceebfa1e498cd0bef25abc58fe55b28897230a70cdf870ec01e80f079203f4ed2618055e2b820f8163177e46 WHIRLPOOL d277e123bb82bede127ba75898917371f18ca80f41943628d0e6d5c485ba2e6317860ddc821b3d7d744911eb3db60769eda21b99f145965ff10630ab390c2fea +MISC ChangeLog 3418 SHA256 d9ed7a2024a2322e1e052c3cd8de62d039abffc6f479853469de26e923fac6e3 SHA512 a17bc6e8871c9cef2d32ac94aa1d79b099fb35ae8c244a62c8aeb8f61525fb135ed5fe649b0b41b459160cecf9c4fa3ba3bc80fab0fc551e90720d5dc7fa332a WHIRLPOOL ed573a5afc8de6e5353b814efbea0b953442de05fc70e28bced07427397dd3a2716c5bdd0301142d88fd662bcbb7e90be4633ba03b72ea0bbd400adc6c61619c +MISC ChangeLog-2015 992 SHA256 3b9b326842af5af7cb5a2f2846b7eece6a443f578ff262031642537fb296a0e2 SHA512 a6294efc6935e437e5942d95c8a2ae82b3bdf537929206e65e092fba5f5d4e53f73f53f7c8e2448a1b4ec5a8c1d93aedbbc07d59635d7feebb67b8ba7c9bfa8e WHIRLPOOL 515c90d674234de27f1743375ff044c2c134b3e216cb380d9bbf301c2325cbdc23229d2188877f6963318833ffb1000144feaf0063e60a05fe1878cc8c4bfa6d +MISC metadata.xml 345 SHA256 2ea5db997c1186563d83ac32119addcbd8d9113f18944665b2b798f061000c2f SHA512 52f335099ec233825167226c8c15e6b270820eb111c8b89bcb91a4606f7b1d1d79ed12f41ac5ee69d973137c618f038ff55e395097fb1f1517692083ca86c294 WHIRLPOOL bc854e4a2aabc1b5025c093b1fa943f53278ddce399da7c866050a46b7c12727dd4c319207dd6dc5cc96fa6abea56479374d353b7a901a1b7f1f0c2260b1472b diff --git a/games-emulation/mupen64plus-input-sdl/metadata.xml b/games-emulation/mupen64plus-input-sdl/metadata.xml new file mode 100644 index 000000000000..92306ce86d63 --- /dev/null +++ b/games-emulation/mupen64plus-input-sdl/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + <upstream> + <remote-id type="github">mupen64plus/mupen64plus-input-sdl</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.0-r1.ebuild b/games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.0-r1.ebuild new file mode 100644 index 000000000000..5e34abdf1377 --- /dev/null +++ b/games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.0-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MY_P=${PN}-src-${PV} +inherit eutils multilib toolchain-funcs + +DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, SDL input plugin" +HOMEPAGE="http://www.mupen64plus.org/" +SRC_URI="https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=games-emulation/mupen64plus-core-2.0-r1:0= + media-libs/libsdl:0=[joystick]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch_user + + # 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}-sdl-config... + SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl)" + SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl)" + ) + + use amd64 && MAKEARGS+=( HOST_CPU=x86_64 ) + use x86 && MAKEARGS+=( HOST_CPU=i386 ) + + emake "${MAKEARGS[@]}" all +} + +src_install() { + emake "${MAKEARGS[@]}" DESTDIR="${D}" install + einstalldocs +} diff --git a/games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.5.ebuild b/games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.5.ebuild new file mode 100644 index 000000000000..fe28b341357a --- /dev/null +++ b/games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.5.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +MY_P=${PN}-src-${PV} +inherit eutils multilib toolchain-funcs + +DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, SDL input plugin" +HOMEPAGE="http://www.mupen64plus.org/" +SRC_URI="https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=games-emulation/mupen64plus-core-2.5:0= + media-libs/libsdl2:0=[joystick]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch_user + + # 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)" + ) + + use amd64 && MAKEARGS+=( HOST_CPU=x86_64 ) + use x86 && MAKEARGS+=( HOST_CPU=i386 ) + + emake "${MAKEARGS[@]}" all +} + +src_install() { + emake "${MAKEARGS[@]}" DESTDIR="${D}" install + einstalldocs +} |