/[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.3 - (hide annotations) (download)
Thu Jul 26 15:35:42 2012 UTC (2 years, 1 month ago) by kensington
Branch: MAIN
Changes since 1.2: +3 -3 lines
Add missing slot dependencies on Qt.

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 kensington 1.3 # Copyright 1999-2012 Gentoo Foundation
2 jlec 1.1 # Distributed under the terms of the GNU General Public License v2
3 kensington 1.3 # $Header: /var/cvsroot/gentoo-x86/media-libs/emfengine/emfengine-0.8.ebuild,v 1.2 2010/10/23 17:35:43 jlec Exp $
4 jlec 1.1
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 jlec 1.2 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
17 jlec 1.1 LICENSE="GPL-3"
18     IUSE=""
19    
20     RDEPEND="
21 kensington 1.3 x11-libs/qt-gui:4
22 jlec 1.1 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