public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in kde-base/kalzium: ChangeLog kalzium-4.0.5.ebuild
@ 2008-06-05 21:04 Tobias Heinlein (keytoaster)
  0 siblings, 0 replies; only message in thread
From: Tobias Heinlein (keytoaster) @ 2008-06-05 21:04 UTC (permalink / raw
  To: gentoo-commits

keytoaster    08/06/05 21:04:22

  Modified:             ChangeLog
  Added:                kalzium-4.0.5.ebuild
  Log:
  Added the KDE 4.0.5 version of kalzium.
  (Portage version: 2.2_pre7/cvs/Linux 2.6.25-gentoo-r4 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+)

Revision  Changes    Path
1.97                 kde-base/kalzium/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalzium/ChangeLog?rev=1.97&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalzium/ChangeLog?rev=1.97&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalzium/ChangeLog?r1=1.96&r2=1.97

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/kde-base/kalzium/ChangeLog,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- ChangeLog	18 May 2008 20:34:06 -0000	1.96
+++ ChangeLog	5 Jun 2008 21:04:22 -0000	1.97
@@ -1,6 +1,12 @@
 # ChangeLog for kde-base/kalzium
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kalzium/ChangeLog,v 1.96 2008/05/18 20:34:06 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kalzium/ChangeLog,v 1.97 2008/06/05 21:04:22 keytoaster Exp $
+
+*kalzium-4.0.5 (05 Jun 2008)
+
+  05 Jun 2008; Tobias Heinlein <keytoaster@gentoo.org>
+  +kalzium-4.0.5.ebuild:
+  Added the KDE 4.0.5 version of kalzium.
 
   18 May 2008; Markus Meier <maekke@gentoo.org> kalzium-3.5.9.ebuild:
   amd64/x86 stable, bug #221063



1.1                  kde-base/kalzium/kalzium-4.0.5.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalzium/kalzium-4.0.5.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kalzium/kalzium-4.0.5.ebuild?rev=1.1&content-type=text/plain

Index: kalzium-4.0.5.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kalzium/kalzium-4.0.5.ebuild,v 1.1 2008/06/05 21:04:22 keytoaster Exp $

EAPI="1"

KMNAME=kdeedu
CPPUNIT_REQUIRED="optional"
inherit kde4-meta

DESCRIPTION="KDE: periodic table of the elements."
KEYWORDS="~amd64 ~x86"
IUSE="${IUSE} cviewer debug htmlhandbook solver"

COMMONDEPEND=">=kde-base/libkdeedu-${PV}:${SLOT}
	cviewer? ( >=dev-cpp/eigen-1.0.5
		>=sci-chemistry/openbabel-2.1
		|| ( x11-libs/qt-opengl:4
			>=x11-libs/qt-4.3.3:4 )
		virtual/opengl )"
DEPEND="${DEPEND} ${COMMONDEPEND}
	solver? ( dev-ml/facile )"
RDEPEND="${RDEPEND} ${COMMONDEPEND}"

KMEXTRACTONLY="libkdeedu/kdeeduui libkdeedu/libscience"

pkg_setup() {
	if use cviewer && has_version '<x11-libs/qt-4.4.0_alpha:4'; then
		QT4_BUILT_WITH_USE_CHECK="${QT4_BUILT_WITH_USE_CHECK} opengl"
	fi

	if use solver && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
		eerror "In order to build the solver for ${PN}, you first need"
		eerror "to have dev-lang/ocaml built with the ocamlopt useflag"
		eerror "in order to get a native code ocaml compiler"
		die "Please install dev-lang/ocaml with ocamlopt support"
	fi
	if use solver && ! built_with_use --missing true dev-ml/facile ocamlopt; then
		eerror "In order to build the solver for ${PN}, you first need"
		eerror "to have dev-ml/facile built with the ocamlopt useflag"
		eerror "in order to get the native code library"
		die "Please install dev-ml/facile with ocamlopt support"
	fi

	kde4-meta_pkg_setup
}

src_compile() {
	if use solver ; then
		# Compile the solver on its own as the cmake-based build is
		# currently broken. Fixes bug 206620.
		cd "${S}/${PN}/src/solver"
		emake || die "compiling the ocaml resolver failed"
		mkdir -p "${WORKDIR}/${PN}_build/${PN}/src/"
		cp * "${WORKDIR}/${PN}_build/${PN}/src/"
	fi

	mycmakeargs="${mycmakeargs}
		$(cmake-utils_use_with cviewer Eigen)
		$(cmake-utils_use_with cviewer OpenBabel2)
		$(cmake-utils_use_with cviewer OpenGL)
		$(cmake-utils_use_with solver OCaml)
		$(cmake-utils_use_with solver Libfacile)"

	kde4-meta_src_compile
}



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-05 21:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-05 21:04 [gentoo-commits] gentoo-x86 commit in kde-base/kalzium: ChangeLog kalzium-4.0.5.ebuild Tobias Heinlein (keytoaster)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox