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