x11-libs/liboglappth: Bump to EAPI=6
authorJustin Lecher <jlec@gentoo.org>
Fri, 19 May 2017 07:52:32 +0000 (08:52 +0100)
committerJustin Lecher <jlec@gentoo.org>
Fri, 19 May 2017 08:13:06 +0000 (09:13 +0100)
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Signed-off-by: Justin Lecher <jlec@gentoo.org>
x11-libs/liboglappth/files/gcc-4.3.patch
x11-libs/liboglappth/liboglappth-1.0.0.ebuild
x11-libs/liboglappth/metadata.xml

index 7a70ab2a2659daef0c485c1450f892618e55924d..bc04b9e97c7b5ac527b6d0bacb5cdde781b920db 100644 (file)
@@ -1,5 +1,5 @@
---- liboglappth-0.96.orig/src/base_wcl.cpp     2008-07-07 23:49:10.000000000 -0700
-+++ liboglappth-0.96/src/base_wcl.cpp  2008-07-07 23:49:26.000000000 -0700
+--- a/src/base_wcl.cpp 2008-07-07 23:49:10.000000000 -0700
++++ b/src/base_wcl.cpp 2008-07-07 23:49:26.000000000 -0700
 @@ -11,6 +11,7 @@
  
  #include "base_app.h"
index fed4ef03864a04e01af1eae904e686615896d670..a73b0a57b03fa3092c153eb064b42dacf452a926 100644 (file)
@@ -1,26 +1,21 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-inherit eutils
+EAPI=6
 
 DESCRIPTION="Libary for OpenGL applications with easy-to-code scene setup and selection"
 HOMEPAGE="http://www.bioinformatics.org/ghemical/"
 SRC_URI="http://www.bioinformatics.org/ghemical/download/current/${P}.tar.gz"
+
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE=""
-RDEPEND="virtual/opengl
+
+RDEPEND="
+       virtual/opengl
        media-libs/freeglut"
 DEPEND="${RDEPEND}
        virtual/pkgconfig"
 
-src_unpack() {
-       unpack ${A}
-       cd "${S}"
-       epatch "${FILESDIR}"/gcc-4.3.patch
-}
-
-src_install() {
-       emake DESTDIR="${D}" install || die "emake install failed"
-}
+PATCHES=( "${FILESDIR}"/gcc-4.3.patch )
index acee35cb0a6c469b40f953aac61c49d3fe5a20bf..75150c96669942cb51b38686a9929531cbd4f008 100644 (file)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type="project">
-       <email>sci-chemistry@gentoo.org</email>
-       <name>Gentoo Chemistry Project</name>
-</maintainer>
-<longdescription>
+       <maintainer type="project">
+               <email>sci-chemistry@gentoo.org</email>
+               <name>Gentoo Chemistry Project</name>
+       </maintainer>
+       <longdescription>
 Ghemical supports both quantum-mechanics (semi-empirical and ab initio) models 
 and molecular mechanics models (there is an experimental Tripos 5.2-like force 
 field for organic molecules). Also a tool for reduced protein models is