summaryrefslogtreecommitdiff
path: root/media-libs/sdl-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/sdl-gfx
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/sdl-gfx')
-rw-r--r--media-libs/sdl-gfx/Manifest7
-rw-r--r--media-libs/sdl-gfx/metadata.xml24
-rw-r--r--media-libs/sdl-gfx/sdl-gfx-2.0.25.ebuild43
-rw-r--r--media-libs/sdl-gfx/sdl-gfx-2.0.26.ebuild49
4 files changed, 123 insertions, 0 deletions
diff --git a/media-libs/sdl-gfx/Manifest b/media-libs/sdl-gfx/Manifest
new file mode 100644
index 000000000000..84a443d45e12
--- /dev/null
+++ b/media-libs/sdl-gfx/Manifest
@@ -0,0 +1,7 @@
+DIST SDL_gfx-2.0.25.tar.gz 1760656 SHA256 556eedc06b6cf29eb495b6d27f2dcc51bf909ad82389ba2fa7bdc4dec89059c0 SHA512 42a5d78fe1a9b644d329fb688ed6c98558f8dd0aa029a1a0d99b1c59f94859269e0aef8f9e420b8018b687d8eae151652890be3994775644e1d3a80ba7b6fe8c WHIRLPOOL f3cac6a16c1fe1bcc8a09d5438cca8737ee571030524381804969c89d97ee4fd78e36625616932d4985504fc7689d765455d90a47692c9097119094612f72c9c
+DIST SDL_gfx-2.0.26.tar.gz 1771164 SHA256 7ceb4ffb6fc63ffba5f1290572db43d74386cd0781c123bc912da50d34945446 SHA512 e571caa0d7575683efd4cf8f0a41ab10f4acf913f9ece216ac823af11da22c8734fc2c0ea049009a3e1a53715e49622f5bfcfdbdafb95e5151990d0a4eb69c01 WHIRLPOOL 774cb98be5ed3b144cb843b6b6afaab7ad30ba20edfb3523be9ef03247ce2dd9e6de47a2e9615b4977920597468cdb95fdf79a6016467582697e5500a775a64f
+EBUILD sdl-gfx-2.0.25.ebuild 1141 SHA256 0c9d6937ea46f11ba96e8c67971b211700a5f9482240d892fafcdd5785cd4eea SHA512 b9c6f177340f2eddcf8b91620c1992d2bf804c6c721dd17acedf325ce5651f8ff3d52f388ff93517ca65e2318ebad2d9e2b2c0734fcc7b264d667e2cb050f39b WHIRLPOOL 4c703792dc115d15c7f021cd3295326e2645d2883a1fe5423c88ef7fddacfe898a1bb7e36d541e22b188dc9c44631ff75e7baa8be2dff5444335ebbc175c47ef
+EBUILD sdl-gfx-2.0.26.ebuild 1242 SHA256 bb1ce1c76af8ed9249b989d0d4b47d7bc28bbac7c95f798fab6eea9f25c17ac3 SHA512 83259454884a8e4b352ca6b0a6f45f67b275502607c2b79a5c3ba8d735960a41e9c5e932fd411baa41f734e7f4879b89569761357c3ccd2c8aa38ab840927944 WHIRLPOOL af0c473f234ac0c4a4c6d5e1f6b1191c56d2cfdc2004fd7e5156420a2ac80e36830923037c2d4c159f69c457da4398c5ac0ffc06ce6fb78a8f58dce93112dfd5
+MISC ChangeLog 2431 SHA256 6bfcd3555fce78fe8f90636ed6ad5b4da377dde29e5b2b6eeda96b689a8bfc0a SHA512 300823533de62613ad16e598e02e57c0e4213b80361c3dec7cbd5aa4da126452d3debf154994cdac61cac1f9c27690a3073c03acf39546d301b6522ec52e617c WHIRLPOOL 010374537b584d6787c46faf1f8bd3526dd4362aa53824ebbdc4c2562f0de7ae654d3e829e84f92b44d18067bce773cb97ca4bc4e86ee48ee463d752d7da1828
+MISC ChangeLog-2015 13334 SHA256 d260529d0cfbfb001baa3dc412f4dd9ad2016b78b089eb7f36bf69de7c7767e6 SHA512 f9cb6e686de4222c13ef458fd4c0e8a2331e63781749c604bee535f05282cbd225ceb44438f3b51705993445782568b02442e59e194fc3bcad40612f88198b22 WHIRLPOOL de3e373c462ddfd6129095432e05b85dea2ac6bc6bfe52c0b4dd1b9e873eda7c1631502a95c415735ac235f04f87ce294a9e31d347923aba85768c8a1b5dee65
+MISC metadata.xml 905 SHA256 a4c21c1f59a23f1c8c570ce27b790918ddc8547fae4a9cf74e44f0fcbb2d57a7 SHA512 a20b750921aaf45863c50160e7ffece1b8b22f81a1aee9cc99fc3f60c71e54938dac533e6231689748e8eec97476db11e848f20e87060066c0158c022780f0ce WHIRLPOOL 3da950e78036703bd933592bc8246125fdec9929f2f78bdcd2986fce84b7fa4e8db17eaac1e71a106022c3512ac4730b7f719e0cea3e4ef64bee95abce07bc9f
diff --git a/media-libs/sdl-gfx/metadata.xml b/media-libs/sdl-gfx/metadata.xml
new file mode 100644
index 000000000000..a9c8ec3bb72b
--- /dev/null
+++ b/media-libs/sdl-gfx/metadata.xml
@@ -0,0 +1,24 @@
+<?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>
+SDL graphics drawing primitives and other support functions
+The SDL_gfx library evolved out of the SDL_gfxPrimitives code which provided basic drawing
+routines such as lines, circles or polygons and SDL_rotozoom which implemented a
+interpolating rotozoomer for SDL surfaces.
+
+The current components of the SDL_gfx library are:
+
+ * Graphic Primitives (SDL_gfxPrimitves.h)
+ * Rotozoomer (SDL_rotozoom.h)
+ * Framerate control (SDL_framerate.h)
+ * MMX image filters (SDL_imageFilter.h)
+
+The library is backwards compatible to the above mentioned code. Its is written in plain C
+and can be used in C++ code.
+</longdescription>
+</pkgmetadata>
diff --git a/media-libs/sdl-gfx/sdl-gfx-2.0.25.ebuild b/media-libs/sdl-gfx/sdl-gfx-2.0.25.ebuild
new file mode 100644
index 000000000000..32fe586605e3
--- /dev/null
+++ b/media-libs/sdl-gfx/sdl-gfx-2.0.25.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils multilib-minimal
+
+MY_P="${P/sdl-/SDL_}"
+DESCRIPTION="Graphics drawing primitives library for SDL"
+HOMEPAGE="http://www.ferzkopp.net/joomla/content/view/19/14/"
+SRC_URI="http://www.ferzkopp.net/Software/SDL_gfx-2.0/${MY_P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="doc cpu_flags_x86_mmx static-libs"
+
+RDEPEND=">=media-libs/libsdl-1.2.15-r4[video,${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+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 \
+ --disable-dependency-tracking \
+ $(use_enable cpu_flags_x86_mmx mmx) \
+ $(use_enable static-libs static)
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+}
+
+multilib_src_install_all() {
+ dodoc AUTHORS ChangeLog README
+ use doc && dohtml -r Docs/*
+ prune_libtool_files
+}
diff --git a/media-libs/sdl-gfx/sdl-gfx-2.0.26.ebuild b/media-libs/sdl-gfx/sdl-gfx-2.0.26.ebuild
new file mode 100644
index 000000000000..36fd5ef48bcf
--- /dev/null
+++ b/media-libs/sdl-gfx/sdl-gfx-2.0.26.ebuild
@@ -0,0 +1,49 @@
+# 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/sdl-/SDL_}"
+DESCRIPTION="Graphics drawing primitives library for SDL"
+HOMEPAGE="http://www.ferzkopp.net/joomla/content/view/19/14/"
+SRC_URI="http://www.ferzkopp.net/Software/SDL_gfx-2.0/${MY_P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="doc cpu_flags_x86_mmx static-libs"
+
+RDEPEND=">=media-libs/libsdl-1.2.15-r4[video,${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+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 \
+ --disable-dependency-tracking \
+ $(use_enable cpu_flags_x86_mmx mmx) \
+ $(use_enable static-libs static)
+}
+
+#multilib_src_install() {
+# emake DESTDIR="${D}" install
+#}
+
+multilib_src_install_all() {
+ einstalldocs
+ if use doc ; then
+ docinto html
+ dodoc -r Docs/*
+ fi
+ find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
+}