commit:     870ba927b664bb72be14063cac451dbcc75182e7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 16 21:16:37 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 16 21:49:29 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=870ba927

sci-physics/h2o-gtk: Bump to EAPI 7

 .../{h2o-gtk-9999.ebuild => h2o-gtk-0.1-r1.ebuild}       | 16 ++++++++--------
 sci-physics/h2o-gtk/h2o-gtk-9999.ebuild                  | 11 +++++++----
 2 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/sci-physics/h2o-gtk/h2o-gtk-9999.ebuild 
b/sci-physics/h2o-gtk/h2o-gtk-0.1-r1.ebuild
similarity index 65%
copy from sci-physics/h2o-gtk/h2o-gtk-9999.ebuild
copy to sci-physics/h2o-gtk/h2o-gtk-0.1-r1.ebuild
index dd9d42e7722..ec3885a327d 100644
--- a/sci-physics/h2o-gtk/h2o-gtk-9999.ebuild
+++ b/sci-physics/h2o-gtk/h2o-gtk-0.1-r1.ebuild
@@ -1,23 +1,23 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-
-AUTOTOOLS_AUTORECONF=yes
-
-inherit autotools-utils git-r3
+EAPI=7
 
 DESCRIPTION="GTK+ UI for libh2o -- water & steam properties"
 HOMEPAGE="https://github.com/mgorny/h2o-gtk/";
-SRC_URI=""
-EGIT_REPO_URI="https://github.com/mgorny/h2o-gtk.git";
+SRC_URI="https://github.com/mgorny/h2o-gtk/releases/download/${P}/${P}.tar.bz2";
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 RDEPEND="dev-cpp/gtkmm:2.4=
        sci-libs/libh2oxx:0=
        sci-libs/plotmm:0="
 DEPEND="${RDEPEND}"
+
+src_configure() {
+       local -x CXXFLAGS="${CXXFLAGS} -std=c++11"
+       default
+}

diff --git a/sci-physics/h2o-gtk/h2o-gtk-9999.ebuild 
b/sci-physics/h2o-gtk/h2o-gtk-9999.ebuild
index dd9d42e7722..1096a19fbbc 100644
--- a/sci-physics/h2o-gtk/h2o-gtk-9999.ebuild
+++ b/sci-physics/h2o-gtk/h2o-gtk-9999.ebuild
@@ -1,11 +1,9 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-AUTOTOOLS_AUTORECONF=yes
-
-inherit autotools-utils git-r3
+inherit autotools git-r3
 
 DESCRIPTION="GTK+ UI for libh2o -- water & steam properties"
 HOMEPAGE="https://github.com/mgorny/h2o-gtk/";
@@ -21,3 +19,8 @@ RDEPEND="dev-cpp/gtkmm:2.4=
        sci-libs/libh2oxx:0=
        sci-libs/plotmm:0="
 DEPEND="${RDEPEND}"
+
+src_prepare() {
+       default
+       eautoreconf
+}

Reply via email to