summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-10-29 17:02:27 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-10-29 17:02:27 +0000
commit0f980c5305e1bb139bb6222bc6305084f2609196 (patch)
treefeef5719b7d51ba6e529f6e437e06a84e522b995 /app-doc/root-docs
parentVersion bump from sci overlay (diff)
downloadgentoo-2-0f980c5305e1bb139bb6222bc6305084f2609196.tar.gz
gentoo-2-0f980c5305e1bb139bb6222bc6305084f2609196.tar.bz2
gentoo-2-0f980c5305e1bb139bb6222bc6305084f2609196.zip
Version bump from sci overlay
(Portage version: 2.2.7-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'app-doc/root-docs')
-rw-r--r--app-doc/root-docs/ChangeLog13
-rw-r--r--app-doc/root-docs/root-docs-5.34.10.ebuild77
2 files changed, 88 insertions, 2 deletions
diff --git a/app-doc/root-docs/ChangeLog b/app-doc/root-docs/ChangeLog
index 2ce54efa6f22..ff68c3c4dd1b 100644
--- a/app-doc/root-docs/ChangeLog
+++ b/app-doc/root-docs/ChangeLog
@@ -1,10 +1,19 @@
# ChangeLog for app-doc/root-docs
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v 1.36 2013/07/03 09:49:34 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v 1.37 2013/10/29 17:02:27 bicatali Exp $
+
+ 07 Oct 2013; Andrew Savchenko <bircoph@gmail.com> root-docs-5.34.10.ebuild:
+ Omit unneeded howto messages.
+
+*root-docs-5.34.10 (04 Oct 2013)
+
+ 04 Oct 2013; Andrew Savchenko <bircoph@gmail.com> -root-docs-5.34.09.ebuild,
+ +root-docs-5.34.10.ebuild:
+ Version bump per bug 486620. Remove old.
03 Jul 2013; Michael Weber <xmw@gentoo.org> -root-docs-5.34.07.ebuild,
-root-docs-5.34.08.ebuild:
- Remove old version of 5.34 series, as requested by Andrew Savchenko.
+ Remove old version of 5.34 series, as requested by Andrew Savchenko.
*root-docs-5.34.09 (29 Jun 2013)
diff --git a/app-doc/root-docs/root-docs-5.34.10.ebuild b/app-doc/root-docs/root-docs-5.34.10.ebuild
new file mode 100644
index 000000000000..c03e0cfe0171
--- /dev/null
+++ b/app-doc/root-docs/root-docs-5.34.10.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/root-docs-5.34.10.ebuild,v 1.1 2013/10/29 17:02:27 bicatali Exp $
+
+EAPI=5
+
+ROOT_PN="root"
+PATCH_PV="5.34.01"
+
+if [[ ${PV} == "9999" ]] ; then
+ _GIT=git-2
+ SRC_URI=""
+ KEYWORDS=""
+else
+ SRC_URI="ftp://root.cern.ch/${ROOT_PN}/${ROOT_PN}_v${PV}.source.tar.gz"
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+inherit eutils multilib toolchain-funcs virtualx ${_GIT}
+
+DESCRIPTION="API documentation for ROOT (An Object-Oriented Data Analysis Framework)"
+HOMEPAGE="http://root.cern.ch/"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+IUSE=""
+
+S="${WORKDIR}/${ROOT_PN}"
+VIRTUALX_REQUIRED="always"
+
+DEPEND="
+ ~sci-physics/root-${PV}[X,doc,graphviz,htmldoc,opengl]
+ virtual/pkgconfig
+ ${_GIT_DEP}"
+RDEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-${PATCH_PV}-makehtml.patch
+}
+
+src_configure() {
+ # we need only to setup paths here, html docs doesn't depend on USE flags
+ ./configure \
+ --prefix="${EPREFIX}"/usr \
+ --etcdir="${EPREFIX}"/etc/root \
+ --libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --tutdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tutorials \
+ --testdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tests \
+ --with-cc=$(tc-getCC) \
+ --with-cxx=$(tc-getCXX) \
+ --with-f77=$(tc-getFC) \
+ --with-ld=$(tc-getCXX) \
+ --with-afs-shared=yes \
+ --with-llvm-config="${EPREFIX}"/usr/bin/llvm-config \
+ --with-sys-iconpath="${EPREFIX}"/usr/share/pixmaps \
+ --nohowto
+}
+
+src_compile() {
+ # video drivers may want to access hardware devices
+ cards=$(echo -n /dev/dri/card* /dev/ati/card* /dev/nvidiactl* | sed 's/ /:/g')
+ [[ -n "${cards}" ]] && addpredict "${cards}"
+
+ ROOTSYS="${S}" Xemake html
+ # if root.exe crashes, return code will be 0 due to gdb attach,
+ # so we need to check if last html file was generated;
+ # this check is volatile and can't catch crash on the last file.
+ [[ -f htmldoc/timespec.html ]] || die "looks like html doc generation crashed"
+}
+
+src_install() {
+ dodir /usr/share/doc/${PF}
+ # too large data to copy
+ mv htmldoc/* "${ED}usr/share/doc/${PF}/"
+ docompress -x "${EPREFIX}/usr/share/doc/${PF}/"
+}