summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-12-20 17:36:34 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-12-20 17:36:34 +0000
commit9bb74aac2fd53ca93b8097a049bb26f1ae911305 (patch)
treeb5d5a4d8d3f60632cbd82cb7764f005a9346c788 /dev-util/desktop-file-utils
parentFixed soname linking (diff)
downloadgentoo-2-9bb74aac2fd53ca93b8097a049bb26f1ae911305.tar.gz
gentoo-2-9bb74aac2fd53ca93b8097a049bb26f1ae911305.tar.bz2
gentoo-2-9bb74aac2fd53ca93b8097a049bb26f1ae911305.zip
Version bump.
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/desktop-file-utils')
-rw-r--r--dev-util/desktop-file-utils/ChangeLog8
-rw-r--r--dev-util/desktop-file-utils/desktop-file-utils-0.19.ebuild53
2 files changed, 60 insertions, 1 deletions
diff --git a/dev-util/desktop-file-utils/ChangeLog b/dev-util/desktop-file-utils/ChangeLog
index 59bba5759793..19212eaf6fe6 100644
--- a/dev-util/desktop-file-utils/ChangeLog
+++ b/dev-util/desktop-file-utils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/desktop-file-utils
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/desktop-file-utils/ChangeLog,v 1.109 2011/12/02 22:05:32 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/desktop-file-utils/ChangeLog,v 1.110 2011/12/20 17:36:34 ssuominen Exp $
+
+*desktop-file-utils-0.19 (20 Dec 2011)
+
+ 20 Dec 2011; Samuli Suominen <ssuominen@gentoo.org>
+ +desktop-file-utils-0.19.ebuild:
+ Version bump.
02 Dec 2011; Samuli Suominen <ssuominen@gentoo.org>
desktop-file-utils-0.18.ebuild, +files/desktop-file-utils-0.18-unity.patch:
diff --git a/dev-util/desktop-file-utils/desktop-file-utils-0.19.ebuild b/dev-util/desktop-file-utils/desktop-file-utils-0.19.ebuild
new file mode 100644
index 000000000000..220cdd2a0c6e
--- /dev/null
+++ b/dev-util/desktop-file-utils/desktop-file-utils-0.19.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/desktop-file-utils/desktop-file-utils-0.19.ebuild,v 1.1 2011/12/20 17:36:34 ssuominen Exp $
+
+EAPI=4
+inherit elisp-common
+
+DESCRIPTION="Command line utilities to work with desktop menu entries"
+HOMEPAGE="http://freedesktop.org/wiki/Software/desktop-file-utils"
+SRC_URI="http://www.freedesktop.org/software/${PN}/releases/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="emacs"
+
+RDEPEND=">=dev-libs/glib-2.12:2
+ emacs? ( virtual/emacs )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+SITEFILE=50${PN}-gentoo.el
+
+DOCS=( AUTHORS ChangeLog HACKING NEWS README )
+
+src_prepare() {
+ sed -i -e '/SUBDIRS =/s:misc::' Makefile.in || die
+}
+
+src_configure() {
+ econf "$(use_with emacs lispdir "${SITELISP}"/${PN})"
+}
+
+src_compile() {
+ default
+ use emacs && elisp-compile misc/desktop-entry-mode.el
+}
+
+src_install() {
+ default
+ if use emacs; then
+ elisp-install ${PN} misc/*.el misc/*.elc || die
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}