From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- games-emulation/dosbox/Manifest | 1 + games-emulation/dosbox/dosbox-0.74.ebuild | 42 ++++++++++++++++++ games-emulation/dosbox/dosbox-9999.ebuild | 51 ++++++++++++++++++++++ .../dosbox/files/dosbox-0.74-gcc46.patch | 10 +++++ games-emulation/dosbox/metadata.xml | 8 ++++ 5 files changed, 112 insertions(+) create mode 100644 games-emulation/dosbox/Manifest create mode 100644 games-emulation/dosbox/dosbox-0.74.ebuild create mode 100644 games-emulation/dosbox/dosbox-9999.ebuild create mode 100644 games-emulation/dosbox/files/dosbox-0.74-gcc46.patch create mode 100644 games-emulation/dosbox/metadata.xml (limited to 'games-emulation/dosbox') diff --git a/games-emulation/dosbox/Manifest b/games-emulation/dosbox/Manifest new file mode 100644 index 00000000000..aa7079d0e75 --- /dev/null +++ b/games-emulation/dosbox/Manifest @@ -0,0 +1 @@ +DIST dosbox-0.74.tar.gz 1265711 SHA256 13f74916e2d4002bad1978e55727f302ff6df3d9be2f9b0e271501bd0a938e05 SHA512 4a6ff4c658997a495119d200ec6ad37649da940814a4b14fca0dd29a99142026e324695b7aa9d2946efc2abf9067a819d911e43778efe905ed10ddf9b9f2dd3d WHIRLPOOL abc94770c732f8b73bedffbcca778f249c2fdc09353c3f484e2fc23f910602cc60b3abfcc22a9dbf3d3c4e77535fc488cd476217fe6498cab786a8024a257ff3 diff --git a/games-emulation/dosbox/dosbox-0.74.ebuild b/games-emulation/dosbox/dosbox-0.74.ebuild new file mode 100644 index 00000000000..56a0bb8c15d --- /dev/null +++ b/games-emulation/dosbox/dosbox-0.74.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils games + +DESCRIPTION="DOS emulator" +HOMEPAGE="http://dosbox.sourceforge.net/" +SRC_URI="mirror://sourceforge/dosbox/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ppc ppc64 ~sparc x86" +IUSE="alsa debug hardened opengl" + +DEPEND="alsa? ( media-libs/alsa-lib ) + opengl? ( virtual/glu virtual/opengl ) + debug? ( sys-libs/ncurses ) + media-libs/libpng:0 + media-libs/libsdl[joystick,video,X] + media-libs/sdl-net + media-libs/sdl-sound" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-gcc46.patch ) + +src_configure() { + egamesconf \ + $(use_enable alsa alsa-midi) \ + $(use_enable !hardened dynamic-core) \ + $(use_enable !hardened dynamic-x86) \ + $(use_enable debug) \ + $(use_enable opengl) +} + +src_install() { + default + make_desktop_entry dosbox DOSBox /usr/share/pixmaps/dosbox.ico + doicon src/dosbox.ico + prepgamesdirs +} diff --git a/games-emulation/dosbox/dosbox-9999.ebuild b/games-emulation/dosbox/dosbox-9999.ebuild new file mode 100644 index 00000000000..f01034ef4e6 --- /dev/null +++ b/games-emulation/dosbox/dosbox-9999.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +ESVN_REPO_URI="https://dosbox.svn.sourceforge.net/svnroot/dosbox/dosbox/trunk" +inherit autotools eutils subversion games + +DESCRIPTION="DOS emulator" +HOMEPAGE="http://dosbox.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="alsa debug hardened opengl" + +DEPEND="alsa? ( media-libs/alsa-lib ) + opengl? ( virtual/glu virtual/opengl ) + debug? ( sys-libs/ncurses ) + media-libs/libpng:0 + media-libs/libsdl[joystick,video,X] + media-libs/sdl-net + media-libs/sdl-sound" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${PN} + +src_unpack() { + subversion_src_unpack +} + +src_prepare() { + subversion_src_prepare + eautoreconf +} + +src_configure() { + egamesconf \ + $(use_enable alsa alsa-midi) \ + $(use_enable !hardened dynamic-core) \ + $(use_enable !hardened dynamic-x86) \ + $(use_enable debug) \ + $(use_enable opengl) +} + +src_install() { + default + make_desktop_entry dosbox DOSBox /usr/share/pixmaps/dosbox.ico + doicon src/dosbox.ico + prepgamesdirs +} diff --git a/games-emulation/dosbox/files/dosbox-0.74-gcc46.patch b/games-emulation/dosbox/files/dosbox-0.74-gcc46.patch new file mode 100644 index 00000000000..16811d47d64 --- /dev/null +++ b/games-emulation/dosbox/files/dosbox-0.74-gcc46.patch @@ -0,0 +1,10 @@ +--- include/dos_inc.h.old 2011-04-28 08:46:04.505011354 +0200 ++++ include/dos_inc.h 2011-04-28 08:46:27.104408178 +0200 +@@ -21,6 +21,7 @@ + #ifndef DOSBOX_DOS_INC_H + #define DOSBOX_DOS_INC_H + ++#include + #ifndef DOSBOX_DOS_SYSTEM_H + #include "dos_system.h" + #endif diff --git a/games-emulation/dosbox/metadata.xml b/games-emulation/dosbox/metadata.xml new file mode 100644 index 00000000000..941eda8deb4 --- /dev/null +++ b/games-emulation/dosbox/metadata.xml @@ -0,0 +1,8 @@ + + + +games + +mr_bones_@gentoo.org + + -- cgit v1.2.1