summaryrefslogtreecommitdiff
path: root/media-libs/sdl2-gfx
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/sdl2-gfx
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/sdl2-gfx')
-rw-r--r--media-libs/sdl2-gfx/Manifest7
-rw-r--r--media-libs/sdl2-gfx/metadata.xml21
-rw-r--r--media-libs/sdl2-gfx/sdl2-gfx-1.0.1.ebuild39
-rw-r--r--media-libs/sdl2-gfx/sdl2-gfx-1.0.3.ebuild46
4 files changed, 113 insertions, 0 deletions
diff --git a/media-libs/sdl2-gfx/Manifest b/media-libs/sdl2-gfx/Manifest
new file mode 100644
index 000000000000..f295a8e21944
--- /dev/null
+++ b/media-libs/sdl2-gfx/Manifest
@@ -0,0 +1,7 @@
+DIST SDL2_gfx-1.0.1.tar.gz 1078780 SHA256 d69bcbceb811b4e5712fbad3ede737166327f44b727f1388c32581dbbe8c599a SHA512 413f0ac8a60b6c4c91f154dd72a512f410e134642fefb80cd3482646c9aab7dd56d2cc9015e78ee59b5bc89adc7397a248fe2132077c004114ad6505ca4194de WHIRLPOOL e16f899bfd94ad0959bc156f43ce2f149e8e4bbd0f2b4bfba643ff109df030f9120262fa6accc7eca15c090f3c63e50f46ab215760f18bc2ce4af663bdbd0320
+DIST SDL2_gfx-1.0.3.tar.gz 1271457 SHA256 a4066bd467c96469935a4b1fe472893393e7d74e45f95d59f69726784befd8f8 SHA512 4efb48501d635492efcfe06b1d4691911ce58ffc34e3b622f2124ac6d8aa6994196ffb52f16ced4325db3ef6d93719516deab2bcf1ce934df9af06c2fecbdce5 WHIRLPOOL b758ff6909a886c3d88ca2eca11d3fd6704e2d3851449daaf266629220194842bb02f7f282f6e88cb04cead466214c842a80d98e18600b1352f9a2a1b29ca78f
+EBUILD sdl2-gfx-1.0.1.ebuild 906 SHA256 997753c95c1d5e75c16771b6e5f69bea161c044241c717f566a46fddda1d5b73 SHA512 01444251cadbdfa513c766afaba299f806a4a16a52a39392ec8bb4a4b7a5389ac0bcd2914303de50a24d30e214e92e19f86d2c648038bfe57fe20c6353764897 WHIRLPOOL 006b05b5a6b87d7e0c91c9da71788b1ef89f9690a43ecdea716aaac6c0173f94b9a5d748cf490f7bf02a9d0551d3f9d8eb0b27614661a1bf8a6c007925d51720
+EBUILD sdl2-gfx-1.0.3.ebuild 1028 SHA256 b4a1d38d4f990483fd8bc456ca09e9f232a80dd0a5c7a96074fb6913a3d6f3eb SHA512 c02be52f8abac5d7c383cae09c225ed17c106df90a085661dd62b5546081dcdee7f83461ddf49f0586a55aaade2f6e170e614f754a274e470068bd8a34ffbe58 WHIRLPOOL 7a45ba290aeaea4ed2008aabc40803a04e59e198d408c436e4f0cfb2aafa45655030396c38c7e0464483988bbdb89f13aeb1406cd2919e3260454b7f1da71db8
+MISC ChangeLog 2432 SHA256 3e1f844b3e936a94e84edded75f7c10e5022aa902d4d306ddc51ee520452a9f6 SHA512 ff80691091c518e1ba7fa2ed7353aaf07c8f2ea819b7f5be8b88fb942174d1899e87247576643033833c9ce565b56b2751ee3051c5de27ce8151f48c1c5f666b WHIRLPOOL a8d18c6fa607bf2e13ffc3f52ee788042e20a34ac7822f24f8fa8d88f88669a861a9273ec0460b1f2590f72703c7ed3642e28b5073d7149874f1cde71a8938c0
+MISC ChangeLog-2015 1202 SHA256 8092f6746677c89a9109ce7e8147def7c9d383022f6006f80c3af04221798055 SHA512 f4d2ad13f1974ee9bccf80975e4298b5a8671bfd62fa351d77c7f47f94422b0ade98a15078146b7a1c33049352b97cd44b4cc01b9b66e5c2fb6017b6b5de7278 WHIRLPOOL 061ffe8b1ceecbef4249421ee3b22edc4eda836a3d2964266fa4547218cfeae7b7eb170f6513e22369ef37431002390f989124e13aef37aebeeafc14b7800712
+MISC metadata.xml 801 SHA256 b320c4ed2b0924c30ddd5ef096efe454999af07488c084b59a8d53aaa1bac63e SHA512 9ea5f88ee86ff482c56e86b0e83d4f7c56ec17c46824eac8273981c7f6988df4f83299c98972036551a2bfe96b9b099a9f943de77f3586e9db99dd99909085d4 WHIRLPOOL 55bb4ebb14eabc0be4440e7cde43e8feaca2806186a6dc81652cd15c9964f3cfc6fcae963334d1723ebae8a5064534652c9849c1dd7386724d9636b14609307f
diff --git a/media-libs/sdl2-gfx/metadata.xml b/media-libs/sdl2-gfx/metadata.xml
new file mode 100644
index 000000000000..72e73429525b
--- /dev/null
+++ b/media-libs/sdl2-gfx/metadata.xml
@@ -0,0 +1,21 @@
+<?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>
+ <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.1.ebuild b/media-libs/sdl2-gfx/sdl2-gfx-1.0.1.ebuild
new file mode 100644
index 000000000000..bab6489cad40
--- /dev/null
+++ b/media-libs/sdl2-gfx/sdl2-gfx-1.0.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils multilib-minimal
+
+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 cpu_flags_x86_mmx static-libs"
+
+DEPEND=">=media-libs/libsdl2-2.0.1-r1[video,${MULTILIB_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i \
+ -e 's/ -O / /' \
+ configure.in || die
+ mv configure.in configure.ac || die
+ eautoreconf
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable cpu_flags_x86_mmx mmx) \
+ $(use_enable static-libs static)
+}
+
+multilib_src_install_all() {
+ use doc && dohtml -r Docs/html/*
+ prune_libtool_files
+}
diff --git a/media-libs/sdl2-gfx/sdl2-gfx-1.0.3.ebuild b/media-libs/sdl2-gfx/sdl2-gfx-1.0.3.ebuild
new file mode 100644
index 000000000000..290097e34aa9
--- /dev/null
+++ b/media-libs/sdl2-gfx/sdl2-gfx-1.0.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools multilib-minimal
+
+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 cpu_flags_x86_mmx static-libs"
+
+DEPEND=">=media-libs/libsdl2-2.0.1-r1[video,${MULTILIB_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS ChangeLog README )
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ default
+ sed -i \
+ -e 's/ -O / /' \
+ configure.in || die
+ mv configure.in configure.ac || die
+ eautoreconf
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable cpu_flags_x86_mmx mmx) \
+ $(use_enable static-libs static)
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ if use doc ; then
+ docinto html
+ dodoc -r Docs/html/*
+ fi
+ find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
+}