sci-physics/h2o-gtk: Bump to EAPI 7
authorMichał Górny <mgorny@gentoo.org>
Wed, 16 May 2018 21:16:37 +0000 (23:16 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 16 May 2018 21:49:29 +0000 (23:49 +0200)
sci-physics/h2o-gtk/h2o-gtk-0.1-r1.ebuild [new file with mode: 0644]
sci-physics/h2o-gtk/h2o-gtk-9999.ebuild

diff --git a/sci-physics/h2o-gtk/h2o-gtk-0.1-r1.ebuild b/sci-physics/h2o-gtk/h2o-gtk-0.1-r1.ebuild
new file mode 100644 (file)
index 0000000..ec3885a
--- /dev/null
@@ -0,0 +1,23 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="GTK+ UI for libh2o -- water & steam properties"
+HOMEPAGE="https://github.com/mgorny/h2o-gtk/"
+SRC_URI="https://github.com/mgorny/h2o-gtk/releases/download/${P}/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+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
+}
index dd9d42e7722fe075a42a6a65d2b59a149be616df..1096a19fbbc2dc7db7f76bc80c0b22ed8a406970 100644 (file)
@@ -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
+}