aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/emfengine')
-rw-r--r--media-libs/emfengine/ChangeLog11
-rw-r--r--media-libs/emfengine/Manifest16
-rw-r--r--media-libs/emfengine/emfengine-0.7.ebuild40
-rw-r--r--media-libs/emfengine/files/0.7-config.patch13
-rw-r--r--media-libs/emfengine/files/0.7-header.patch13
-rw-r--r--media-libs/emfengine/metadata.xml8
6 files changed, 101 insertions, 0 deletions
diff --git a/media-libs/emfengine/ChangeLog b/media-libs/emfengine/ChangeLog
new file mode 100644
index 000000000..80ec29412
--- /dev/null
+++ b/media-libs/emfengine/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-libs/emfengine
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*emfengine-0.7 (21 Nov 2009)
+
+ 21 Nov 2009; Justin Lecher (jlec) <jlec@j-schmitz.net>
+ +files/0.7-config.patch, +emfengine-0.7.ebuild, +files/0.7-header.patch,
+ +metadata.xml:
+ Written by me
+
diff --git a/media-libs/emfengine/Manifest b/media-libs/emfengine/Manifest
new file mode 100644
index 000000000..f103afd05
--- /dev/null
+++ b/media-libs/emfengine/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 0.7-config.patch 333 RMD160 54b89b1fdd7397195ddb6afc0eaa71934bf72e73 SHA1 bc2bfec4a607f47d720c07a2641126bd347b4198 SHA256 1fb648048727e0e0df347a47f3252b283791b0302addad463e6287a105e71579
+AUX 0.7-header.patch 275 RMD160 c93ce1bee9770204c44cd1dd74f0f03df8b4b939 SHA1 ef5b7e68edcbe56fca46e42f029692beafae7b7f SHA256 87c7f95786ea1db0dbe8c8b3288e801e88ac400c855b4ca93e276b059867307f
+DIST EmfEngine-0.7-opensource.zip 37325 RMD160 fc9765f0f57733bb44e38effb323de443cec3b49 SHA1 49e76a367a666fbb64075b9b84c03acd46dd8a73 SHA256 891d1a49f28b08f6cad11de5559f0a487b82fe46b3c6bd06f2b9236be7846cc5
+EBUILD emfengine-0.7.ebuild 756 RMD160 73387a97b1428bb175aac1962558b0f9bbec86e0 SHA1 c417c92e93277ef2b2ae9fdc6e93ebff71a08f0f SHA256 3b1aa0487f7c4367c6861b59abc222061218d23a7f06a53293f2806abdaba30c
+MISC ChangeLog 317 RMD160 497d31abea84ee94d4b7c3c8976345389336f4f3 SHA1 a293e78f87f4c5ff4b0027f17598d11fb338fcf0 SHA256 221094c4723632482f3887c70fbf626c90c6215f922ab8037b9793fafb21a2c3
+MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAksH1ioACgkQgAnW8HDreRYa2gCeNa1yG8YltjOSRYmrr56AXYRi
+3/QAoLhkRr7htRDO1BKE7ua8qMfyBO2k
+=l9Fb
+-----END PGP SIGNATURE-----
diff --git a/media-libs/emfengine/emfengine-0.7.ebuild b/media-libs/emfengine/emfengine-0.7.ebuild
new file mode 100644
index 000000000..b8091f64f
--- /dev/null
+++ b/media-libs/emfengine/emfengine-0.7.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit qt4
+
+MY_PN="EmfEngine"
+
+DESCRIPTION="Native vector graphics file format on Windows"
+HOMEPAGE="http://soft.proindependent.com/emf/index.html"
+SRC_URI="mirror://berlios/qtiplot/${MY_PN}-${PV}-opensource.zip"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-3"
+IUSE=""
+
+RDEPEND="
+ x11-libs/qt-gui
+ media-libs/libpng"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}"/${MY_PN}
+
+PATCHES=(
+ "${FILESDIR}/${PV}-config.patch"
+ "${FILESDIR}/${PV}-header.patch"
+ )
+
+src_compile() {
+ eqmake4 ${MY_PN}.pro
+ emake sub-src-make_default || die
+}
+
+src_install() {
+ dolib.so libEmfEngine.so* || die
+ insinto /usr/include
+ doins src/*.h || die
+}
diff --git a/media-libs/emfengine/files/0.7-config.patch b/media-libs/emfengine/files/0.7-config.patch
new file mode 100644
index 000000000..709663aa3
--- /dev/null
+++ b/media-libs/emfengine/files/0.7-config.patch
@@ -0,0 +1,13 @@
+diff --git a/config.pri b/config.pri
+index 97854bc..db7e20f 100644
+--- a/config.pri
++++ b/config.pri
+@@ -8,7 +8,7 @@ win32:CONFIG += HAVE_GDI_PLUS
+ #DEFINES += HAVE_ANTIALIASED_TEXT
+
+ # Comment the following line if you want to build EmfEngine statically
+-#CONFIG += EmfEngineDll
++CONFIG += EmfEngineDll
+
+
+
diff --git a/media-libs/emfengine/files/0.7-header.patch b/media-libs/emfengine/files/0.7-header.patch
new file mode 100644
index 000000000..4d5964fc6
--- /dev/null
+++ b/media-libs/emfengine/files/0.7-header.patch
@@ -0,0 +1,13 @@
+diff --git a/src/EmfEngine.h b/src/EmfEngine.h
+index 12b1e5b..0573083 100644
+--- a/src/EmfEngine.h
++++ b/src/EmfEngine.h
+@@ -52,7 +52,7 @@
+ using namespace Gdiplus;
+ #else
+ #ifdef Q_WS_X11
+- #include <emf.h>
++ #include <libEMF/emf.h>
+ #endif
+
+ #ifdef Q_WS_MAC
diff --git a/media-libs/emfengine/metadata.xml b/media-libs/emfengine/metadata.xml
new file mode 100644
index 000000000..efb490d78
--- /dev/null
+++ b/media-libs/emfengine/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>