diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-games/guichan | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-games/guichan')
-rw-r--r-- | dev-games/guichan/Manifest | 5 | ||||
-rw-r--r-- | dev-games/guichan/files/guichan-0.8.2-as-needed.patch | 19 | ||||
-rw-r--r-- | dev-games/guichan/files/guichan-0.8.2-automake-1.13.patch | 11 | ||||
-rw-r--r-- | dev-games/guichan/guichan-0.8.2.ebuild | 44 | ||||
-rw-r--r-- | dev-games/guichan/metadata.xml | 15 |
5 files changed, 94 insertions, 0 deletions
diff --git a/dev-games/guichan/Manifest b/dev-games/guichan/Manifest new file mode 100644 index 000000000000..2676d9773472 --- /dev/null +++ b/dev-games/guichan/Manifest @@ -0,0 +1,5 @@ +AUX guichan-0.8.2-as-needed.patch 545 BLAKE2B d7e42927c989ed2271432c48c427c52f6753362b0b7d36e2121f50f00bfa75877d307925bfe96965f5eddc52a32e233b6ef2be68d112abde9256c2cbd1dccf4e SHA512 521fc3fa1e85d8ffc5758b5b8ae16a04e44391867b7a660179505980fd572d8e3430e2c2ed4bcf7def645ae1a1b54d16802b06c1cfd254e11cd9813529f06de1 +AUX guichan-0.8.2-automake-1.13.patch 263 BLAKE2B 0b6eb223af234dd3731909bb433bb2757d83167d5422479fa7b354931e4da9ad3cf624f6c6f3e6b7f0e2f60d010fcf1a0a4c300553f7f15b33d280a06a4c1521 SHA512 804684f620de981890e60d68c25c7d36cb23faae038144b6e65df2927ddc20b6d072fcc9fd6aecd9c73410bc21e532087f349f7d5acd17a9799e6073d53af410 +DIST guichan-0.8.2.tar.gz 574662 BLAKE2B eb8d5754d86c57e28bffe20420873ca4c5c0d0e72ad98d09717385be06ccb2572ae1f09e80d5b3119fb01d77f1ad7181af683b536e8ed3e493686687a9cef212 SHA512 b05b3da3c998399eadbaf3154de533038bb394919569c361c26245aa0e7072493b12d3556c94a2420622007525e19dcd76a27db06a76fb56ec96d50429a6ed98 +EBUILD guichan-0.8.2.ebuild 941 BLAKE2B 7bbd50c062804de37c242cb100e212dcafc747fa364f6c7042dbae5c0e2670c03fe0564ac7ce1c7cd941305d4ba208e15ce08ff093d3b51efc760aebcc48adce SHA512 e969ffc89ee76cb66f85adf9f754b49e2459bedeac76e5faef8d69cf1f36006b6b2d55a9f58d215789768d042229b2e4db184a36efa7a07eadcb92485bf97e77 +MISC metadata.xml 454 BLAKE2B 3a64aa2bb08b19c9543193b15c7af1cd35fcc62db103f746e707204c9ffa10bef91c79c5d4b0e00e409c1c7862344b22ac8ad3570896a6086d7e5ff95aef0e57 SHA512 251a56d1bc96013f0b04e30586ab367d9ccf3ef6f39b375ee48186e40669574f3026297c7d3214cc5dca143bf71d7d91db071f64dd05ee9c07a8005ed483af09 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> |