summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-01-20 21:50:16 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-01-20 21:50:16 +0000
commit2e9d2fbc986a2b1ddb0a1be1ed71c3cea90a4d88 (patch)
treefdf33ab4f3744245cdba2236674891680d449ccf /dev-games
parentinitial import wrt #453220 (diff)
downloadhistorical-2e9d2fbc986a2b1ddb0a1be1ed71c3cea90a4d88.tar.gz
historical-2e9d2fbc986a2b1ddb0a1be1ed71c3cea90a4d88.tar.bz2
historical-2e9d2fbc986a2b1ddb0a1be1ed71c3cea90a4d88.zip
initial import wrt #453220
Package-Manager: portage-2.2.0_alpha155/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/t4k-common/Manifest18
-rw-r--r--dev-games/t4k-common/files/t4k-common-0.1.1-libpng.patch18
-rw-r--r--dev-games/t4k-common/metadata.xml10
-rw-r--r--dev-games/t4k-common/t4k-common-0.1.1.ebuild47
4 files changed, 91 insertions, 2 deletions
diff --git a/dev-games/t4k-common/Manifest b/dev-games/t4k-common/Manifest
index 40407b0683ea..16280297f57e 100644
--- a/dev-games/t4k-common/Manifest
+++ b/dev-games/t4k-common/Manifest
@@ -1,5 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX t4k-common-0.1.1-libpng.patch 799 SHA256 9a778a6bbe6f1c95b5ad1418a35bb41dbdbe3afb6520745eb9bd34dfa7a27dbf SHA512 e9d8c4a2487d972231ef631feac67cea679ec585faf0453cf513290f318778070222b6e9a54725f18f5ea874c009a370ec55245a05151e9ecf19403b876be6ac WHIRLPOOL 1d3a8f36e6bcaadfac547162949a8b7e49908feaf43fdb17380b6f9f946906634aa6c4bea74549e557ea949607250195676c101c48f2afcc88bc6fbe82e3a16e
DIST t4k_common-0.1.1.tar.gz 629215 SHA256 42c155816dae2c5dad560faa50edaa1ca84536530283d37859c4b91e82675110 SHA512 ddf9c0ccf1b6a4ab9f009794262fef86587e31e5110e5a8041214d7c94c607b9f4ca5ec21f04254bfc00a625ab75a04a69b3dcaff9ec13dbb92d5d82b6e375cf WHIRLPOOL 689ea91fea9323b468377eb2ed0c71fbef90527959d65304d110ce70ca62e6173dd010cd449b23785d4a3bc9f2c5c63272ecc8a8032068073a5deec93ae3a7b0
-EBUILD t4k-common-0.1.1.ebuild 962 SHA256 af45142c2c9e6b98b4f905cfa4eada8a03f7c0eea4658af8245a0c6342c52def SHA512 61fb5c886a3971242f0957b3d8a787b127786c280fb7eb2051165592d7c6f086a4e4d98f4ccdd36e9d6ebe65d6967bf829c3b89b21ae72c952ce31c41ce7489f WHIRLPOOL 68d193a040b4e044bc4b0aae1696e5e9c08c9538b5c4d672d1ac06a887b57fddbf65b33abc97c6fb336f825c8fdce9867935cbbe77459bb7f4cad7f73dac3eec
-MISC ChangeLog 316 SHA256 343d8cbe6d0d9c683b3f4e401a90b1bf9dca5fb373ac2d292fbbd794f95653ba SHA512 bec7c0abb58d8d0ff01c0e12d77a8b91130e76b7437870db369b22c33e0342b17c68a524191f7ab0edab3bee4aa1a5d06cd2fc9ba464ba2cea7fb44a785e4be6 WHIRLPOOL 379432e49ee43693e04f4cb3dd7bc83351e340620d450a81cbd728c1af10d069030c35d5187837c5770ef9c1d99158dfc0a71fc270ecb590000da752931f3b99
+EBUILD t4k-common-0.1.1.ebuild 1070 SHA256 8498d903643e6399a4846754394c01ed951cc1e4986c55677ecb0a37466d5046 SHA512 3cd916f53ff42c02c7ecdf8849eab25d739eb30e5986143811587be877b1873c1808a391d1e3019edab9173d1748f0cd0492884d074ca6c4f1285734872e2aad WHIRLPOOL 5880878a7e26fbb1f714bd97d768fbca70e4594a4e75692aa9450fc24c265486466c068f94d2591ba815f0f236b3e6a01ed5c5ad8ad64c43a7df960410f62b24
+MISC ChangeLog 410 SHA256 b9d11a734d1491dddbec91b6d4aad058c831d41e5827af0d0e9cda2d989911e4 SHA512 564afcce84dd63b0029b24fe6b2657f900c99818cafd1433b108c65faea2d963bb7cbbd4287cdd88e4cf7a065b076c72e42386c73342f6fbd70eccd21baeeb64 WHIRLPOOL 386df7d11ac5b91fd63459b365486ed6a86d7fad516cadc3d64f2180f55aa5202f883e84743fb1d8edcde4842c932948d0f631fe9c0b5a27956121bc369a02b4
MISC metadata.xml 255 SHA256 8ce125b1cb2a8da5fe808223ae6ed60fe03598c692e5020f0a8aaee09b5d6ca3 SHA512 29f4a4a15fc968a3151c449354cd2003831f4b66b57d72222c46d4e4f7ff0586ed3f0b76d09fadf0b43fbb3a46951b19207dd6d38b79fe394b61694cd272ad95 WHIRLPOOL 373afc42b6a5f9f473397b1b95b73377110a2d7cf3590bdb8e0ef4b58c9628a06b1af46db726416fbaad0c29b91ee1eb631eccac14a26be994b705a43f097db8
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJQ/GaYAAoJEFpvPKfnPDWzoAAH/0F6WgbP5Kw6+4EWvzPgoyMY
+MYerskREnJjZe7BjfLxsOcdmbisGGrg/HxaIl2ej5STfpYWoaRE4Ijt6NlGzHuBd
+8cGl55MSvGZ1fX4kvnq+yzmY/rjBNm/FMNJdPxKjjwQIFVGEJ8S9AdZUWH1fswey
+zMlyeJBi0ISM/E3lZsG8QM/Ytw0Qj99vMiT40lzXOFEnMxaI6PiVvYDpsIdZyxw7
+x35sw3rtLNFCJC/GtMVGb1fnPa7YOSnEBSTgYIukW3naR97H/vQhVNs12Hg8ffMS
+vwHx7wk7dtTBLlBgECPDcRSKdlJdA1blZjXUcwNHDeo+RwTdtHNHIA/t3XpjRsQ=
+=YGjO
+-----END PGP SIGNATURE-----
diff --git a/dev-games/t4k-common/files/t4k-common-0.1.1-libpng.patch b/dev-games/t4k-common/files/t4k-common-0.1.1-libpng.patch
new file mode 100644
index 000000000000..29991544ddbf
--- /dev/null
+++ b/dev-games/t4k-common/files/t4k-common-0.1.1-libpng.patch
@@ -0,0 +1,18 @@
+--- src/t4k_common-0.1.1/src/t4k_loaders.c 2011-04-08 05:46:07.000000000 +0300
++++ src.new/t4k_common-0.1.1/src/t4k_loaders.c 2012-05-02 10:35:41.836670434 +0300
+@@ -1028,12 +1028,9 @@
+ {
+ png_init_io(png_ptr, fi);
+
+- info_ptr->width = surf->w;
+- info_ptr->height = surf->h;
+- info_ptr->bit_depth = 8;
+- info_ptr->color_type = PNG_COLOR_TYPE_RGB_ALPHA;
+- info_ptr->interlace_type = 1;
+- info_ptr->valid = 0; /* will be updated by various png_set_FOO() functions */
++ png_set_IHDR(png_ptr, info_ptr, surf->w, surf->h, 8,
++ PNG_COLOR_TYPE_RGB_ALPHA, 1,
++ PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE);
+
+ png_set_sRGB_gAMA_and_cHRM(png_ptr, info_ptr,
+ PNG_sRGB_INTENT_PERCEPTUAL);
diff --git a/dev-games/t4k-common/metadata.xml b/dev-games/t4k-common/metadata.xml
new file mode 100644
index 000000000000..e52db06ebd8c
--- /dev/null
+++ b/dev-games/t4k-common/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/dev-games/t4k-common/t4k-common-0.1.1.ebuild b/dev-games/t4k-common/t4k-common-0.1.1.ebuild
new file mode 100644
index 000000000000..fb5cf20bb824
--- /dev/null
+++ b/dev-games/t4k-common/t4k-common-0.1.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/t4k-common/t4k-common-0.1.1.ebuild,v 1.1 2013/01/20 21:50:12 hasufell Exp $
+
+EAPI=5
+inherit eutils
+
+DESCRIPTION="A library of code shared between tuxmath and tuxtype"
+HOMEPAGE="http://tux4kids.alioth.debian.org/tuxmath/download.php"
+SRC_URI="http://alioth.debian.org/frs/download.php/3540/t4k_common-${PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs svg"
+
+RDEPEND="dev-libs/libxml2:2
+ media-libs/libsdl
+ media-libs/sdl-image
+ media-libs/sdl-mixer
+ media-libs/sdl-net
+ media-libs/sdl-ttf
+ media-libs/sdl-pango
+ svg? (
+ gnome-base/librsvg:2
+ media-libs/libpng:0
+ x11-libs/cairo
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/t4k_common-${PV}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-libpng.patch
+}
+
+src_configure() {
+ econf \
+ $(usex svg "" "--without-rsvg") \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ use static-libs || prune_libtool_files --all
+}