summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-06-20 17:43:54 +0000
committerJustin Lecher <jlec@gentoo.org>2011-06-20 17:43:54 +0000
commit1af7dca119c259cd83440d4aaf799766e0cdfe85 (patch)
tree45133f6c099a15fdea7025611e4ce76222c397bb /sci-chemistry/gabedit
parentPackage grabbed by aidecoe. (diff)
downloadgentoo-2-1af7dca119c259cd83440d4aaf799766e0cdfe85.tar.gz
gentoo-2-1af7dca119c259cd83440d4aaf799766e0cdfe85.tar.bz2
gentoo-2-1af7dca119c259cd83440d4aaf799766e0cdfe85.zip
Version BUmp
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/gabedit')
-rw-r--r--sci-chemistry/gabedit/ChangeLog8
-rw-r--r--sci-chemistry/gabedit/gabedit-2.3.6.ebuild8
-rw-r--r--sci-chemistry/gabedit/gabedit-2.3.7.ebuild13
-rw-r--r--sci-chemistry/gabedit/gabedit-2.3.8.ebuild62
4 files changed, 82 insertions, 9 deletions
diff --git a/sci-chemistry/gabedit/ChangeLog b/sci-chemistry/gabedit/ChangeLog
index 688739fe5647..4569cb539403 100644
--- a/sci-chemistry/gabedit/ChangeLog
+++ b/sci-chemistry/gabedit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-chemistry/gabedit
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gabedit/ChangeLog,v 1.9 2011/05/31 20:14:37 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gabedit/ChangeLog,v 1.10 2011/06/20 17:43:54 jlec Exp $
+
+*gabedit-2.3.8 (20 Jun 2011)
+
+ 20 Jun 2011; Justin Lecher <jlec@gentoo.org> gabedit-2.3.6.ebuild,
+ gabedit-2.3.7.ebuild, +gabedit-2.3.8.ebuild:
+ Version BUmp
31 May 2011; Markus Meier <maekke@gentoo.org> gabedit-2.3.6.ebuild:
x86 stable, bug #366717
diff --git a/sci-chemistry/gabedit/gabedit-2.3.6.ebuild b/sci-chemistry/gabedit/gabedit-2.3.6.ebuild
index 2c64ba757aee..22d4590a3f35 100644
--- a/sci-chemistry/gabedit/gabedit-2.3.6.ebuild
+++ b/sci-chemistry/gabedit/gabedit-2.3.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gabedit/gabedit-2.3.6.ebuild,v 1.3 2011/05/31 20:14:37 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gabedit/gabedit-2.3.6.ebuild,v 1.4 2011/06/20 17:43:54 jlec Exp $
EAPI=2
@@ -14,15 +14,19 @@ DESCRIPTION="GUI for computational chemistry packages"
HOMEPAGE="http://gabedit.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/GabeditDevloppment/${MY_PN}${MY_PV}/${MY_P}.tar.gz"
-LICENSE="as-is"
SLOT="0"
+LICENSE="as-is"
KEYWORDS="amd64 x86"
IUSE="openmp"
RDEPEND="
+ dev-libs/glib:2
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
x11-libs/gtk+:2
x11-libs/gtkglext
x11-libs/gl2ps
+ x11-libs/pango[X]
virtual/opengl
virtual/glu"
DEPEND="${RDEPEND}
diff --git a/sci-chemistry/gabedit/gabedit-2.3.7.ebuild b/sci-chemistry/gabedit/gabedit-2.3.7.ebuild
index 3a430025d20a..a5556a1e7560 100644
--- a/sci-chemistry/gabedit/gabedit-2.3.7.ebuild
+++ b/sci-chemistry/gabedit/gabedit-2.3.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gabedit/gabedit-2.3.7.ebuild,v 1.1 2011/05/09 20:03:40 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gabedit/gabedit-2.3.7.ebuild,v 1.2 2011/06/20 17:43:54 jlec Exp $
EAPI=2
@@ -14,15 +14,19 @@ DESCRIPTION="GUI for computational chemistry packages"
HOMEPAGE="http://gabedit.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/GabeditDevloppment/${MY_PN}${MY_PV}/${MY_P}.tar.gz"
-LICENSE="as-is"
SLOT="0"
+LICENSE="as-is"
KEYWORDS="~amd64 ~x86"
IUSE="openmp"
RDEPEND="
+ dev-libs/glib:2
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
x11-libs/gtk+:2
x11-libs/gtkglext
x11-libs/gl2ps
+ x11-libs/pango[X]
virtual/opengl
virtual/glu"
DEPEND="${RDEPEND}
@@ -30,11 +34,8 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
-pkg_setup() {
- tc-export CC
-}
-
src_prepare() {
+ tc-export CC
sed -i "/rmdir tmp/d" "${S}"/Makefile
sed -e "/GTK_DISABLE_DEPRECATED/s:define:undef:g" \
-i "${S}/Config.h" || die
diff --git a/sci-chemistry/gabedit/gabedit-2.3.8.ebuild b/sci-chemistry/gabedit/gabedit-2.3.8.ebuild
new file mode 100644
index 000000000000..6f4d2ffc4a0b
--- /dev/null
+++ b/sci-chemistry/gabedit/gabedit-2.3.8.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gabedit/gabedit-2.3.8.ebuild,v 1.1 2011/06/20 17:43:54 jlec Exp $
+
+EAPI=4
+
+inherit toolchain-funcs versionator
+
+MY_PN=${PN/g/G}
+MY_PV=$(delete_all_version_separators)
+MY_P="${MY_PN}Src${MY_PV}"
+
+DESCRIPTION="GUI for computational chemistry packages"
+HOMEPAGE="http://gabedit.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/GabeditDevloppment/${MY_PN}${MY_PV}/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~amd64 ~x86"
+IUSE="openmp"
+
+RDEPEND="
+ dev-libs/glib:2
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2
+ x11-libs/gtkglext
+ x11-libs/gl2ps
+ x11-libs/pango[X]
+ virtual/opengl
+ virtual/glu"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ tc-export CC
+ sed -i "/rmdir tmp/d" "${S}"/Makefile
+ sed \
+ -e "/GTK_DISABLE_DEPRECATED/s:define:undef:g" \
+ -i "${S}/Config.h" || die
+ cp "${FILESDIR}"/CONFIG.Gentoo "${S}"/CONFIG
+
+ if use openmp && tc-has-openmp; then
+ cat <<- EOF >> "${S}/CONFIG"
+ OMPLIB=-L/usr/$(get_libdir) -lgomp
+ OMPCFLAGS=-DENABLE_OMP -fopenmp
+ EOF
+ fi
+ echo "COMMONCFLAGS = ${CFLAGS} -DENABLE_DEPRECATED \$(OMPCFLAGS) \$(DRAWGEOMGL)" >> CONFIG
+}
+
+src_compile() {
+ emake clean
+ emake external_gl2ps=1
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc ChangeLog
+}