summaryrefslogtreecommitdiff
path: root/dev-games/guichan
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-games/guichan
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-games/guichan')
-rw-r--r--dev-games/guichan/Manifest7
-rw-r--r--dev-games/guichan/files/guichan-0.8.2-as-needed.patch19
-rw-r--r--dev-games/guichan/files/guichan-0.8.2-automake-1.13.patch11
-rw-r--r--dev-games/guichan/guichan-0.8.2.ebuild44
-rw-r--r--dev-games/guichan/metadata.xml15
5 files changed, 96 insertions, 0 deletions
diff --git a/dev-games/guichan/Manifest b/dev-games/guichan/Manifest
new file mode 100644
index 000000000000..dbfb85d81015
--- /dev/null
+++ b/dev-games/guichan/Manifest
@@ -0,0 +1,7 @@
+AUX guichan-0.8.2-as-needed.patch 545 SHA256 d47b984eb6289ebe9ad945372dc861884c956de4e518912d26d6cf32721f5785 SHA512 521fc3fa1e85d8ffc5758b5b8ae16a04e44391867b7a660179505980fd572d8e3430e2c2ed4bcf7def645ae1a1b54d16802b06c1cfd254e11cd9813529f06de1 WHIRLPOOL 839cea274d2b146b207606851cbd6071d85b1a733dd4c0981217eda52ccd3bba77f45258fd5f7ff7ac160c15bc8576fcbe88a6b3b1a64976675127c41e5640f4
+AUX guichan-0.8.2-automake-1.13.patch 263 SHA256 aa79ad3379779e402fcec5a3690e71622346307efd6ee3c83277b81533ad2d89 SHA512 804684f620de981890e60d68c25c7d36cb23faae038144b6e65df2927ddc20b6d072fcc9fd6aecd9c73410bc21e532087f349f7d5acd17a9799e6073d53af410 WHIRLPOOL 4dc1186c6a9aa0d816800f49722b14f8a828ccc87947cb375d5bc910a158e4c6db174ee0dac9fd0221c1a10c9245e5247638e1f1178758d3f89c39c90c60bb96
+DIST guichan-0.8.2.tar.gz 574662 SHA256 eedf206eae5201eaae027b133226d0793ab9a287bfd74c5f82c7681e3684eeab SHA512 b05b3da3c998399eadbaf3154de533038bb394919569c361c26245aa0e7072493b12d3556c94a2420622007525e19dcd76a27db06a76fb56ec96d50429a6ed98 WHIRLPOOL 3ad88b99e8be509a2e66e71999245904a96aa9a2f805adc208c3ff19b036335c334ce38ed90ee11fb1e19120e5a545530dda6de0cd81c011adadd89731e5da53
+EBUILD guichan-0.8.2.ebuild 941 SHA256 80ba7cfcab4624dec1747b9a42427717ff83ae3b10b836bc51ab3e6a5bcb219a SHA512 e969ffc89ee76cb66f85adf9f754b49e2459bedeac76e5faef8d69cf1f36006b6b2d55a9f58d215789768d042229b2e4db184a36efa7a07eadcb92485bf97e77 WHIRLPOOL 829b7bf002749557da74f231a0a343c484617bdd908ff95990d045ba230830f7b58fb08b80a3835f98e65395b90f3e83826d7949d8d4d1a4f0fe70f9cbfc754e
+MISC ChangeLog 3221 SHA256 31f64a4110ba960e3a4d8b374506bfc5658b1b38d1c9567fe19149afb480529a SHA512 75091c812db9c8b67ff82676b288f637fcf2a43e9429e2bc9dda23fe2a31ef50b915940194e84bfebfcb34e15226e1afa34fa53c575ec8f165ee89a9e5f8b27f WHIRLPOOL 5bc151b5de606c50c6aef143edcb640d2d3bfb0bddd16293bde5714d8d0719764259230f74578a800067d99c49e002d169576a708eed71a6d68350053a20b4a2
+MISC ChangeLog-2015 3674 SHA256 6e5655ca0ea46ffdd56d0a09a57ad66cc7734508a0e736b3eec93968d9e5ffe6 SHA512 f7e6c7937400a7205ea812e1ffee6101079d906fda2b107ffe51071f38403388c05934f253ab563c2ed1247b574dd9a2f941586922321a2470b7e15c67104c1a WHIRLPOOL 3a71bc3b5fdfdefaad2c4232c215ea469dec6d1a44fe2913c8b1e09da279c0b768ff879169948de7f2ef94862559e37d9051d3eab2866a59de03ed2a0d568b27
+MISC metadata.xml 454 SHA256 6bfbc8f43b5177622ae7cf5f5301bf198fd8536a7d1b1fef1df1b09de007ab27 SHA512 251a56d1bc96013f0b04e30586ab367d9ccf3ef6f39b375ee48186e40669574f3026297c7d3214cc5dca143bf71d7d91db071f64dd05ee9c07a8005ed483af09 WHIRLPOOL 2a17aa92a4597d84eacb97dbf828cb17fae5ae0bc79f03bf1390cf9ab417fb60dde3e2e081d2e60f7c3ea345a1cc052d3ccbfcd9cfe407682a6336cb9cc9a4c4
diff --git a/dev-games/guichan/files/guichan-0.8.2-as-needed.patch b/dev-games/guichan/files/guichan-0.8.2-as-needed.patch
new file mode 100644
index 000000000000..79eb563c0f8d
--- /dev/null
+++ b/dev-games/guichan/files/guichan-0.8.2-as-needed.patch
@@ -0,0 +1,19 @@
+--- src/Makefile.am
++++ src/Makefile.am
+@@ -1,4 +1,4 @@
+-SUBDIRS = widgets @GUICHAN_EXTRADIRS@ hge openlayer contrib
++SUBDIRS = widgets . @GUICHAN_EXTRADIRS@ hge openlayer contrib
+
+ INCLUDES = -I$(top_srcdir)/include
+
+--- src/sdl/Makefile.am
++++ src/sdl/Makefile.am
+@@ -6,6 +6,8 @@
+
+ libguichan_sdl_la_LDFLAGS = -no-undefined -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+
++libguichan_sdl_la_LIBADD = -lSDL_image -L$(top_srcdir)/src -lguichan
++
+ libguichan_sdl_la_SOURCES = \
+ sdl.cpp \
+ sdlgraphics.cpp \
diff --git a/dev-games/guichan/files/guichan-0.8.2-automake-1.13.patch b/dev-games/guichan/files/guichan-0.8.2-automake-1.13.patch
new file mode 100644
index 000000000000..e2f46097b82a
--- /dev/null
+++ b/dev-games/guichan/files/guichan-0.8.2-automake-1.13.patch
@@ -0,0 +1,11 @@
+--- guichan-0.8.2/configure.in
++++ guichan-0.8.2/configure.in
+@@ -38,7 +38,7 @@
+ AC_SUBST(LT_AGE)
+
+ AM_INIT_AUTOMAKE(guichan, $GUICHAN_VERSION)
+-AM_CONFIG_HEADER([include/config.hpp])
++AC_CONFIG_HEADERS([include/config.hpp])
+
+ AC_CONFIG_SRCDIR([src/gui.cpp])
+
diff --git a/dev-games/guichan/guichan-0.8.2.ebuild b/dev-games/guichan/guichan-0.8.2.ebuild
new file mode 100644
index 000000000000..16a681c1f6e5
--- /dev/null
+++ b/dev-games/guichan/guichan-0.8.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils autotools
+
+DESCRIPTION="a portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL"
+HOMEPAGE="http://guichan.sourceforge.net/"
+SRC_URI="https://guichan.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="allegro opengl sdl static-libs"
+
+DEPEND="allegro? ( <media-libs/allegro-5 )
+ opengl? ( virtual/opengl )
+ sdl? (
+ media-libs/libsdl
+ media-libs/sdl-image
+ )"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-as-needed.patch \
+ "${FILESDIR}"/${P}-automake-1.13.patch
+ mv configure.in configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable allegro) \
+ $(use_enable opengl) \
+ $(use_enable sdl) \
+ $(use_enable sdl sdlimage) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}
diff --git a/dev-games/guichan/metadata.xml b/dev-games/guichan/metadata.xml
new file mode 100644
index 000000000000..f0f0f67b46f8
--- /dev/null
+++ b/dev-games/guichan/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <use>
+ <flag name="allegro">Build the Allegro frontend</flag>
+ </use>
+ <upstream>
+ <remote-id type="google-code">guichan</remote-id>
+ <remote-id type="sourceforge">guichan</remote-id>
+ </upstream>
+</pkgmetadata>