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 /dev-games/t4k-common |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-games/t4k-common')
-rw-r--r-- | dev-games/t4k-common/Manifest | 6 | ||||
-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 | 8 | ||||
-rw-r--r-- | dev-games/t4k-common/t4k-common-0.1.1.ebuild | 46 |
4 files changed, 78 insertions, 0 deletions
diff --git a/dev-games/t4k-common/Manifest b/dev-games/t4k-common/Manifest new file mode 100644 index 000000000000..7b1581555fb6 --- /dev/null +++ b/dev-games/t4k-common/Manifest @@ -0,0 +1,6 @@ +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 947 SHA256 46844e1668ff7a4adcb0879907710049e49fc2989de8c292e3e5fd6a43e61654 SHA512 80e8688b02901af87c5c38c518f382fb0147bdb26aafc2aaa15e5749116a7b1ea6c4140f2cf223e1f34bf4dd01a96a238d4b345873d54375921c3f0e792a792a WHIRLPOOL fca485351e9f4327bca30584115d70c9b7fe55a3ff5d8c58e71457c2ca2f0efe2db2d4aa650d2a69cfef46d0b18f3b414e910a9077b6ad48aeb83e06ae5972ae +MISC ChangeLog 2870 SHA256 565bd418bc3be79e72be4b8356e5f1bbbc7950450cdf2e354f1c34dfc2ac25e3 SHA512 4a7763df5ec172303442590ad84b59173b4940308b0634bde04c380cda38ca488f5e9d95c041c154efa068f578e7a10a3a1f9fa779c770e666833b443e597159 WHIRLPOOL e2c01996605bac27663a412cdc162b5ed3dc3b38f65cf36c1d1eaf0abe01ae807c66074451b6400092dd5c8c5303524bc41977e2900644c62d17f373a99a5a0d +MISC ChangeLog-2015 715 SHA256 bdd78d3e63efa992b8c5cfe424efa8bc96415f5facbc2b1ac10d057b88fb2900 SHA512 46a70bd6cf713373a7457f15f02783056a1aaf88cfaa20dd42fbff51816a98afe74e57687bb3b204b9c377acf5b7085343d824072d354199612d2eeede190091 WHIRLPOOL 4a7e537b6ff47aacc064c2bec3931640fb92810e885e2ca87f6ffbd5e6e6777e0ba68b43874166d65e2519e972ee9b21f9cd7862552633fafb3c02e0b78f9501 +MISC metadata.xml 253 SHA256 2c95b2eb99144a3b66de17be35eebcf65e5a152a2ec2f176165bb9cd78e5394e SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 WHIRLPOOL fd044f0a960e57257f4a15ab16f066bbfe9983e60cd5fc072e631efc7027306c612a01d7fbbf57eb08d957487a7ce1961250194653d6ed87ee23f20d631ef854 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..26079e608bed --- /dev/null +++ b/dev-games/t4k-common/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> 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..ed40644465c3 --- /dev/null +++ b/dev-games/t4k-common/t4k-common-0.1.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |