mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sci-chemistry/gelemental: add 2.0.1
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
18
sci-chemistry/gelemental/files/gelemental-2.0.1-pango.patch
Normal file
18
sci-chemistry/gelemental/files/gelemental-2.0.1-pango.patch
Normal file
@@ -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 {
|
||||
|
||||
|
||||
48
sci-chemistry/gelemental/gelemental-2.0.1.ebuild
Normal file
48
sci-chemistry/gelemental/gelemental-2.0.1.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user