/[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.4 - (show annotations) (download)
Sat Mar 2 21:42:40 2013 UTC (18 months, 2 weeks ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
Move Qt dependencies to the new category

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

1 # Copyright 1999-2013 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.3 2012/07/26 15:35:42 kensington Exp $
4
5 EAPI="3"
6
7 inherit eutils qt4-r2
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="mirror://berlios/qtiplot/${MY_PN}-${PV}-opensource.zip"
14
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
17 LICENSE="GPL-3"
18 IUSE=""
19
20 RDEPEND="
21 dev-qt/qtgui:4
22 media-libs/libpng
23 media-libs/libemf"
24 DEPEND="${RDEPEND}
25 app-arch/unzip"
26
27 S="${WORKDIR}"/${MY_PN}
28
29 PATCHES=(
30 "${FILESDIR}/0.7-config.patch"
31 "${FILESDIR}/0.7-header.patch"
32 "${FILESDIR}"/${PV}-example.patch
33 )
34
35 src_prepare() {
36 edos2unix EmfEngine.pro
37 qt4-r2_src_prepare
38 sed \
39 -e "s:/usr/local/lib/libEMF.a:-lEMF:g" \
40 -e "s:/usr/local/include:${EPREFIX}/usr/include/:g" \
41 -i src/src.pro example/example.pro || die
42 }
43
44 src_install() {
45 dolib.so libEmfEngine.so* || die
46 insinto /usr/include
47 doins src/*.h* || die
48 }

  ViewVC Help
Powered by ViewVC 1.1.20