diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-01-20 21:50:12 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-01-20 21:50:12 +0000 |
commit | 9818020e23afb6fecf436bb12cb4cab94b7f2c4c (patch) | |
tree | bb6ffaadbd2c96861522654e77f776e01c5e96c6 /dev-games | |
parent | Stable for x86, wrt bug #452718 (diff) | |
download | gentoo-2-9818020e23afb6fecf436bb12cb4cab94b7f2c4c.tar.gz gentoo-2-9818020e23afb6fecf436bb12cb4cab94b7f2c4c.tar.bz2 gentoo-2-9818020e23afb6fecf436bb12cb4cab94b7f2c4c.zip |
initial import wrt #453220
(Portage version: 2.2.0_alpha155/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/t4k-common/ChangeLog | 10 | ||||
-rw-r--r-- | dev-games/t4k-common/Manifest | 5 | ||||
-rw-r--r-- | dev-games/t4k-common/files/t4k-common-0.1.1-libpng.patch | 18 | ||||
-rw-r--r-- | dev-games/t4k-common/metadata.xml | 10 | ||||
-rw-r--r-- | dev-games/t4k-common/t4k-common-0.1.1.ebuild | 47 |
5 files changed, 90 insertions, 0 deletions
diff --git a/dev-games/t4k-common/ChangeLog b/dev-games/t4k-common/ChangeLog new file mode 100644 index 000000000000..f01516a900cd --- /dev/null +++ b/dev-games/t4k-common/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-games/t4k-common +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/t4k-common/ChangeLog,v 1.1 2013/01/20 21:50:12 hasufell Exp $ + +*t4k-common-0.1.1 (20 Jan 2013) + + 20 Jan 2013; Julian Ospald <hasufell@gentoo.org> +t4k-common-0.1.1.ebuild, + +files/t4k-common-0.1.1-libpng.patch, +metadata.xml: + initial import wrt #453220 + diff --git a/dev-games/t4k-common/Manifest b/dev-games/t4k-common/Manifest new file mode 100644 index 000000000000..40407b0683ea --- /dev/null +++ b/dev-games/t4k-common/Manifest @@ -0,0 +1,5 @@ +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 +MISC metadata.xml 255 SHA256 8ce125b1cb2a8da5fe808223ae6ed60fe03598c692e5020f0a8aaee09b5d6ca3 SHA512 29f4a4a15fc968a3151c449354cd2003831f4b66b57d72222c46d4e4f7ff0586ed3f0b76d09fadf0b43fbb3a46951b19207dd6d38b79fe394b61694cd272ad95 WHIRLPOOL 373afc42b6a5f9f473397b1b95b73377110a2d7cf3590bdb8e0ef4b58c9628a06b1af46db726416fbaad0c29b91ee1eb631eccac14a26be994b705a43f097db8 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 +} |