Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-doc/root-docs: root-docs-5.34.15.ebuild ChangeLog
Date: Mon, 24 Feb 2014 00:04:49
Message-Id: 20140224000442.029F72004C@flycatcher.gentoo.org
1 bicatali 14/02/24 00:04:41
2
3 Modified: ChangeLog
4 Added: root-docs-5.34.15.ebuild
5 Log:
6 Version bump, adapted for prefix
7
8 (Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
9
10 Revision Changes Path
11 1.39 app-doc/root-docs/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/ChangeLog?rev=1.39&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/ChangeLog?rev=1.39&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/ChangeLog?r1=1.38&r2=1.39
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v
20 retrieving revision 1.38
21 retrieving revision 1.39
22 diff -u -r1.38 -r1.39
23 --- ChangeLog 5 Dec 2013 17:34:49 -0000 1.38
24 +++ ChangeLog 24 Feb 2014 00:04:41 -0000 1.39
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-doc/root-docs
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v 1.38 2013/12/05 17:34:49 bicatali Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v 1.39 2014/02/24 00:04:41 bicatali Exp $
31 +
32 +*root-docs-5.34.15 (24 Feb 2014)
33 +
34 + 24 Feb 2014; Sébastien Fabbro <bicatali@g.o> +root-docs-5.34.15.ebuild:
35 + Version bump, adapted for prefix
36
37 *root-docs-5.34.13 (05 Dec 2013)
38
39
40
41
42 1.1 app-doc/root-docs/root-docs-5.34.15.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/root-docs-5.34.15.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/root-docs-5.34.15.ebuild?rev=1.1&content-type=text/plain
46
47 Index: root-docs-5.34.15.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/root-docs-5.34.15.ebuild,v 1.1 2014/02/24 00:04:41 bicatali Exp $
52
53 EAPI=5
54
55 ROOT_PN="root"
56 PATCH_PV="5.34.01"
57
58 if [[ ${PV} == "9999" ]] ; then
59 _GIT=git-r3
60 SRC_URI=""
61 KEYWORDS=""
62 else
63 SRC_URI="ftp://root.cern.ch/${ROOT_PN}/${ROOT_PN}_v${PV}.source.tar.gz"
64 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
65 fi
66
67 inherit eutils multilib toolchain-funcs virtualx ${_GIT}
68
69 DESCRIPTION="API documentation for ROOT (An Object-Oriented Data Analysis Framework)"
70 HOMEPAGE="http://root.cern.ch/"
71
72 SLOT="0"
73 LICENSE="LGPL-2.1"
74 IUSE=""
75
76 S="${WORKDIR}/${ROOT_PN}"
77 VIRTUALX_REQUIRED="always"
78
79 DEPEND="
80 ~sci-physics/root-${PV}[X,doc,graphviz,htmldoc,opengl]
81 virtual/pkgconfig
82 ${_GIT_DEP}"
83 RDEPEND=""
84
85 src_prepare() {
86 epatch "${FILESDIR}"/${PN}-${PATCH_PV}-makehtml.patch
87 # prefixify the configure script
88 sed -i \
89 -e 's:/usr:${EPREFIX}/usr:g' \
90 configure || die "prefixify configure failed"
91 }
92
93 src_configure() {
94 # we need only to setup paths here, html docs doesn't depend on USE flags
95 ./configure \
96 --prefix="${EPREFIX}"/usr \
97 --etcdir="${EPREFIX}"/etc/root \
98 --libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} \
99 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
100 --tutdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tutorials \
101 --testdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tests \
102 --with-cc=$(tc-getCC) \
103 --with-cxx=$(tc-getCXX) \
104 --with-f77=$(tc-getFC) \
105 --with-ld=$(tc-getCXX) \
106 --with-afs-shared=yes \
107 --with-llvm-config="${EPREFIX}"/usr/bin/llvm-config \
108 --with-sys-iconpath="${EPREFIX}"/usr/share/pixmaps \
109 --nohowto
110 }
111
112 src_compile() {
113 # video drivers may want to access hardware devices
114 cards=$(echo -n /dev/dri/card* /dev/ati/card* /dev/nvidiactl* | sed 's/ /:/g')
115 [[ -n "${cards}" ]] && addpredict "${cards}"
116
117 ROOTSYS="${S}" Xemake html
118 # if root.exe crashes, return code will be 0 due to gdb attach,
119 # so we need to check if last html file was generated;
120 # this check is volatile and can't catch crash on the last file.
121 [[ -f htmldoc/timespec.html ]] || die "looks like html doc generation crashed"
122 }
123
124 src_install() {
125 dodir /usr/share/doc/${PF}
126 # too large data to copy
127 mv htmldoc/* "${ED}usr/share/doc/${PF}/"
128 docompress -x "${EPREFIX}/usr/share/doc/${PF}/"
129 }