summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-11-22 21:17:26 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-11-22 21:17:26 +0000
commit9dd8ef4020878539ddcd56fd5f75bf124e707cd8 (patch)
tree4e1fa857a2381eb6b83482e10c2a42cc85107371 /media-libs/sdl2-gfx
parentvanilla-3.11.8 + genpatches-3.11-12 + grsecurity-2.9.1-3.11.8-201311182333 (diff)
downloadgentoo-2-9dd8ef4020878539ddcd56fd5f75bf124e707cd8.tar.gz
gentoo-2-9dd8ef4020878539ddcd56fd5f75bf124e707cd8.tar.bz2
gentoo-2-9dd8ef4020878539ddcd56fd5f75bf124e707cd8.zip
initial import
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'media-libs/sdl2-gfx')
-rw-r--r--media-libs/sdl2-gfx/ChangeLog10
-rw-r--r--media-libs/sdl2-gfx/Manifest4
-rw-r--r--media-libs/sdl2-gfx/metadata.xml18
-rw-r--r--media-libs/sdl2-gfx/sdl2-gfx-1.0.0.ebuild39
4 files changed, 71 insertions, 0 deletions
diff --git a/media-libs/sdl2-gfx/ChangeLog b/media-libs/sdl2-gfx/ChangeLog
new file mode 100644
index 000000000000..2f2d7d3bdf87
--- /dev/null
+++ b/media-libs/sdl2-gfx/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-libs/sdl2-gfx
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl2-gfx/ChangeLog,v 1.1 2013/11/22 21:17:26 hasufell Exp $
+
+*sdl2-gfx-1.0.0 (22 Nov 2013)
+
+ 22 Nov 2013; Julian Ospald <hasufell@gentoo.org> +sdl2-gfx-1.0.0.ebuild,
+ +metadata.xml:
+ initial import
+
diff --git a/media-libs/sdl2-gfx/Manifest b/media-libs/sdl2-gfx/Manifest
new file mode 100644
index 000000000000..d1df22604219
--- /dev/null
+++ b/media-libs/sdl2-gfx/Manifest
@@ -0,0 +1,4 @@
+DIST SDL2_gfx-1.0.0.tar.gz 1081660 SHA256 9843924d46eacbabba685a239cf2284b948766a20ef2caa48cb18462a3295caf SHA512 df8cf656232e07b14c8e36f932fface5a35619c0a3c54ec9388ce83159205ee01330e3714a0e89fa67fd7276302ef76cef4be87e7658129d22b88823b39b38a0 WHIRLPOOL e7444d8d56b33b6a57f190881847d5014f3c46e536036e144cea0bfeb2d7819cc10ecc25b247752af9fa2e9709a65dbf77e53a42581dc4d1d59fa67536165a21
+EBUILD sdl2-gfx-1.0.0.ebuild 846 SHA256 29ec9e1fb7b90af2df6d53247dc868e01804e6e4d8ab17ea4fc939c299b94054 SHA512 569a213db896bc8d79e19964a40fb347c2462c16f6c184c5f784595a0fb042b15e6701ec559dd8fe16ed3ba53959bcda8b234129d64f4ecec7938d883652b83c WHIRLPOOL 11b6f8103640082b524508960f2493bf0dfd53f7d342f80d69942ca889d3703abf442225426344bb6c61dfc5026a5209e432bb499dcd7cad802c0c5fc5e94e41
+MISC ChangeLog 261 SHA256 dcffed672c0cb7a15394a6f21f39a66503a0b830d916972d03bcd67bb194f51a SHA512 7dcfd4bcaaf075dd1dcc632c5e456ce3230925abcbac98624b0c3343fa620f81689552d48c77bf8f6d825a425c8faf1181e55ac113b1d307791221b79409cabb WHIRLPOOL 5fe76beb07cba21409d7dacaa915d31de4f9f14d4f7212adfe8f76ab68ae29a4cf24976513401f61e05ff3a5e6f0c569863dfc37b1410ae37ae94dc3a167cb57
+MISC metadata.xml 707 SHA256 3fb518072b53e0d1fe36f1703c05d07c157f926de348a898f0fa9b539f3e01e8 SHA512 23f6784444d45c4d229d9cc64806cc2d10b99b3fdf13f909a9a005e847d08aebc6ed0a45854b9c5b36051df68239ae1da56a464a866f7c32efcad0c848f09854 WHIRLPOOL 7afb8982e6b8f31fa459b80a60e7a4a5b1cae6c77b625a939ed4a33805a586b67755e5b294628bd727d420e41004bc40a6e9807bf999e806d75da1cc5c5afd7f
diff --git a/media-libs/sdl2-gfx/metadata.xml b/media-libs/sdl2-gfx/metadata.xml
new file mode 100644
index 000000000000..a2c38b643e95
--- /dev/null
+++ b/media-libs/sdl2-gfx/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <longdescription lang="en">
+ The SDL2_gfx library provides the basic drawing functions such
+ as lines, circles or polygons provided by SDL_gfx on SDL2 against
+ renderers of SDL2.
+
+ The current components of the SDL2_gfx library are:
+
+ * Graphic Primitives (SDL_gfxPrimitives.h, SDL_gfxPrimitives.c)
+ * Surface Rotozoomer (SDL_rotozoom.h, SDL_rotozoom.c)
+ * Framerate control (SDL_framerate.h, SDL_framerate.c)
+ * MMX image filters (SDL_imageFilter.h, SDL_imageFilter.c)
+ * Build-in 8x8 Font (SDL_gfxPrimitives_font.h)
+ </longdescription>
+</pkgmetadata>
diff --git a/media-libs/sdl2-gfx/sdl2-gfx-1.0.0.ebuild b/media-libs/sdl2-gfx/sdl2-gfx-1.0.0.ebuild
new file mode 100644
index 000000000000..1f5e508f77de
--- /dev/null
+++ b/media-libs/sdl2-gfx/sdl2-gfx-1.0.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl2-gfx/sdl2-gfx-1.0.0.ebuild,v 1.1 2013/11/22 21:17:26 hasufell Exp $
+
+EAPI=5
+inherit eutils
+
+MY_P="${P/sdl2-/SDL2_}"
+DESCRIPTION="Graphics drawing primitives library for SDL2"
+HOMEPAGE="http://www.ferzkopp.net/joomla/content/view/19/14/"
+SRC_URI="http://www.ferzkopp.net/Software/SDL2_gfx/${MY_P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc mmx static-libs"
+
+DEPEND="media-libs/libsdl2[video]"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i \
+ -e 's/ -O / /' \
+ configure || die
+}
+
+src_configure() {
+ econf \
+ $(use_enable mmx) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ use doc && dohtml -r Docs/html/*
+ prune_libtool_files
+}