summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2018-04-17 23:09:13 +0200
committerDavid Seifert <soap@gentoo.org>2018-04-18 10:31:44 +0200
commit48c1b24fd2647a24c75820a0e11e04d6661ca099 (patch)
treedf0b06380de63932df5f909d557134acce5faf28 /sci-electronics/electric
parentapp-misc/ca-certificates: Removed old. (diff)
downloadgentoo-48c1b24fd2647a24c75820a0e11e04d6661ca099.tar.gz
gentoo-48c1b24fd2647a24c75820a0e11e04d6661ca099.tar.bz2
gentoo-48c1b24fd2647a24c75820a0e11e04d6661ca099.zip
sci-electronics/electric: Port to EAPI 6
Package-Manager: Portage-2.3.29, Repoman-2.3.9
Diffstat (limited to 'sci-electronics/electric')
-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"
}