Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/clip/
Date: Tue, 01 Jul 2014 06:53:15
Message-Id: 1404162996.45e8119858d048e0c022b6ff4eef2ca667e4ab83.jlec@gentoo
1 commit: 45e8119858d048e0c022b6ff4eef2ca667e4ab83
2 Author: Jonas Stein <news <AT> jonasstein <DOT> de>
3 AuthorDate: Mon Jun 30 21:16:36 2014 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 30 21:16:36 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=45e81198
7
8 add Clip4, the Cologne Laue Indexiation Program
9
10 ---
11 sci-physics/clip/clip-4.0.0_beta2.ebuild | 39 ++++++++++++++++++++++++++++++++
12 sci-physics/clip/metadata.xml | 9 ++++++++
13 2 files changed, 48 insertions(+)
14
15 diff --git a/sci-physics/clip/clip-4.0.0_beta2.ebuild b/sci-physics/clip/clip-4.0.0_beta2.ebuild
16 new file mode 100644
17 index 0000000..b0ac76e
18 --- /dev/null
19 +++ b/sci-physics/clip/clip-4.0.0_beta2.ebuild
20 @@ -0,0 +1,39 @@
21 +# Copyright 1999-2014 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Header: $
24 +
25 +EAPI=5
26 +
27 +inherit qt4-r2 versionator
28 +
29 +MY_P="Clip4_$(get_version_component_range 4)_source"
30 +
31 +DESCRIPTION="Interactive program for evaluation of Laue diffraction patterns"
32 +HOMEPAGE="http://clip4.sf.net/"
33 +SRC_URI="mirror://sourceforge/clip4/${MY_P}.zip"
34 +LICENSE="GPL-3+"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~x86"
37 +RDEPEND="
38 + dev-cpp/eigen:3
39 + dev-qt/qtcore
40 + dev-qt/qtsvg
41 + dev-qt/qtgui
42 + dev-qt/qtwebkit
43 + dev-qt/qtopengl
44 +"
45 +DEPEND="${RDEPEND}"
46 +
47 +S="${WORKDIR}/${MY_P}"
48 +
49 +src_prepare()
50 +{
51 + sed -i -e 's|../eigen|/usr/include/eigen3|' \
52 + -e 's|shell hg|shell true|g' Clip4.pro || die "sed failed"
53 +}
54 +
55 +src_install()
56 +{
57 + dobin Clip
58 + dodoc README.txt
59 +}
60
61 diff --git a/sci-physics/clip/metadata.xml b/sci-physics/clip/metadata.xml
62 new file mode 100644
63 index 0000000..8a9f755
64 --- /dev/null
65 +++ b/sci-physics/clip/metadata.xml
66 @@ -0,0 +1,9 @@
67 +<?xml version='1.0' encoding='UTF-8'?>
68 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
69 +<pkgmetadata>
70 + <longdescription>
71 + The Cologne Laue Indexation Program, or short CLIP, is a software for the analysis of Laue patterns.
72 +
73 +Clip can simulate Laue patterns for arbitrary settings of crystal and detection plane. Moreover it allows to determine the crystal orientation from spots and zones marked on a Laue photograph.
74 + </longdescription>
75 +</pkgmetadata>