diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/emfengine |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/emfengine')
-rw-r--r-- | media-libs/emfengine/Manifest | 8 | ||||
-rw-r--r-- | media-libs/emfengine/emfengine-0.8.ebuild | 52 | ||||
-rw-r--r-- | media-libs/emfengine/files/0.7-config.patch | 13 | ||||
-rw-r--r-- | media-libs/emfengine/files/0.7-header.patch | 13 | ||||
-rw-r--r-- | media-libs/emfengine/files/0.8-example.patch | 12 | ||||
-rw-r--r-- | media-libs/emfengine/metadata.xml | 7 |
6 files changed, 105 insertions, 0 deletions
diff --git a/media-libs/emfengine/Manifest b/media-libs/emfengine/Manifest new file mode 100644 index 000000000000..957a2dadf54f --- /dev/null +++ b/media-libs/emfengine/Manifest @@ -0,0 +1,8 @@ +AUX 0.7-config.patch 333 SHA256 1fb648048727e0e0df347a47f3252b283791b0302addad463e6287a105e71579 SHA512 0eec68028b080b9dc61df5a13d804de80223c9ffa86fa3f782b71b7f1b39402a42f8a0d5bdde45e57058de53e8a57987085fb431744f27ac655f7873a6439289 WHIRLPOOL 88149a6b128001e134c667413841dd268b766df45ffab62455ae531319f6b3af4a749261cd0cc96c02c4e5c139604725a6e6755b06bda9142c7cdf9743c73308 +AUX 0.7-header.patch 275 SHA256 87c7f95786ea1db0dbe8c8b3288e801e88ac400c855b4ca93e276b059867307f SHA512 5ea50c0f79af9ebf7d930b03adc4266fbd530117f836973eafd9c534069fa9558a8b328624ceba3558d6a31389b4a409537a8a9aea24d08214d9962ee936376a WHIRLPOOL d93fb26f76167451f99f423151f6280a48dede4bcb5d6cda5236595603a0d3f165b6889a763e4565e83925c2095fea9b51326f05fd898c04d772e85123afceb0 +AUX 0.8-example.patch 247 SHA256 a61d2fb4b792cef0278b1ba486f4b3c37e248b1b00a3db11082682dca953d258 SHA512 989ab4f1be5a26295b08fd49845b8adcb26395663b6efffc655788ef755e5d6e710d4b47da115aed686ff99fa768e9fc5f9c94a063ccc9b36c9504b800c4b9d1 WHIRLPOOL aaf33ccad168d065e56e778d0e34b0a161326303f32c5db59982e3600fa27cb738fb53fc5c2d10f769ab391137f3875b26cae29e30502000c79b0c4b74ad3ed3 +DIST EmfEngine-0.8-opensource.zip 37494 SHA256 3d30b94a6a9529ece104d1d5e948acda69287e66580ed6a4be75e476827f16a8 SHA512 70f8c122520b3053032d9ca36a40cdb3ab647a8e51b6570e40c0855fe478e953fec3a66f99c7fd217cf91c963c031efb7cbaeb10f4a8ca7860752799950fc7ba WHIRLPOOL 9e372afdcfad4bda6399b90d91f82f71262554e0897d2ce165f764401415d169a79e0c57bc3efc1d47ed6589792d2b3ff9048671347a6e164a755a335c18c162 +EBUILD emfengine-0.8.ebuild 1013 SHA256 7238c4716dd38f281ca622e247dd244b6e162f0d3d4b8f3b23f1f4e60fcef495 SHA512 be8ee674d14c5d88f4653909540d76cf0b9fea156ac59d75e923b101051ce8b7655a5597ef60580375a8a1fcc8faaa609d93890c2d7568b303395b8d97ba7659 WHIRLPOOL 3ad7194f1466702425140600f4090ffda6467107819cd1cbb2be1b28dd705c92d79c5531294f53070a375f74bc024c052af2f71473e768eec76bac198977bc0b +MISC ChangeLog 2533 SHA256 8cdc29fc63379096ccd9d83d427e549b48ab2a730ce2911eba9c1c25ff867c1f SHA512 54ab9930fb67197d808881ecd4c24125002ebc11f8b45f0bcbcc5c22514c48c2a0e89240d0f56f738a9f20d0e854c584229da67b4f1eb565e8cfa2995a23422a WHIRLPOOL 2591d4fea260f37f0bcf00a8a836e05b615d50c3c011add84f9aeaa1bf02dbaa767f5c9de7df6c1bfad71635f03e14bc6530d05a234f985413cbca2c76a2bf37 +MISC ChangeLog-2015 892 SHA256 81e12e9f5939e9c43fc38f23904bedc76302431dd6ae1becbaee5a2873ba5c94 SHA512 3b9ee1200ee6c354d21d065db95ba8f9ec51d082ce7674d640631c9595112b5a8353be123904712bfb586cfcc445679ca69952beaea62d031b422cd34ea1906e WHIRLPOOL d79d3d73863554a9f32baa525b1d4dcb4cbe982fd6ae7b60a9e39b24df2ce7ce94b292f38af230ca5aaf7181432c9eaea2f29ac6882f96e0d3f45865a9ba3fbf +MISC metadata.xml 219 SHA256 ad5a9ed2bfbad72c5b28b1444a4b6df2f47f8c0b0da9fc52222a381d345514ed SHA512 2d421746cac7e5e6a59e81fdc273cda856245e88c88a489118c94a58c9db3ddde6497be6a8c076309f895c1c0280fe77514332ddcfd5cb884fc255016f66b5b7 WHIRLPOOL e0a1fd67e3d5a96c654d339dc9329c908c8ff0356cdcbf6f6f65b90d14f7fb9a76efa492ce23486b5e4a2c9fa77ae78776316b39619c64957f8bb3266b91389b diff --git a/media-libs/emfengine/emfengine-0.8.ebuild b/media-libs/emfengine/emfengine-0.8.ebuild new file mode 100644 index 000000000000..0861ce1104ac --- /dev/null +++ b/media-libs/emfengine/emfengine-0.8.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils qmake-utils + +MY_PN="EmfEngine" + +DESCRIPTION="Native vector graphics file format on Windows" +HOMEPAGE="http://soft.proindependent.com/emf/index.html" +SRC_URI="https://dev.gentoo.org/~jelc/distfiles/${MY_PN}-${PV}-opensource.zip" + +SLOT="0" +LICENSE="GPL-3" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND=" + dev-qt/qtcore:4 + dev-qt/qtgui:4 + media-libs/libemf + media-libs/libpng:0 + " +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 + epatch "${PATCHES[@]}" + 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_configure() { + eqmake4 +} + +src_install() { + dolib.so libEmfEngine.so* + doheader src/*.h* +} 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..4028bdb661a0 --- /dev/null +++ b/media-libs/emfengine/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + </maintainer> +</pkgmetadata> |