summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2019-08-08 11:09:24 -0500
committerMatthias Maier <tamiko@gentoo.org>2019-08-08 11:12:28 -0500
commit558d2f4b3993d9efed5b206405166115d1d3b2c3 (patch)
treea61949ac7ebf2086a660165c8c4e51a22d520060 /sci-chemistry
parentsci-chemistry/gelemental: update upstream (diff)
downloadgentoo-558d2f4b3993d9efed5b206405166115d1d3b2c3.tar.gz
gentoo-558d2f4b3993d9efed5b206405166115d1d3b2c3.tar.bz2
gentoo-558d2f4b3993d9efed5b206405166115d1d3b2c3.zip
sci-chemistry/gelemental: version bump to 2.0.0
Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/gelemental/Manifest1
-rw-r--r--sci-chemistry/gelemental/gelemental-2.0.0.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/sci-chemistry/gelemental/Manifest b/sci-chemistry/gelemental/Manifest
index 246ba2eb9a80..c6a12eecca4c 100644
--- a/sci-chemistry/gelemental/Manifest
+++ b/sci-chemistry/gelemental/Manifest
@@ -1,2 +1,3 @@
DIST gelemental-1.2.0.tar.bz2 460757 BLAKE2B 53fd40cdc37909495cd9051c83418ace482fdf17930df2a94d8cb7f44a8eff2a5e7c37e54dac4e72810b1420d0bf2722eca47eb8c375fc05ecf26b753beb4e9d SHA512 2e6ef2c22b389cff69728b01e1eb397578974362356f5132098f29a9e01a64be228a24686738bd84ea575cee5aef068d9ab3d6c20233f995ccc5f1a1cb5d5673
DIST gelemental_1.2.0-8.debian.tar.gz 29877 BLAKE2B a19c853cd426e1abdf73b48a21d1d7c830a613dc5802b1478d699d21b3211060b150c25bd525414147d02972dd9ac0940468a2f873aad03f9b7c522e862f29a7 SHA512 83c236e3b91af304c96f28c0f12577821ee2f47c9e01fb1f3664228afb002dc19b1a71e6dcd6040d09ea991d131b147ea5b36283d8ead290d50014c15e69878c
+DIST v2.0.0.tar.gz 779052 BLAKE2B 86f98a97acaf84c2bd6e03e991e226f19e65ed9c06fc43c809278d5e6d8b93645aa64ac4983166fad6b6b9b3d0ad5bba7a7cbfe2dccbbe2ea093deaaa8bdfabd SHA512 86b0f59a3508560e3882f40b820d7b24b780bb4d1619df94f3410b0832255deec8e55d11c5ad960f96fc3e16d8a624279bf53bf178bf1dacdfe80a72181e48d6
diff --git a/sci-chemistry/gelemental/gelemental-2.0.0.ebuild b/sci-chemistry/gelemental/gelemental-2.0.0.ebuild
new file mode 100644
index 000000000000..6d8bf194fd93
--- /dev/null
+++ b/sci-chemistry/gelemental/gelemental-2.0.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools fdo-mime flag-o-matic gnome2-utils eutils
+
+DESCRIPTION="Periodic table viewer with detailed information on the chemical elements"
+HOMEPAGE="https://github.com/ginggs/gelemental/"
+SRC_URI="https://github.com/ginggs/${PN}/archive/v${PV}.tar.gz"
+
+LICENSE="GPL-3 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="
+ dev-cpp/gtkmm:2.4
+ dev-cpp/glibmm:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ sys-devel/gettext
+ dev-util/intltool
+ doc? ( app-doc/doxygen )"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ append-cxxflags -std=c++11 #566450
+ local myeconfargs=( $(use_enable doc api-docs) )
+
+ default
+}
+
+# src_install() {
+# de
+# autotools-utils_src_install apidir="/usr/share/doc/${PF}/html"
+# }
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+}