jlec        14/04/24 12:46:46

  Modified:             ChangeLog
  Added:                gabedit-2.4.8.ebuild
  Log:
  sci-chemistry/gabedit: Version BUmp, #508388
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
B9D4F231BD1558AB!)

Revision  Changes    Path
1.26                 sci-chemistry/gabedit/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gabedit/ChangeLog?rev=1.26&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gabedit/ChangeLog?rev=1.26&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gabedit/ChangeLog?r1=1.25&r2=1.26

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/gabedit/ChangeLog,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- ChangeLog   18 Sep 2013 11:37:59 -0000      1.25
+++ ChangeLog   24 Apr 2014 12:46:46 -0000      1.26
@@ -1,6 +1,11 @@
 # ChangeLog for sci-chemistry/gabedit
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gabedit/ChangeLog,v 1.25 
2013/09/18 11:37:59 jlec Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gabedit/ChangeLog,v 1.26 
2014/04/24 12:46:46 jlec Exp $
+
+*gabedit-2.4.8 (24 Apr 2014)
+
+  24 Apr 2014; Justin Lecher <[email protected]> +gabedit-2.4.8.ebuild:
+  Version BUmp, #508388
 
   18 Sep 2013; Justin Lecher <[email protected]> -gabedit-2.3.6.ebuild,
   -gabedit-2.4.0.ebuild, -gabedit-2.4.2.ebuild, -gabedit-2.4.3.ebuild,



1.1                  sci-chemistry/gabedit/gabedit-2.4.8.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gabedit/gabedit-2.4.8.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gabedit/gabedit-2.4.8.ebuild?rev=1.1&content-type=text/plain

Index: gabedit-2.4.8.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gabedit/gabedit-2.4.8.ebuild,v 
1.1 2014/04/24 12:46:46 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
}




Reply via email to