summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-17 16:56:06 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-17 16:56:06 +0000
commitb144d003193965f6d6dee8e749b7d2fbe781836e (patch)
tree27f393640f9a871d2681b354419468a27f72d1e0 /dev-util/desktop-file-utils
parentxfce-extra/thunar-vcs-plugin: Propagate move of dev-util/git to dev-vcs/git (diff)
downloadgentoo-2-b144d003193965f6d6dee8e749b7d2fbe781836e.tar.gz
gentoo-2-b144d003193965f6d6dee8e749b7d2fbe781836e.tar.bz2
gentoo-2-b144d003193965f6d6dee8e749b7d2fbe781836e.zip
Version bump.
(Portage version: 2.2_rc67/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.16.ebuild50
2 files changed, 57 insertions, 1 deletions
diff --git a/dev-util/desktop-file-utils/ChangeLog b/dev-util/desktop-file-utils/ChangeLog
index 4fce8f6b1db6..5b82f0cf7f77 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-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/desktop-file-utils/ChangeLog,v 1.86 2010/01/15 21:18:01 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/desktop-file-utils/ChangeLog,v 1.87 2010/03/17 16:56:06 ssuominen Exp $
+
+*desktop-file-utils-0.16 (17 Mar 2010)
+
+ 17 Mar 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +desktop-file-utils-0.16.ebuild:
+ Version bump.
15 Jan 2010; Christian Faulhammer <fauli@gentoo.org>
desktop-file-utils-0.15.ebuild:
diff --git a/dev-util/desktop-file-utils/desktop-file-utils-0.16.ebuild b/dev-util/desktop-file-utils/desktop-file-utils-0.16.ebuild
new file mode 100644
index 000000000000..3577c67f5d65
--- /dev/null
+++ b/dev-util/desktop-file-utils/desktop-file-utils-0.16.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2010 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.16.ebuild,v 1.1 2010/03/17 16:56:06 ssuominen Exp $
+
+EAPI=2
+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.bz2"
+
+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
+
+src_prepare() {
+ sed -i -e '/SUBDIRS/s:misc::' Makefile.in || die
+}
+
+src_compile() {
+ emake || die
+ use emacs && elisp-compile misc/desktop-entry-mode.el
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+
+ if use emacs; then
+ elisp-install ${PN} misc/*.el misc/*.elc || die
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die
+ fi
+
+ dodoc AUTHORS ChangeLog NEWS README
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}