From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-chemistry/gsim: metadata.xml gsim-0.19.1.ebuild ChangeLog |
Date: | Wed, 03 Nov 2010 09:37:11 |
Message-Id: | 20101103093705.F15DE20054@flycatcher.gentoo.org |
1 | jlec 10/11/03 09:37:05 |
2 | |
3 | Added: metadata.xml gsim-0.19.1.ebuild ChangeLog |
4 | Log: |
5 | New Addition, imported from sci opverlay |
6 | |
7 | (Portage version: 2.1.9.24/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sci-chemistry/gsim/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gsim/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gsim/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>sci</herd> |
21 | <maintainer> |
22 | <email>jlec@g.o</email> |
23 | </maintainer> |
24 | <use> |
25 | <flag name='emf'>Support for .emf export</flag> |
26 | </use> |
27 | </pkgmetadata> |
28 | |
29 | |
30 | |
31 | 1.1 sci-chemistry/gsim/gsim-0.19.1.ebuild |
32 | |
33 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gsim/gsim-0.19.1.ebuild?rev=1.1&view=markup |
34 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gsim/gsim-0.19.1.ebuild?rev=1.1&content-type=text/plain |
35 | |
36 | Index: gsim-0.19.1.ebuild |
37 | =================================================================== |
38 | # Copyright 1999-2010 Gentoo Foundation |
39 | # Distributed under the terms of the GNU General Public License v2 |
40 | # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gsim/gsim-0.19.1.ebuild,v 1.1 2010/11/03 09:37:05 jlec Exp $ |
41 | |
42 | EAPI="3" |
43 | |
44 | inherit eutils qt4-r2 |
45 | |
46 | DESCRIPTION="Programm for visualisation and processing of experimental and simulated NMR spectra" |
47 | HOMEPAGE="http://sourceforge.net/projects/gsim" |
48 | SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
49 | |
50 | LICENSE="GPL-2" |
51 | SLOT="0" |
52 | KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
53 | IUSE="emf opengl" |
54 | |
55 | RDEPEND=" |
56 | x11-libs/qt-svg:4 |
57 | dev-cpp/muParser |
58 | sci-libs/libcmatrix |
59 | virtual/blas |
60 | media-libs/freetype |
61 | emf? ( media-libs/libemf ) |
62 | opengl? ( x11-libs/qt-opengl:4 )" |
63 | DEPEND="${RDEPEND}" |
64 | |
65 | PATCHES=( "${FILESDIR}"/${PV}-build.conf.patch ) |
66 | DOCS="release.txt README_GSIM.* quickstart.* changes.log programming.*" |
67 | |
68 | src_prepare() { |
69 | edos2unix ${PN}.pro |
70 | |
71 | qt4-r2_src_prepare |
72 | |
73 | cat >> build.conf <<- EOF |
74 | INCLUDEPATH += ${EPREFIX}/usr/include/libcmatrixR3/ \ |
75 | ${EPREFIX}/usr/include/Minuit2 \ |
76 | ${EPREFIX}/usr/include |
77 | LIBS += -lcmatrix -lMinuit2 -lmuparser $(pkg-config --libs cblas) |
78 | EOF |
79 | use opengl && echo "CONFIG+=use_opengl" >> build.conf |
80 | if use emf; then |
81 | cat >> build.conf <<- EOF |
82 | CONFIG+=use_emf |
83 | DEFINES+=USE_EMF_OUTPUT |
84 | LIBS += -L${EPREFIX}/usr/include/libEMF -lEMF |
85 | EOF |
86 | fi |
87 | sed \ |
88 | -e "s:quickstart.pdf:../share/doc/${PF}/quickstart.pdf:g" \ |
89 | -e "s:README_GSIM.pdf:../share/doc/${PF}/README_GSIM.pdf:g" \ |
90 | -i mainform.h || die |
91 | } |
92 | |
93 | src_install() { |
94 | qt4-r2_src_install |
95 | dobin ${PN} || die "no ${PN}" |
96 | insinto /usr/share/${PN} |
97 | doins -r images ${PN}.ico || "no images" |
98 | insinto /usr/share/${PN}/ui |
99 | doins *.ui || die |
100 | } |
101 | |
102 | |
103 | |
104 | 1.1 sci-chemistry/gsim/ChangeLog |
105 | |
106 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gsim/ChangeLog?rev=1.1&view=markup |
107 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gsim/ChangeLog?rev=1.1&content-type=text/plain |
108 | |
109 | Index: ChangeLog |
110 | =================================================================== |
111 | # ChangeLog for sci-chemistry/gsim |
112 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
113 | # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gsim/ChangeLog,v 1.1 2010/11/03 09:37:05 jlec Exp $ |
114 | |
115 | *gsim-0.19.1 (03 Nov 2010) |
116 | |
117 | 03 Nov 2010; Justin Lecher <jlec@g.o> |
118 | +files/0.19.1-build.conf.patch, +gsim-0.19.1.ebuild, +metadata.xml: |
119 | New Addition, imported from sci opverlay |