/[gentoo-x86]/media-libs/emfengine/emfengine-0.8.ebuild
Gentoo

Contents of /media-libs/emfengine/emfengine-0.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Fri Feb 27 07:47:16 2015 UTC (4 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +17 -12 lines
Mirror the sources, #537754; Bump to EAPI=5

(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/emfengine/emfengine-0.8.ebuild,v 1.4 2013/03/02 21:42:40 hwoarang Exp $
4
5 EAPI=5
6
7 inherit eutils qmake-utils
8
9 MY_PN="EmfEngine"
10
11 DESCRIPTION="Native vector graphics file format on Windows"
12 HOMEPAGE="http://soft.proindependent.com/emf/index.html"
13 SRC_URI="http://dev.gentoo.org/~jelc/distfiles/${MY_PN}-${PV}-opensource.zip"
14
15 SLOT="0"
16 LICENSE="GPL-3"
17 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
18 IUSE=""
19
20 RDEPEND="
21 dev-qt/qtcore:4
22 dev-qt/qtgui:4
23 media-libs/libemf
24 media-libs/libpng:0
25 "
26 DEPEND="${RDEPEND}
27 app-arch/unzip"
28
29 S="${WORKDIR}"/${MY_PN}
30
31 PATCHES=(
32 "${FILESDIR}/0.7-config.patch"
33 "${FILESDIR}/0.7-header.patch"
34 "${FILESDIR}"/${PV}-example.patch
35 )
36
37 src_prepare() {
38 edos2unix EmfEngine.pro
39 epatch ${PATCHES[@]}
40 sed \
41 -e "s:/usr/local/lib/libEMF.a:-lEMF:g" \
42 -e "s:/usr/local/include:${EPREFIX}/usr/include/:g" \
43 -i src/src.pro example/example.pro || die
44 }
45
46 src_configure() {
47 eqmake4
48 }
49
50 src_install() {
51 dolib.so libEmfEngine.so*
52 doheader src/*.h*
53 }

  ViewVC Help
Powered by ViewVC 1.1.20