summaryrefslogtreecommitdiff
path: root/sci-chemistry/molden/molden-5.5.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-11-18 10:15:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-11-18 10:15:03 +0000
commitb284a3168fa91a038925d2ecf5e4791011ea5e7d (patch)
tree16fe44748708acacd909d4e2e160a09a7f6d936a /sci-chemistry/molden/molden-5.5.ebuild
parent77398e424e45d9e98c1cef3c43bdadb9d56e81ef (diff)
gentoo resync : 18.11.2019
Diffstat (limited to 'sci-chemistry/molden/molden-5.5.ebuild')
-rw-r--r--sci-chemistry/molden/molden-5.5.ebuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/sci-chemistry/molden/molden-5.5.ebuild b/sci-chemistry/molden/molden-5.5.ebuild
index 9bc1635e9353..425238389f6e 100644
--- a/sci-chemistry/molden/molden-5.5.ebuild
+++ b/sci-chemistry/molden/molden-5.5.ebuild
@@ -1,9 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-
-inherit eutils fortran-2 flag-o-matic toolchain-funcs
+inherit desktop fortran-2 flag-o-matic toolchain-funcs
MY_P="${PN}${PV}"
@@ -13,7 +12,7 @@ SRC_URI="ftp://ftp.cmbi.ru.nl/pub/molgraph/${PN}/${MY_P}.tar.gz"
LICENSE="MOLDEN"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="opengl"
RDEPEND="
@@ -21,7 +20,8 @@ RDEPEND="
virtual/glu
opengl? (
media-libs/freeglut
- virtual/opengl )"
+ virtual/opengl )
+"
DEPEND="${RDEPEND}
x11-misc/gccmakedep
app-editors/vim"
@@ -34,6 +34,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-5.0-overflow.patch
"${FILESDIR}"/${PN}-4.8-ldflags.patch
"${FILESDIR}"/${PN}-4.7-implicit-dec.patch
+ "${FILESDIR}"/${PN}-5.5-gcc8.patch
)
src_prepare() {
@@ -67,6 +68,8 @@ src_compile() {
src_install() {
dobin ${PN} g${PN} $(usex opengl ${PN}ogl "")
+ doicon gmolden.png
+ make_desktop_entry gmolden MOLDEN gmolden.png
dodoc HISTORY README REGISTER
cd doc || die