aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher (jlec) <jlec@j-schmitz.net>2009-05-18 00:03:27 +0200
committerJustin Lecher (jlec) <jlec@j-schmitz.net>2009-05-18 23:08:20 +0200
commite693b904328cfe8ea0e63c6745a1246798aa1db4 (patch)
treedba78032691909b914339192f9112cfea26d2310 /media-gfx
parentsci-chemistry/mgltools-support added (diff)
downloadsci-e693b904328cfe8ea0e63c6745a1246798aa1db4.tar.gz
sci-e693b904328cfe8ea0e63c6745a1246798aa1db4.tar.bz2
sci-e693b904328cfe8ea0e63c6745a1246798aa1db4.zip
media-gfx/libgfx added
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/libgfx/ChangeLog10
-rw-r--r--media-gfx/libgfx/Manifest5
-rw-r--r--media-gfx/libgfx/files/1.1.0-gcc4.3.patch11
-rw-r--r--media-gfx/libgfx/libgfx-1.1.0.ebuild36
-rw-r--r--media-gfx/libgfx/metadata.xml8
5 files changed, 70 insertions, 0 deletions
diff --git a/media-gfx/libgfx/ChangeLog b/media-gfx/libgfx/ChangeLog
new file mode 100644
index 000000000..ff0ba09c8
--- /dev/null
+++ b/media-gfx/libgfx/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-gfx/libgfx
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*libgfx-1.1.0 (17 May 2009)
+
+ 17 May 2009; Justin Lecher (jlec) <jlec@j-schmitz.net>
+ +files/1.1.0-gcc4.3.patch, +libgfx-1.1.0.ebuild, +metadata.xml:
+ Initial setup
+
diff --git a/media-gfx/libgfx/Manifest b/media-gfx/libgfx/Manifest
new file mode 100644
index 000000000..68bec56e7
--- /dev/null
+++ b/media-gfx/libgfx/Manifest
@@ -0,0 +1,5 @@
+AUX 1.1.0-gcc4.3.patch 254 RMD160 3e0391ef6d58bd39f4399ae8562802a670deccc5 SHA1 4ba762152d87cc3a55e8f4414db4dcdbe7f65067 SHA256 384dd36bd36d00a8eb305f574345099a1f511d769c7af1021574c6a3b18d33c3
+DIST libgfx-1.1.0.tar.gz 145470 RMD160 8c9a19bd5cd557ea029f7ad0a444983fbc9a084e SHA1 63bcca257e164ac77e6f0c9a6da5f7646c76d1bf SHA256 2bd53940c068c40125a8cfebcbd519c10c8630f8bdf4ebe9f57d328c74ad0284
+EBUILD libgfx-1.1.0.ebuild 658 RMD160 393573cf260204022bff0de62f9710b0fa7f3e71 SHA1 5cb545e2565d70c33e5a0454b8aa386a6e907532 SHA256 62396c3195e89c3f72f20d50ee45aa2bca2447c8e97de042b83b4ef6633d6bf7
+MISC ChangeLog 286 RMD160 98f81e6d7984d9c843cfdf55c35d5719bbfa8808 SHA1 d77c1d8b0e61c03ec8290f217fa92eb046c02501 SHA256 b32cb9288df844bb986eccc43ad0c2a8b6d9d9678573f85eaeff0a7325d17ddf
+MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c
diff --git a/media-gfx/libgfx/files/1.1.0-gcc4.3.patch b/media-gfx/libgfx/files/1.1.0-gcc4.3.patch
new file mode 100644
index 000000000..c3990dc34
--- /dev/null
+++ b/media-gfx/libgfx/files/1.1.0-gcc4.3.patch
@@ -0,0 +1,11 @@
+--- src/raster.cxx 2004-09-27 06:45:31.000000000 +0200
++++ src/raster.cxx.new 2009-05-17 23:48:58.417607175 +0200
+@@ -9,7 +9,7 @@
+ #include <gfx/gfx.h>
+ #include <gfx/raster.h>
+
+-#include <string>
++#include <cstring>
+ #include <cctype>
+
+ namespace gfx
diff --git a/media-gfx/libgfx/libgfx-1.1.0.ebuild b/media-gfx/libgfx/libgfx-1.1.0.ebuild
new file mode 100644
index 000000000..321fdd7db
--- /dev/null
+++ b/media-gfx/libgfx/libgfx-1.1.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="The purpose of this library is to simplify the creation of computer graphics software"
+HOMEPAGE="http://mgarland.org/software/libgfx.html"
+SRC_URI="http://mgarland.org/dist/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-gcc4.3.patch
+}
+
+src_compile() {
+ cd src
+ emake || die
+}
+
+src_install() {
+ dolib.a src/*.a ||die
+ insinto /usr/include/
+ doins include/gfx/gfx.h || die
+
+ dohtml doc/* || die
+}
diff --git a/media-gfx/libgfx/metadata.xml b/media-gfx/libgfx/metadata.xml
new file mode 100644
index 000000000..efb490d78
--- /dev/null
+++ b/media-gfx/libgfx/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+ <email>sci@gentoo.org</email>
+</maintainer>
+</pkgmetadata>