summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-10-26 19:06:38 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-10-26 19:06:38 +0000
commitc16b01941fb446c96f385955897b264251977d0b (patch)
treeeea0af597319a6214a1a7b68e9a8f99cd5b6977c /x11-misc
parentChange virtual/jre RDEPEND to >=virtual/jre-1.5 wrt #388517 (diff)
downloadgentoo-2-c16b01941fb446c96f385955897b264251977d0b.tar.gz
gentoo-2-c16b01941fb446c96f385955897b264251977d0b.tar.bz2
gentoo-2-c16b01941fb446c96f385955897b264251977d0b.zip
Use java-pkg_dolauncher too.
(Portage version: 2.2.0_alpha70/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/lxmed/ChangeLog5
-rw-r--r--x11-misc/lxmed/lxmed-20110717.ebuild11
2 files changed, 5 insertions, 11 deletions
diff --git a/x11-misc/lxmed/ChangeLog b/x11-misc/lxmed/ChangeLog
index 219e68cb32b5..a4745d43a6c5 100644
--- a/x11-misc/lxmed/ChangeLog
+++ b/x11-misc/lxmed/ChangeLog
@@ -1,9 +1,10 @@
# ChangeLog for x11-misc/lxmed
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/lxmed/ChangeLog,v 1.2 2011/10/26 18:55:55 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/lxmed/ChangeLog,v 1.3 2011/10/26 19:06:38 ssuominen Exp $
26 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> lxmed-20110717.ebuild:
- Change virtual/jre RDEPEND to >=virtual/jre-1.5 wrt #388517
+ Change virtual/jre RDEPEND to >=virtual/jre-1.5 and use java-pkg_dolauncher
+ wrt #388517
*lxmed-20110717 (22 Oct 2011)
diff --git a/x11-misc/lxmed/lxmed-20110717.ebuild b/x11-misc/lxmed/lxmed-20110717.ebuild
index c3026a0eeb1d..d9a580dba9d9 100644
--- a/x11-misc/lxmed/lxmed-20110717.ebuild
+++ b/x11-misc/lxmed/lxmed-20110717.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/lxmed/lxmed-20110717.ebuild,v 1.3 2011/10/26 18:55:55 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/lxmed/lxmed-20110717.ebuild,v 1.4 2011/10/26 19:06:38 ssuominen Exp $
EAPI=4
inherit eutils java-utils-2
@@ -26,14 +26,7 @@ src_prepare() {
src_install() {
java-pkg_dojar LXMenuEditor.jar
-
- cat <<-EOF > "${T}"/lxmed
- #!/bin/bash
- gksu 'java -jar /usr/share/lxmed/lib/LXMenuEditor.jar'
- EOF
-
- dobin "${T}"/lxmed
-
+ java-pkg_dolauncher lxmed --jar LXMenuEditor.jar
doicon lxmed.png
domenu lxmed.desktop
}