summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-10-18 06:50:55 +0000
committerJustin Lecher <jlec@gentoo.org>2010-10-18 06:50:55 +0000
commit087476203301cb54d8d711c71b3969f616f86b4e (patch)
tree898df596073dbdaed2023aa942e7e114c4ca9ced /media-libs/emfengine
parentSupport Berkeley DB-5.1 (diff)
downloadhistorical-087476203301cb54d8d711c71b3969f616f86b4e.tar.gz
historical-087476203301cb54d8d711c71b3969f616f86b4e.tar.bz2
historical-087476203301cb54d8d711c71b3969f616f86b4e.zip
Initial Commit
Package-Manager: portage-2.2_rc97/cvs/Linux x86_64
Diffstat (limited to 'media-libs/emfengine')
-rw-r--r--media-libs/emfengine/ChangeLog11
-rw-r--r--media-libs/emfengine/Manifest17
-rw-r--r--media-libs/emfengine/emfengine-0.8.ebuild48
-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/files/0.8-example.patch12
-rw-r--r--media-libs/emfengine/metadata.xml8
7 files changed, 122 insertions, 0 deletions
diff --git a/media-libs/emfengine/ChangeLog b/media-libs/emfengine/ChangeLog
new file mode 100644
index 000000000000..e37514924a7f
--- /dev/null
+++ b/media-libs/emfengine/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-libs/emfengine
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/emfengine/ChangeLog,v 1.1 2010/10/18 06:50:55 jlec Exp $
+
+*emfengine-0.8 (18 Oct 2010)
+
+ 18 Oct 2010; Justin Lecher <jlec@gentoo.org> +files/0.7-config.patch,
+ +emfengine-0.8.ebuild, +files/0.7-header.patch, +files/0.8-example.patch,
+ +metadata.xml:
+ Initial Commit
+
diff --git a/media-libs/emfengine/Manifest b/media-libs/emfengine/Manifest
new file mode 100644
index 000000000000..4042ccc17cf1
--- /dev/null
+++ b/media-libs/emfengine/Manifest
@@ -0,0 +1,17 @@
+-----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
+AUX 0.8-example.patch 247 RMD160 091ac6cf34812b2c3b3738f44c46cfb9a891e1ca SHA1 83092b9f397ae87b6069d9c0666f948b2a973e91 SHA256 a61d2fb4b792cef0278b1ba486f4b3c37e248b1b00a3db11082682dca953d258
+DIST EmfEngine-0.8-opensource.zip 37494 RMD160 b3283aa1f1957305dd3488fc686318d822af13c4 SHA1 385036345001c5caa9ad337ddc84d964aa204b69 SHA256 3d30b94a6a9529ece104d1d5e948acda69287e66580ed6a4be75e476827f16a8
+EBUILD emfengine-0.8.ebuild 1066 RMD160 df46d98bdbe9c8522d1055e53b1489d857c64f24 SHA1 b790c4998b5948524a554b54973fa2885f9a49f2 SHA256 3686cd3655ac06450ad0f314dceeec6da7ecb78eefa2f5f90fa16ba56113533f
+MISC ChangeLog 424 RMD160 5b3fda60483b754fd317fd99daf9c2d57a1a9c31 SHA1 e96fbc98ce8fbb22e0ffb0013abb8f3be6f613f9 SHA256 e829e82e36df915e5ca46b0139bb37a2d7b8849adae0fd52a35840ed2a024c67
+MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAky77lkACgkQgAnW8HDreRYEhQCgphgE8dvhiw5JW2FypOMrNJOX
+lWoAoMx7l5/EHJ7isCXUo+K/ZJjkw2Nh
+=ahIw
+-----END PGP SIGNATURE-----
diff --git a/media-libs/emfengine/emfengine-0.8.ebuild b/media-libs/emfengine/emfengine-0.8.ebuild
new file mode 100644
index 000000000000..d13c1969ca50
--- /dev/null
+++ b/media-libs/emfengine/emfengine-0.8.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/emfengine/emfengine-0.8.ebuild,v 1.1 2010/10/18 06:50:55 jlec Exp $
+
+EAPI="3"
+
+inherit eutils qt4-r2
+
+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
+ media-libs/libemf"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S="${WORKDIR}"/${MY_PN}
+
+PATCHES=(
+ "${FILESDIR}/0.7-config.patch"
+ "${FILESDIR}/0.7-header.patch"
+ "${FILESDIR}"/${PV}-example.patch
+ )
+
+src_prepare() {
+ edos2unix EmfEngine.pro
+ qt4-r2_src_prepare
+ sed \
+ -e "s:/usr/local/lib/libEMF.a:-lEMF:g" \
+ -e "s:/usr/local/include:${EPREFIX}/usr/include/:g" \
+ -i src/src.pro example/example.pro || 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 000000000000..709663aa3c8a
--- /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 000000000000..4d5964fc6806
--- /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/files/0.8-example.patch b/media-libs/emfengine/files/0.8-example.patch
new file mode 100644
index 000000000000..251419663c0f
--- /dev/null
+++ b/media-libs/emfengine/files/0.8-example.patch
@@ -0,0 +1,12 @@
+diff --git a/EmfEngine.pro b/EmfEngine.pro
+index 4615ffa..032c8b9 100644
+--- a/EmfEngine.pro
++++ b/EmfEngine.pro
+@@ -3,5 +3,4 @@ include( config.pri )
+ TEMPLATE = subdirs
+
+ SUBDIRS = \
+- src \
+- example
+\ No newline at end of file
++ src
diff --git a/media-libs/emfengine/metadata.xml b/media-libs/emfengine/metadata.xml
new file mode 100644
index 000000000000..efb490d78817
--- /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>