You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
951 B
49 lines
951 B
4 years ago
|
# Copyright 1999-2020 Gentoo Authors
|
||
5 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
4 years ago
|
inherit autotools eutils flag-o-matic xdg-utils
|
||
5 years ago
|
|
||
|
DESCRIPTION="Periodic table viewer with detailed information on the chemical elements"
|
||
|
HOMEPAGE="https://github.com/ginggs/gelemental/"
|
||
5 years ago
|
SRC_URI="https://github.com/ginggs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||
5 years ago
|
|
||
|
LICENSE="GPL-3 MIT"
|
||
|
SLOT="0"
|
||
4 years ago
|
KEYWORDS="amd64 x86"
|
||
5 years ago
|
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
|
||
|
}
|
||
|
|
||
|
pkg_postinst() {
|
||
4 years ago
|
xdg_icon_cache_update
|
||
|
xdg_desktop_database_update
|
||
|
xdg_mimeinfo_database_update
|
||
5 years ago
|
}
|
||
|
|
||
|
pkg_postrm() {
|
||
4 years ago
|
xdg_icon_cache_update
|
||
|
xdg_desktop_database_update
|
||
|
xdg_mimeinfo_database_update
|
||
5 years ago
|
}
|