summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-misc/lxmed/ChangeLog9
-rw-r--r--x11-misc/lxmed/lxmed-20120515.ebuild39
2 files changed, 46 insertions, 2 deletions
diff --git a/x11-misc/lxmed/ChangeLog b/x11-misc/lxmed/ChangeLog
index a4745d43a6c5..a914c7bead2a 100644
--- a/x11-misc/lxmed/ChangeLog
+++ b/x11-misc/lxmed/ChangeLog
@@ -1,6 +1,11 @@
# 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.3 2011/10/26 19:06:38 ssuominen Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/lxmed/ChangeLog,v 1.4 2012/06/06 16:33:16 ssuominen Exp $
+
+*lxmed-20120515 (06 Jun 2012)
+
+ 06 Jun 2012; Samuli Suominen <ssuominen@gentoo.org> +lxmed-20120515.ebuild:
+ Version bump wrt #416271 by "df"
26 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> lxmed-20110717.ebuild:
Change virtual/jre RDEPEND to >=virtual/jre-1.5 and use java-pkg_dolauncher
diff --git a/x11-misc/lxmed/lxmed-20120515.ebuild b/x11-misc/lxmed/lxmed-20120515.ebuild
new file mode 100644
index 000000000000..ec97da92631d
--- /dev/null
+++ b/x11-misc/lxmed/lxmed-20120515.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/lxmed/lxmed-20120515.ebuild,v 1.1 2012/06/06 16:33:16 ssuominen Exp $
+
+EAPI=4
+inherit eutils gnome2-utils java-utils-2
+
+DESCRIPTION="freedesktop.org specification compatible menu editor"
+HOMEPAGE="http://lxmed.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.5
+ x11-libs/gksu"
+DEPEND=""
+
+S=${WORKDIR}/${PN}/content
+
+src_prepare() {
+ sed -i -e '/^Icon/s:=.*:=lxmed:' lxmed.desktop || die
+}
+
+src_install() {
+ java-pkg_dojar LXMenuEditor.jar
+ java-pkg_dolauncher lxmed --jar LXMenuEditor.jar
+
+ insinto /usr/share/icons/hicolor/48x48/apps
+ doins lxmed.png
+
+ domenu lxmed.desktop
+}
+
+pkg_preinst() { gnome2_icon_savelist; }
+pkg_postinst() { gnome2_icon_cache_update; }
+pkg_postrm() { gnome2_icon_cache_update; }