summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/electric/electric-9.03.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/sci-electronics/electric/electric-9.03.ebuild b/sci-electronics/electric/electric-9.03.ebuild
index e7c190691c95..eddba70359cf 100644
--- a/sci-electronics/electric/electric-9.03.ebuild
+++ b/sci-electronics/electric/electric-9.03.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-inherit eutils java-pkg-2
+EAPI=6
+
+inherit desktop java-pkg-2
DESCRIPTION="Complete Electronic Design Automation system for many forms of circuit design"
HOMEPAGE="https://www.gnu.org/software/electric/electric.html"
@@ -12,7 +14,8 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND=">=virtual/jre-1.6
+RDEPEND="
+ >=virtual/jre-1.6
sci-electronics/electronics-menu"
DEPEND="app-arch/unzip"
@@ -20,7 +23,8 @@ S=${WORKDIR}
src_install() {
java-pkg_newjar "${DISTDIR}"/${PN}Binary-${PV}.jar
- newicon com/sun/electric/tool/user/help/helphtml/iconplug.png electric.png
java-pkg_dolauncher ${PN}
+
+ newicon com/sun/electric/tool/user/help/helphtml/iconplug.png electric.png
make_desktop_entry electric "Electric VLSI Design System" electric "Electronics"
}