diff options
author | Matthias Maier <tamiko@gentoo.org> | 2022-04-24 08:27:34 -0500 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2022-04-24 08:28:10 -0500 |
commit | 18ea2dae1d58e86addb1a3e8960b4c501d5135e6 (patch) | |
tree | 03b8ee4e670cf49bccb5ea404b8d44370ad0609b /sci-chemistry | |
parent | dev-java/tomcat-native: Stabilize 1.2.32 amd64, #840574 (diff) | |
download | gentoo-18ea2dae1d58e86addb1a3e8960b4c501d5135e6.tar.gz gentoo-18ea2dae1d58e86addb1a3e8960b4c501d5135e6.tar.bz2 gentoo-18ea2dae1d58e86addb1a3e8960b4c501d5135e6.zip |
sci-chemistry/gelemental: add 2.0.1
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/gelemental/Manifest | 1 | ||||
-rw-r--r-- | sci-chemistry/gelemental/files/gelemental-2.0.1-pango.patch | 18 | ||||
-rw-r--r-- | sci-chemistry/gelemental/gelemental-2.0.1.ebuild | 48 |
3 files changed, 67 insertions, 0 deletions
diff --git a/sci-chemistry/gelemental/Manifest b/sci-chemistry/gelemental/Manifest index 08477ae30607..f10db30bd029 100644 --- a/sci-chemistry/gelemental/Manifest +++ b/sci-chemistry/gelemental/Manifest @@ -1 +1,2 @@ DIST gelemental-2.0.0.tar.gz 779052 BLAKE2B 86f98a97acaf84c2bd6e03e991e226f19e65ed9c06fc43c809278d5e6d8b93645aa64ac4983166fad6b6b9b3d0ad5bba7a7cbfe2dccbbe2ea093deaaa8bdfabd SHA512 86b0f59a3508560e3882f40b820d7b24b780bb4d1619df94f3410b0832255deec8e55d11c5ad960f96fc3e16d8a624279bf53bf178bf1dacdfe80a72181e48d6 +DIST gelemental-2.0.1.tar.gz 779930 BLAKE2B 99d4da62c10201134868241403bc3472c5d0c1d80ae2319cf4a152655eb829e9e1c4cac35e01b89176658e99ab872c74b7415d8a453f5b6970c16c88295604b5 SHA512 e3f8e1757ff3e7843f2a860ffd41413e15a8382a3d4bd41d850b629857764b1e1508de8e825d257e5232617395d56bc5f517797301d9fe13849ceb0e48a68da2 diff --git a/sci-chemistry/gelemental/files/gelemental-2.0.1-pango.patch b/sci-chemistry/gelemental/files/gelemental-2.0.1-pango.patch new file mode 100644 index 000000000000..cd4b7b4ef2de --- /dev/null +++ b/sci-chemistry/gelemental/files/gelemental-2.0.1-pango.patch @@ -0,0 +1,18 @@ +Description: Fix build with Pango 1.50 +Applied-Upstream: https://github.com/ginggs/gelemental/commit/689d343086ca151ecc4c4a407c1650bc64c7c931 +Bug-Debian: https://bugs.debian.org/1005490 +Author: Graham Inggs <ginggs@debian.org> +Last-Update: 2022-04-24 + +--- a/libelemental/value.cc ++++ b/libelemental/value.cc +@@ -25,7 +25,7 @@ + + #include <ext/stdio_filebuf.h> + #include <glibmm/utility.h> +-#include <pango/pango-attributes.h> ++#include <pango/pango.h> + + namespace Elemental { + + diff --git a/sci-chemistry/gelemental/gelemental-2.0.1.ebuild b/sci-chemistry/gelemental/gelemental-2.0.1.ebuild new file mode 100644 index 000000000000..d74be9286d1e --- /dev/null +++ b/sci-chemistry/gelemental/gelemental-2.0.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic xdg + +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 -> ${P}.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}" +BDEPEND=" + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" + +PATCHES=( + "${FILESDIR}"/${P}-pango.patch + ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + append-cxxflags -std=c++11 #566450 + + econf \ + --disable-static \ + $(use_enable doc api-docs) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |