sci-astronomy/topcat - 4.10.7 (benzene-overlay)

Search

Install

Install this version:

emerge -a =sci-astronomy/topcat-4.10.7

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-astronomy/topcat-4.10.7

Or alternatively:

emerge --autounmask-write -a =sci-astronomy/topcat-4.10.7

Package Information

Description:
Interactive graphical viewer and editor for astronomical tables
Homepage:
http://www.star.bris.ac.uk/~mbt/topcat
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
4.10.7 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop java-pkg-2 xdg
MY_PV=$(ver_rs 2 -)
#MY_PV=${PV}

DESCRIPTION="Interactive graphical viewer and editor for astronomical tables"
HOMEPAGE="http://www.star.bris.ac.uk/~mbt/topcat"
SRC_COM="https://www.star.bris.ac.uk/mbt/releases/topcat/v${MY_PV}"
SRC_URI="standard? ( ${SRC_COM}/${PN}-full.jar -> ${P}-full.jar )
	extra? ( ${SRC_COM}/${PN}-extra.jar -> ${P}-extra.jar )"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86" #~amd64-linux ~x86-linux"
IUSE="+standard extra"
REQUIRED_USE="^^ ( standard extra )"

RDEPEND=">=virtual/jre-1.8"

S="${WORKDIR}"

src_install() {
	java-pkg_newjar "${DISTDIR}"/${P}-$(usex extra extra full).jar ${PN}-$(usex extra extra full).jar
	java-pkg_dolauncher ${PN}-$(usex extra extra full) --jar ${PN}-$(usex extra extra full).jar
	dosym ${PN}-$(usex extra extra full) /usr/bin/${PN}

	domenu "${FILESDIR}"/${PN}.desktop
	doicon -s scalable "${FILESDIR}"/${PN}.svg
	doicon -s 72 "${FILESDIR}"/${PN}.png
}

USE Flags

Manage flags for this package: euse -i <flag> -p sci-astronomy/topcat | euse -E <flag> -p sci-astronomy/topcat | euse -D <flag> -p sci-astronomy/topcat

Global/Standard Flags

standard
Default: Enabled (+)

Inherited Eclasses

xdg

Dependencies

RDEPEND

>=virtual/jre-1.8