summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-arcade/jvgs
downloadgentoo-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-arcade/jvgs')
-rw-r--r--games-arcade/jvgs/Manifest1
-rw-r--r--games-arcade/jvgs/files/jvgs-0.5-flags.patch14
-rw-r--r--games-arcade/jvgs/jvgs-0.5.ebuild57
-rw-r--r--games-arcade/jvgs/metadata.xml8
4 files changed, 80 insertions, 0 deletions
diff --git a/games-arcade/jvgs/Manifest b/games-arcade/jvgs/Manifest
new file mode 100644
index 000000000000..c6555a5e62bd
--- /dev/null
+++ b/games-arcade/jvgs/Manifest
@@ -0,0 +1 @@
+DIST jvgs-0.5-src.tar.gz 25917861 SHA256 b906b96a532303df295312e7b352ab06d1c010ccf201527b2dade4634529efdb SHA512 0a0a8e7a0e7dce6f61bcd328f579212115eb95e3dce8ca223c1d8a3432d9083bf9a313f02f46b799991aa32f10cb9c14e8ecb63a4578b1ffaabc374ba139b28d WHIRLPOOL d56c4eb789bcc53cbc20efb3240c020189f8e785324755e2d6ce668ab673862f5a6fe5b77b4a126a87bd8d0834efac3fc94979897773b273ecfe5c47d932ab1a
diff --git a/games-arcade/jvgs/files/jvgs-0.5-flags.patch b/games-arcade/jvgs/files/jvgs-0.5-flags.patch
new file mode 100644
index 000000000000..04f88b88bc6d
--- /dev/null
+++ b/games-arcade/jvgs/files/jvgs-0.5-flags.patch
@@ -0,0 +1,14 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Sun Aug 5 19:57:32 UTC 2012
+Subject: build system
+
+respect cxxflags
+
+--- src/CMakeLists.txt
++++ src/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-SET( CMAKE_CXX_FLAGS "-DTIXML_USE_STL -ggdb" )
++SET( CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} -DTIXML_USE_STL" )
+
+ INCLUDE_DIRECTORIES(
+ ${SDL_INCLUDE_DIR}
diff --git a/games-arcade/jvgs/jvgs-0.5.ebuild b/games-arcade/jvgs/jvgs-0.5.ebuild
new file mode 100644
index 000000000000..76cb821249ad
--- /dev/null
+++ b/games-arcade/jvgs/jvgs-0.5.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+CMAKE_IN_SOURCE_BUILD=1
+inherit cmake-utils eutils games
+
+DESCRIPTION="An open-source platform game with a sketched and minimalistic look"
+HOMEPAGE="http://jvgs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/jvgs/${P}-src.tar.gz"
+
+LICENSE="WTFPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="virtual/opengl
+ dev-lang/lua:0
+ sys-libs/zlib
+ media-libs/libsdl[video]
+ media-libs/sdl-mixer[vorbis]
+ media-libs/freetype:2"
+DEPEND="${RDEPEND}
+ dev-lang/swig"
+
+S=${WORKDIR}/${P}-src
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-flags.patch
+}
+
+src_configure() {
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ exeinto "$(games_get_libdir)"
+ doexe src/${PN}
+
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r main.lua resources
+
+ games_make_wrapper ${PN} "/$(games_get_libdir)/${PN}" \
+ "${GAMES_DATADIR}/${PN}"
+
+ newicon resources/drawing.svg ${PN}.svg
+ make_desktop_entry ${PN} ${PN}
+
+ dodoc AUTHORS README.markdown
+
+ prepgamesdirs
+}
diff --git a/games-arcade/jvgs/metadata.xml b/games-arcade/jvgs/metadata.xml
new file mode 100644
index 000000000000..25da2874ba81
--- /dev/null
+++ b/games-arcade/jvgs/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">jvgs</remote-id>
+ </upstream>
+</pkgmetadata>