summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-12-15 12:09:44 +0000
committerMichał Górny <mgorny@gentoo.org>2013-12-15 12:09:44 +0000
commit80174114ad0ca8ab59ee5ad3ad5babb861a9bc5a (patch)
treee4fa730fb0a9346b32e47c1f440114fbff2be749 /games-emulation
parentIntroduce the SDL audio library for mupen64plus-2.0. (diff)
downloadhistorical-80174114ad0ca8ab59ee5ad3ad5babb861a9bc5a.tar.gz
historical-80174114ad0ca8ab59ee5ad3ad5babb861a9bc5a.tar.bz2
historical-80174114ad0ca8ab59ee5ad3ad5babb861a9bc5a.zip
Introduce the SDL input plugin for mupen64plus-2.0.
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xEFB4464E!
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/mupen64plus-input-sdl/ChangeLog9
-rw-r--r--games-emulation/mupen64plus-input-sdl/Manifest26
-rw-r--r--games-emulation/mupen64plus-input-sdl/metadata.xml13
-rw-r--r--games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.0.ebuild73
4 files changed, 121 insertions, 0 deletions
diff --git a/games-emulation/mupen64plus-input-sdl/ChangeLog b/games-emulation/mupen64plus-input-sdl/ChangeLog
new file mode 100644
index 000000000000..2c8b4e5a482f
--- /dev/null
+++ b/games-emulation/mupen64plus-input-sdl/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for games-emulation/mupen64plus-input-sdl
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64plus-input-sdl/ChangeLog,v 1.1 2013/12/15 12:09:42 mgorny Exp $
+
+*mupen64plus-input-sdl-2.0 (15 Dec 2013)
+
+ 15 Dec 2013; Michał Górny <mgorny@gentoo.org> +metadata.xml,
+ +mupen64plus-input-sdl-2.0.ebuild:
+ Introduce the SDL input plugin for mupen64plus-2.0.
diff --git a/games-emulation/mupen64plus-input-sdl/Manifest b/games-emulation/mupen64plus-input-sdl/Manifest
new file mode 100644
index 000000000000..777a65406a00
--- /dev/null
+++ b/games-emulation/mupen64plus-input-sdl/Manifest
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST mupen64plus-input-sdl-src-2.0.tar.gz 43553 SHA256 b6be48e978683cced8c208ad03e27828c17ac7b2da5e699d6c34945db63d95b6 SHA512 adbeb83e01721aa74e5e65c05e4bff2a250c7bf51835a8b2c020752e9bf0bdb0f0672914fc5285ad9da2e6fa44259780aea6415d77914bb34e521f30eecf6747 WHIRLPOOL 647ccef13620c863077ae2eefb6934d966eaa413fe70437a38560e5fa03f479428e4848f2c2f3f38163a122a29f8b118fb50f9f772bfd1df96ab2860044352d7
+EBUILD mupen64plus-input-sdl-2.0.ebuild 1770 SHA256 4db2694d80657908bc98359a648f7262a399ce38cea316765fb09a9be959499f SHA512 c889b75cbebb92792e3662113565e14c321fcd640c4e5c195a58960c63cbf16138d5143862ecfbc5f3e566ff73a06d0da7ada18e1722ebccbfebaa93c4006b07 WHIRLPOOL b8e019ed6221fe6db3ac8721468ef56bc6513c0091f3983f3b45f29c9836f0db207efeac487e033d3762ab87c2509ec939c3ffaa93df05088ccb58ed50b55b50
+MISC ChangeLog 445 SHA256 0e0b47799a9d8b6a59956b8b0ce420e7c17e87a09c42af157c5e0ed715136c85 SHA512 858b55a0fbcaa3b51b0abda2397c8247272c3ffd84cd9896717ecdf058779a3e4f181f32dd80eacc85741aa94e65c75252dd3c560c820b86294e9c1b49413876 WHIRLPOOL 8a215611f1a18888a731e44dd736877d11187543f8f37bbd4550b30635d3be44919fa0b74213b3278db289eb735d2429aba8315accf87ef096ff151fd330fea1
+MISC metadata.xml 352 SHA256 b5b11f77354a3f9a9051da98c3e7499a195f42a2abc71c3fe55979eeab43c7cc SHA512 579bbf3da7e4b2a573bbec036b4e5710dbe5289278094e9dc3c3cda8d8ca9533031e189bc12a15a47abe9f4cb58f83a98d2b0796ac0394797085b367658c3af8 WHIRLPOOL 3ced83d68b1b7923be49ae91e82ffe778aac35895fd681e8be87f28f77b716a60384af1935cc632abd7c510181d76526d475548e33117c73416d9cd922af49f3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iQJ8BAEBCABmBQJSrZwHXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC
+MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOhcgP/2jhaOcoGTlmLoYlDaL9HvD0
+YnJoMm4slIxT2JmLrL0RNbTK4GawpfWCxE7nKd+8XJhTkikJqwIDjQQS1ojqNpUQ
+elBoNxuUy+FOkYq8i2V2Z7mHj4DtaJBKcFkHzNcImwxHFzw0dHXEagNg2vWtdH5p
+mItirumd7QxQVA4UE6/b6iizTMaxsEyuTOOdRr9eoR748NhH1+Wl+isKg1btQhpO
+CVmlZyrSnNev4cuLhJ1+jU+W5ENnnRVkzd3JEJypL6Qv/vKh4Zq2D7s74zOHCfxd
+jVl4MVQrW/Uqj1KCVBspjld6aPTRqZJqSmyDnl44f1kCShAcgeZ+UgkL1r9oP4Kv
+sgvf2lgCAW29F1OUKXCP8FTYu7cIEYLjZSjwx/XcQKe/2IDMPhZiB6OLAVHYFJ2R
+sB76TnOg65K10Bj/CAcxbbyf7UiZol6a3LX9Og+NZIak69EEqE6b0ek/Cs4gwWMH
+zSzuvpsRg/d5EYOYLIQ1grO71qwdVIOPM0UJqYZh8kBJI1Uji4LxXY1VOwOkZoin
+y39Nkv3CUsGRjkJWmJDNgegIPBxbf6Ftx1wT4QcySk/VBt1Q51nQO0UPrFqmtizT
+0NR7wXVKM3U71zYGGvnndUUlnRdu4dbSNerSaXD4DQR67taLUCfkVCaDrynJNMyB
+4gCB33nEyrvMtIM4HbMV
+=L5rT
+-----END PGP SIGNATURE-----
diff --git a/games-emulation/mupen64plus-input-sdl/metadata.xml b/games-emulation/mupen64plus-input-sdl/metadata.xml
new file mode 100644
index 000000000000..9047711e4ffd
--- /dev/null
+++ b/games-emulation/mupen64plus-input-sdl/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <maintainer>
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <maintainer>
+ <email>joker@gentoo.org</email>
+ <name>Christian Birchinger</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.0.ebuild b/games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.0.ebuild
new file mode 100644
index 000000000000..99cd3973b5da
--- /dev/null
+++ b/games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.0.ebuild,v 1.1 2013/12/15 12:09:41 mgorny Exp $
+
+EAPI=5
+
+MY_P=${PN}-src-${PV}
+inherit eutils toolchain-funcs games
+
+DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, SDL input plugin"
+HOMEPAGE="http://code.google.com/p/mupen64plus/"
+SRC_URI="mirror://bitbucket/richard42/${PN}/downloads/${MY_P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="games-emulation/mupen64plus-core:0=
+ media-libs/libsdl:0=[joystick]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+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="$(games_get_libdir)"
+ PLUGINDIR="$(games_get_libdir)"/mupen64plus
+ SHAREDIR="${GAMES_DATADIR}"/mupen64plus
+
+ # 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
+ prepgamesdirs
+}