diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-emulation/dgen-sdl | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-emulation/dgen-sdl')
-rw-r--r-- | games-emulation/dgen-sdl/Manifest | 1 | ||||
-rw-r--r-- | games-emulation/dgen-sdl/dgen-sdl-1.33.ebuild | 43 | ||||
-rw-r--r-- | games-emulation/dgen-sdl/files/dgen-sdl-1.33-joystick.patch | 18 | ||||
-rw-r--r-- | games-emulation/dgen-sdl/metadata.xml | 8 |
4 files changed, 70 insertions, 0 deletions
diff --git a/games-emulation/dgen-sdl/Manifest b/games-emulation/dgen-sdl/Manifest new file mode 100644 index 000000000000..824401ea4c08 --- /dev/null +++ b/games-emulation/dgen-sdl/Manifest @@ -0,0 +1 @@ +DIST dgen-sdl-1.33.tar.gz 939297 SHA256 99e2c06017c22873c77f88186ebcc09867244eb6e042c763bb094b02b8def61e SHA512 c98ab8cdced62a5d26fd677ad36b031e756620114c946ac067599e84ae6ebcfab731554dd4337b6314c3b5db4601c8a6cc67c285d2aad136e659b9973c01a749 WHIRLPOOL 09c22244983ca960b03a25f633e9885698787a57d3a4e5be2e6af571d71a38d166dbf18aac280e8980ec4e7db2f4eaac6927dd529641c3bd1758a9984e64a211 diff --git a/games-emulation/dgen-sdl/dgen-sdl-1.33.ebuild b/games-emulation/dgen-sdl/dgen-sdl-1.33.ebuild new file mode 100644 index 000000000000..87a36c2b1c49 --- /dev/null +++ b/games-emulation/dgen-sdl/dgen-sdl-1.33.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils games + +DESCRIPTION="A Linux/SDL-Port of the famous DGen MegaDrive/Genesis-Emulator" +HOMEPAGE="http://dgen.sourceforge.net/" +SRC_URI="mirror://sourceforge/dgen/files/${P}.tar.gz" + +LICENSE="dgen-sdl BSD BSD-2 free-noncomm LGPL-2.1+ GPL-2+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="joystick opengl" + +RDEPEND="media-libs/libsdl[joystick?,opengl?] + app-arch/libarchive + opengl? ( virtual/opengl )" +DEPEND="${RDEPEND} + x86? ( dev-lang/nasm )" + +src_prepare() { + # fix building with USE=-joystick + epatch "${FILESDIR}"/${P}-joystick.patch +} + +src_configure() { + egamesconf \ + $(use_enable x86 asm) \ + $(use_enable joystick) \ + $(use_enable opengl) +} + +src_compile() { + emake -C musa m68kops.h + emake +} + +src_install() { + DOCS="AUTHORS ChangeLog README sample.dgenrc" default + prepgamesdirs +} diff --git a/games-emulation/dgen-sdl/files/dgen-sdl-1.33-joystick.patch b/games-emulation/dgen-sdl/files/dgen-sdl-1.33-joystick.patch new file mode 100644 index 000000000000..38cb962b690b --- /dev/null +++ b/games-emulation/dgen-sdl/files/dgen-sdl-1.33-joystick.patch @@ -0,0 +1,18 @@ +--- sdl/sdl.cpp.orig ++++ sdl/sdl.cpp +@@ -6285,6 +6285,7 @@ + #endif + static unsigned long hide_mouse_when; + static bool hide_mouse; ++ bool pressed; + #ifdef WITH_JOYSTICK + static uint32_t const axis_value[][3] = { + // { pressed, [implicitly released ...] } +@@ -6301,7 +6302,6 @@ + }; + unsigned int hat_value_map; + intptr_t joypad; +- bool pressed; + #endif + uint32_t plist[8]; + uint32_t rlist[8]; diff --git a/games-emulation/dgen-sdl/metadata.xml b/games-emulation/dgen-sdl/metadata.xml new file mode 100644 index 000000000000..dd17d9838ef4 --- /dev/null +++ b/games-emulation/dgen-sdl/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <upstream> + <remote-id type="sourceforge">dgen</remote-id> + </upstream> +</pkgmetadata> |