summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-04-09 06:22:18 +0000
committerJustin Lecher <jlec@gentoo.org>2013-04-09 06:22:18 +0000
commit26bf12c1c51ee495e314d0369bb04d6306971471 (patch)
treec30d197198ac8eacccc17c38999721b58513419a /sci-chemistry/gabedit
parentsci-chemistry/gabedit: Version Bump, #465128 (diff)
downloadgentoo-2-26bf12c1c51ee495e314d0369bb04d6306971471.tar.gz
gentoo-2-26bf12c1c51ee495e314d0369bb04d6306971471.tar.bz2
gentoo-2-26bf12c1c51ee495e314d0369bb04d6306971471.zip
sci-chemistry/gabedit: Version Bump, #465128
(Portage version: 2.2.0_alpha171/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'sci-chemistry/gabedit')
-rw-r--r--sci-chemistry/gabedit/ChangeLog10
-rw-r--r--sci-chemistry/gabedit/gabedit-2.4.6.ebuild68
-rw-r--r--sci-chemistry/gabedit/metadata.xml10
3 files changed, 81 insertions, 7 deletions
diff --git a/sci-chemistry/gabedit/ChangeLog b/sci-chemistry/gabedit/ChangeLog
index b1630162e5f6..7c5596f52231 100644
--- a/sci-chemistry/gabedit/ChangeLog
+++ b/sci-chemistry/gabedit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-chemistry/gabedit
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gabedit/ChangeLog,v 1.19 2012/12/14 10:12:42 ulm Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gabedit/ChangeLog,v 1.20 2013/04/09 06:22:18 jlec Exp $
+
+*gabedit-2.4.6 (09 Apr 2013)
+
+ 09 Apr 2013; Justin Lecher <jlec@gentoo.org> +gabedit-2.4.6.ebuild,
+ metadata.xml:
+ Version Bump, #465128
14 Dec 2012; Ulrich Müller <ulm@gentoo.org> gabedit-2.3.6.ebuild,
gabedit-2.4.0.ebuild, gabedit-2.4.2.ebuild, gabedit-2.4.3.ebuild,
diff --git a/sci-chemistry/gabedit/gabedit-2.4.6.ebuild b/sci-chemistry/gabedit/gabedit-2.4.6.ebuild
new file mode 100644
index 000000000000..770cdec55aa8
--- /dev/null
+++ b/sci-chemistry/gabedit/gabedit-2.4.6.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gabedit/gabedit-2.4.6.ebuild,v 1.1 2013/04/09 06:22:18 jlec Exp $
+
+EAPI=5
+
+inherit eutils 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}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+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
+ virtual/opengl
+ virtual/glu"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -i "/rmdir tmp/d" "${S}"/Makefile || die
+ sed \
+ -e "/GTK_DISABLE_DEPRECATED/s:define:undef:g" \
+ -i "${S}/Config.h" || die
+ sed -e 's:-g::g' -i Makefile || die
+ cp "${FILESDIR}"/CONFIG.Gentoo "${S}"/CONFIG
+
+ if use openmp && tc-has-openmp; then
+ cat <<- EOF >> "${S}/CONFIG"
+ OMPLIB=-fopenmp
+ OMPCFLAGS=-DENABLE_OMP -fopenmp
+ EOF
+ fi
+ echo "COMMONCFLAGS = ${CFLAGS} -DENABLE_DEPRECATED \$(OMPCFLAGS) \$(DRAWGEOMGL)" >> CONFIG
+
+ tc-export CC
+}
+
+src_compile() {
+ emake clean
+ emake external_gl2ps=1
+}
+
+src_install() {
+ local size
+ dobin ${PN}
+ dodoc ChangeLog
+ for size in 16 24 32 48; do
+ doicon -s ${size} icons/Gabedit${size}.*
+ done
+}
diff --git a/sci-chemistry/gabedit/metadata.xml b/sci-chemistry/gabedit/metadata.xml
index a96fa5cdc0be..a6208270db01 100644
--- a/sci-chemistry/gabedit/metadata.xml
+++ b/sci-chemistry/gabedit/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci-chemistry</herd>
- <maintainer>
- <email>jlec@gentoo.org</email>
- <description>Tree Proxy for Max</description>
- </maintainer>
+ <herd>sci-chemistry</herd>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ <description>Tree Proxy for Max</description>
+ </maintainer>
</pkgmetadata>