diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-arcade/briquolo |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-arcade/briquolo')
-rw-r--r-- | games-arcade/briquolo/Manifest | 7 | ||||
-rw-r--r-- | games-arcade/briquolo/briquolo-0.5.7.ebuild | 51 | ||||
-rw-r--r-- | games-arcade/briquolo/files/briquolo-0.5.7-gcc43.patch | 81 | ||||
-rw-r--r-- | games-arcade/briquolo/files/briquolo-0.5.7-libpng14.patch | 31 | ||||
-rw-r--r-- | games-arcade/briquolo/metadata.xml | 8 |
5 files changed, 178 insertions, 0 deletions
diff --git a/games-arcade/briquolo/Manifest b/games-arcade/briquolo/Manifest new file mode 100644 index 000000000000..63d274b087a0 --- /dev/null +++ b/games-arcade/briquolo/Manifest @@ -0,0 +1,7 @@ +AUX briquolo-0.5.7-gcc43.patch 2954 SHA256 af08db985c22b92966d1225aa8706db53fed8e26820c8e88da81208363cb10d6 SHA512 fdee3f69b425591969a351001722a8820d1b78b0107a358c6f60b6c40636a88f1ad657020ed80edd5403f804e3db7af181ba89235e08f660768e4b53f59f499a WHIRLPOOL 2fc7114032c139cc49abaac624452813379dcb03d5ea459421e8fb9def22d253e0defee0a9add53545e320196fd568433f1822cea2627e99850b26dda4c24f63 +AUX briquolo-0.5.7-libpng14.patch 1058 SHA256 9efb32386d531846655e07e9f9f9b9cb65138c7521b6e0df557f85bb4c7a0f9f SHA512 0d936eaf6bcb4de420ac45d2d0f41cee8b5b533e329946ddb656da689397e435ceec036ecba53abdec01a52964d56e23dce63d858c4caf77a7e997072ab4da13 WHIRLPOOL 1637e1e0cfff12b7377e264b84fcafdd7491bc7cf6bebaf46255c76eaf7ec33f2f5776cdcde35b406be7f0fade4d035da494e08d794999641a2a04341938d623 +DIST briquolo-0.5.7.tar.bz2 2588084 SHA256 061055dba524a784d6569fd74f3e4490db264da1356b53d68aae5523416f8f11 SHA512 4ef78193c80ac3554b72149b8da9b5cfd5b8fd68932e5b52666d74642e94a7a3a596dbb6d2865cba526929dd6d9be89743847d5e77b6fbc687c32394bc3be3d2 WHIRLPOOL d1c5f2a2502a6b8621f71d2034d5a34b12e45b6c6b2ce6baf83209c2806a306de6e183493193643d9224a86b0634fc9e2f31186131125ab15d3802a594aa7b51 +EBUILD briquolo-0.5.7.ebuild 1133 SHA256 071809e28a90df092cba1c1950203c9720d5a4bd8375ec80ea2a043dcf51e129 SHA512 733339539624b9fa44fd0bcfb4107b33abfec4cbdd3351a2632eed7a533e7d34d155c4e66b3f2169d1b6906a09a11049c0b8fc044bb9ae5567a83c4b95531c80 WHIRLPOOL 5c154ea126506667cad880773e8888db219fea2fb2c911e7c478d17de92279f0713df3d9ceb0f68dc95d618503b96bad1c44bb5601278c032c7c5e0cd3908cf4 +MISC ChangeLog 2647 SHA256 6464227511d57cda84137a1ae52d86625ae6a69bf1daef186505887984ac5735 SHA512 e506065e605ebe0bdceb5776b1d4ad7eac61a1e686579d3584a4c2c9e55e88c33bfd5ab5724bffd672a3cb41120a04316d33f8a6e9f7c3a35ce21f236b148061 WHIRLPOOL 05ba52ef02aac7d96d4428357a78f9c7fc8d36f1e251e06d175fe06219d0323c6419b653ad1dbcbed6880c4d2751bc4a5a5d348a0fab2a7a209560e24f92e70a +MISC ChangeLog-2015 2711 SHA256 78fff987ff7f1456a11442fb0868cffb1531dbeddba13a9413c7acb79a233781 SHA512 c8587c48bb428695b93bd7d436edb84f4095111e51925f64c39cc3ee2b72120c4fa236b87ec7fa9362b20e4d5950b73594cce6a416f9fba190e1e35cd8106c5a WHIRLPOOL f5f8defebe38b46c83f3ac98aed9616e4c82b7e93af8b526a53dd5290a97bec7133263e29b7177c8b715ef9e9bbaba11f903d591a85b922b9a99dd8566420c7b +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-arcade/briquolo/briquolo-0.5.7.ebuild b/games-arcade/briquolo/briquolo-0.5.7.ebuild new file mode 100644 index 000000000000..050c704fed62 --- /dev/null +++ b/games-arcade/briquolo/briquolo-0.5.7.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Breakout with 3D representation based on OpenGL" +HOMEPAGE="http://briquolo.free.fr/en/index.html" +SRC_URI="http://briquolo.free.fr/download/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" + +RDEPEND="virtual/opengl + virtual/glu + media-libs/libsdl[joystick,sound,video] + media-libs/sdl-mixer + media-libs/sdl-ttf + media-libs/libpng:0 + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-libpng14.patch + # no thanks we'll take care of it. + sed -i \ + -e '/^SUBDIRS/s/desktop//' \ + Makefile.in || die + sed -i \ + -e "/CXXFLAGS/s:-O3:${CXXFLAGS}:" \ + -e 's:=.*share/locale:=/usr/share/locale:' \ + configure || die + sed -i \ + -e 's:$(datadir)/locale:/usr/share/locale:' \ + po/Makefile.in.in || die +} + +src_configure() { + egamesconf $(use_enable nls) +} + +src_install() { + default + doicon desktop/briquolo.svg + make_desktop_entry briquolo Briquolo + prepgamesdirs +} diff --git a/games-arcade/briquolo/files/briquolo-0.5.7-gcc43.patch b/games-arcade/briquolo/files/briquolo-0.5.7-gcc43.patch new file mode 100644 index 000000000000..13e932a1c69e --- /dev/null +++ b/games-arcade/briquolo/files/briquolo-0.5.7-gcc43.patch @@ -0,0 +1,81 @@ +diff -ru src.orig/Constante.cpp src/Constante.cpp +--- src.orig/Constante.cpp 2008-03-22 05:40:33.000000000 -0400 ++++ src/Constante.cpp 2008-06-11 23:16:46.000000000 -0400 +@@ -27,6 +27,7 @@ + #define DATADIR_BRIQUOLO "./" + #define PACKAGE "briquolo" + #endif ++#include <cstdlib> + + #ifdef WIN32 + #define WIN32_LEAN_AND_MEAN +diff -ru src.orig/MOGL/MOGL_EnsembleObjet.cpp src/MOGL/MOGL_EnsembleObjet.cpp +--- src.orig/MOGL/MOGL_EnsembleObjet.cpp 2008-03-24 09:12:36.000000000 -0400 ++++ src/MOGL/MOGL_EnsembleObjet.cpp 2008-06-11 23:17:11.000000000 -0400 +@@ -24,7 +24,8 @@ + #include "MOGL_Armature.h" + #include "MOGL_Peau.h" + //#include +-#include <stdio.h> ++#include <cstdio> ++#include <cstring> + + //#include <mmsystem.h> + +diff -ru src.orig/MOGL/MOGL_GestionnaireObjet.cpp src/MOGL/MOGL_GestionnaireObjet.cpp +--- src.orig/MOGL/MOGL_GestionnaireObjet.cpp 2008-03-24 08:56:13.000000000 -0400 ++++ src/MOGL/MOGL_GestionnaireObjet.cpp 2008-06-11 23:18:45.000000000 -0400 +@@ -21,6 +21,7 @@ + *****************************************************************************/ + #include "../I18n.h" + #include "MOGL_GestionnaireObjet.h" ++#include <cstring> + + bool MOGL_GestionnaireObjet::ChargerObjetASCTriangle(const char * p_NomFichier, const MOGL_GestionnaireTexture & p_GM, + MOGL_Objet & p_Objet) +diff -ru src.orig/MOGL/MOGL_GestionnaireObjet.h src/MOGL/MOGL_GestionnaireObjet.h +--- src.orig/MOGL/MOGL_GestionnaireObjet.h 2006-03-07 15:31:24.000000000 -0500 ++++ src/MOGL/MOGL_GestionnaireObjet.h 2008-06-11 23:20:07.000000000 -0400 +@@ -24,7 +24,8 @@ + + #include <vector> + #include <iostream> +-#include <stdio.h> ++#include <cstdio> ++#include <cstring> + + #include "MOGL_Triangle.h" + #include "MOGL_Objet.h" +diff -ru src.orig/MOGL/MOGL_Image.h src/MOGL/MOGL_Image.h +--- src.orig/MOGL/MOGL_Image.h 2006-03-07 15:53:11.000000000 -0500 ++++ src/MOGL/MOGL_Image.h 2008-06-11 23:20:51.000000000 -0400 +@@ -24,6 +24,7 @@ + + #include "MOGL_Structure.h" + #include <string> ++#include <cstring> + + using namespace std; + +diff -ru src.orig/MOGL/MOGL_Objet.cpp src/MOGL/MOGL_Objet.cpp +--- src.orig/MOGL/MOGL_Objet.cpp 2006-03-07 15:31:24.000000000 -0500 ++++ src/MOGL/MOGL_Objet.cpp 2008-06-11 23:21:05.000000000 -0400 +@@ -20,6 +20,7 @@ + * + *****************************************************************************/ + #include "MOGL_Objet.h" ++#include <cstdlib> + + //MOGL_Objet::MOGL_Objet(): MOGL_ObjetAbstrait(), MOGL_ElementArbre() + MOGL_Objet::MOGL_Objet(): MOGL_Noeud(), _ModifieTriangle(true), _ModifieStrip(true), +diff -ru src.orig/MOGL/MOGL_Peau.cpp src/MOGL/MOGL_Peau.cpp +--- src.orig/MOGL/MOGL_Peau.cpp 2006-03-07 15:31:24.000000000 -0500 ++++ src/MOGL/MOGL_Peau.cpp 2008-06-11 23:21:17.000000000 -0400 +@@ -20,6 +20,7 @@ + * + *****************************************************************************/ + #include "MOGL_Peau.h" ++#include <cstdlib> + + MOGL_Peau::MOGL_Peau(): MOGL_Noeud(), _ModifieTriangle(true) + { diff --git a/games-arcade/briquolo/files/briquolo-0.5.7-libpng14.patch b/games-arcade/briquolo/files/briquolo-0.5.7-libpng14.patch new file mode 100644 index 000000000000..d325bac02578 --- /dev/null +++ b/games-arcade/briquolo/files/briquolo-0.5.7-libpng14.patch @@ -0,0 +1,31 @@ +http://bugs.gentoo.org/show_bug.cgi?id=308667 + +--- src/MOGL/MOGL_Image.cpp ++++ src/MOGL/MOGL_Image.cpp +@@ -183,7 +183,7 @@ bool MOGL_Image::ChargerPNG(const char * + info_ptr = png_create_info_struct(png_ptr); + if (info_ptr == NULL) + { +- png_destroy_read_struct(&png_ptr, png_infopp_NULL, png_infopp_NULL); ++ png_destroy_read_struct(&png_ptr, NULL, NULL); + return false; + } + +@@ -191,7 +191,7 @@ bool MOGL_Image::ChargerPNG(const char * + if (setjmp(png_jmpbuf(png_ptr))) + { + // On libère la mémoire +- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); ++ png_destroy_read_struct(&png_ptr, &info_ptr, NULL); + return false; + } + +@@ -235,7 +235,7 @@ bool MOGL_Image::ChargerPNG(const char * + /* Expand grayscale images to the full 8 bits from 1, 2, or 4 bits/pixel */ + if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) + { +- png_set_gray_1_2_4_to_8(png_ptr); ++ png_set_expand_gray_1_2_4_to_8(png_ptr); + } + + /* Expand paletted or RGB images with transparency to full alpha channels diff --git a/games-arcade/briquolo/metadata.xml b/games-arcade/briquolo/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/briquolo/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</pkgmetadata> |