1 |
amadio 15/03/04 04:21:18 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: geant-4.10.01.ebuild |
5 |
Log: |
6 |
Version bump. Fix bug #541152. |
7 |
|
8 |
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0xF0DE108F) |
9 |
|
10 |
Revision Changes Path |
11 |
1.80 sci-physics/geant/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/ChangeLog?rev=1.80&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/ChangeLog?rev=1.80&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/ChangeLog?r1=1.79&r2=1.80 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v |
20 |
retrieving revision 1.79 |
21 |
retrieving revision 1.80 |
22 |
diff -u -r1.79 -r1.80 |
23 |
--- ChangeLog 15 Apr 2014 15:31:42 -0000 1.79 |
24 |
+++ ChangeLog 4 Mar 2015 04:21:18 -0000 1.80 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sci-physics/geant |
27 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v 1.79 2014/04/15 15:31:42 bicatali Exp $ |
29 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v 1.80 2015/03/04 04:21:18 amadio Exp $ |
31 |
+ |
32 |
+*geant-4.10.01 (04 Mar 2015) |
33 |
+ |
34 |
+ 04 Mar 2015; <amadio@g.o> +geant-4.10.01.ebuild: |
35 |
+ version bump. Fixes bug #541152 |
36 |
|
37 |
*geant-4.10.00_p01 (15 Apr 2014) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 sci-physics/geant/geant-4.10.01.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/geant-4.10.01.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/geant-4.10.01.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: geant-4.10.01.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2015 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-4.10.01.ebuild,v 1.1 2015/03/04 04:21:18 amadio Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit cmake-utils eutils fortran-2 versionator multilib |
56 |
|
57 |
PV1=$(get_version_component_range 1 ${PV}) |
58 |
PV2=$(get_version_component_range 2 ${PV}) |
59 |
PV3=$(get_version_component_range 3 ${PV}) |
60 |
SPV3=$(printf %1d ${PV3}) |
61 |
MYP=${PN}$(replace_version_separator 3 .) |
62 |
|
63 |
DESCRIPTION="Toolkit for simulation of passage of particles through matter" |
64 |
HOMEPAGE="http://geant4.cern.ch/" |
65 |
SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz" |
66 |
|
67 |
LICENSE="geant4" |
68 |
SLOT="4" |
69 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
70 |
IUSE="+data dawn doc examples gdml geant3 inventor motif opengl |
71 |
raytracerx qt4 static-libs vrml zlib threads" |
72 |
|
73 |
RDEPEND=" |
74 |
dev-libs/expat |
75 |
>=sci-physics/clhep-2.1.3 |
76 |
dawn? ( media-gfx/dawn ) |
77 |
gdml? ( dev-libs/xerces-c ) |
78 |
motif? ( x11-libs/motif:0 ) |
79 |
opengl? ( virtual/opengl ) |
80 |
inventor? ( media-libs/SoXt ) |
81 |
qt4? ( dev-qt/qtgui:4 opengl? ( dev-qt/qtopengl:4 ) ) |
82 |
raytracerx? ( x11-libs/libX11 x11-libs/libXmu ) |
83 |
zlib? ( sys-libs/zlib )" |
84 |
DEPEND="${RDEPEND} prefix? ( app-shells/tcsh )" |
85 |
PDEPEND=" |
86 |
data? ( ~sci-physics/geant-data-${PV} ) |
87 |
doc? ( ~app-doc/geant-docs-${PV1}.${PV2}.${SPV3} )" |
88 |
|
89 |
S="${WORKDIR}/${MYP}" |
90 |
|
91 |
PATCHES=( "${FILESDIR}"/${PN}-4.10.0-no-examples.patch ) |
92 |
|
93 |
src_configure() { |
94 |
local mycmakeargs=( |
95 |
-DGEANT4_USE_SYSTEM_CLHEP=ON |
96 |
-DGEANT4_INSTALL_DATA=OFF |
97 |
$(cmake-utils_use threads GEANT4_BUILD_MULTITHREADED) |
98 |
$(cmake-utils_use dawn GEANT4_USE_NETWORKDAWN) |
99 |
$(cmake-utils_use gdml GEANT4_USE_GDML) |
100 |
$(cmake-utils_use geant3 GEANT4_USE_G3TOG4) |
101 |
$(cmake-utils_use motif GEANT4_USE_XM) |
102 |
$(cmake-utils_use opengl GEANT4_USE_OPENGL_X11) |
103 |
$(cmake-utils_use inventor GEANT4_USE_INVENTOR) |
104 |
$(cmake-utils_use qt4 GEANT4_USE_QT) |
105 |
$(cmake-utils_use raytracerx GEANT4_USE_RAYTRACER_X11) |
106 |
$(cmake-utils_use vrml GEANT4_USE_NETWORKVRML) |
107 |
$(cmake-utils_use zlib GEANT4_USE_SYSTEM_ZLIB) |
108 |
$(cmake-utils_use_build static-libs STATIC_LIBS) |
109 |
) |
110 |
if use inventor; then |
111 |
mycmakeargs+=( |
112 |
-DINVENTOR_INCLUDE_DIR="$(coin-config --includedir)" |
113 |
-DINVENTOR_SOXT_INCLUDE_DIR="$(coin-config --includedir)" |
114 |
) |
115 |
fi |
116 |
cmake-utils_src_configure |
117 |
} |
118 |
|
119 |
src_install() { |
120 |
# adjust clhep linking flags for system clhep |
121 |
# binmake.gmk is only useful for legacy build systems |
122 |
sed -i -e 's/-lG4clhep/-lCLHEP/' config/binmake.gmk || die |
123 |
cmake-utils_src_install |
124 |
insinto /usr/share/doc/${PF} |
125 |
doins ReleaseNotes/ReleaseNotes${PV1}.${PV2}.${SPV3}.html |
126 |
[[ -e ReleaseNotes/Patch${PV1}.${PV2}.${SPV3}-1.txt ]] && \ |
127 |
dodoc ReleaseNotes/Patch${mypv}-*.txt |
128 |
use examples && doins -r examples |
129 |
} |
130 |
|
131 |
pkg_postinst() { |
132 |
elog "The following scripts are provided for backward compatibility:" |
133 |
elog "$(ls -1 ${EROOT%/}/usr/share/Geant4-${PV2}.${SPV3}.*/geant4make/*sh)" |
134 |
} |