summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2013-09-15 03:06:14 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2013-09-15 03:06:14 +0000
commit9d32c49d3c175591b9e99861814ad032400af7d3 (patch)
treee61b17850d5029c607a26b44147e91bf324ebc11 /dev-util/desktop-file-utils
parentfix for CVE-2013-4222 and bug 480476 (diff)
downloadgentoo-2-9d32c49d3c175591b9e99861814ad032400af7d3.tar.gz
gentoo-2-9d32c49d3c175591b9e99861814ad032400af7d3.tar.bz2
gentoo-2-9d32c49d3c175591b9e99861814ad032400af7d3.zip
Version bump, requested by Agostino Sarubbo (bug #484898). Adds support for DBusActivatable.
(Portage version: 2.2.4/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)
Diffstat (limited to 'dev-util/desktop-file-utils')
-rw-r--r--dev-util/desktop-file-utils/ChangeLog9
-rw-r--r--dev-util/desktop-file-utils/desktop-file-utils-0.22.ebuild54
2 files changed, 62 insertions, 1 deletions
diff --git a/dev-util/desktop-file-utils/ChangeLog b/dev-util/desktop-file-utils/ChangeLog
index 58529cfe3d80..ca0d9ae9d5b1 100644
--- a/dev-util/desktop-file-utils/ChangeLog
+++ b/dev-util/desktop-file-utils/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/desktop-file-utils
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/desktop-file-utils/ChangeLog,v 1.132 2013/01/07 19:26:20 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/desktop-file-utils/ChangeLog,v 1.133 2013/09/15 03:06:14 tetromino Exp $
+
+*desktop-file-utils-0.22 (15 Sep 2013)
+
+ 15 Sep 2013; Alexandre Rostovtsev <tetromino@gentoo.org>
+ +desktop-file-utils-0.22.ebuild:
+ Version bump, requested by Agostino Sarubbo (bug #484898). Adds support for
+ DBusActivatable.
07 Jan 2013; Samuli Suominen <ssuominen@gentoo.org>
-desktop-file-utils-0.20-r1.ebuild,
diff --git a/dev-util/desktop-file-utils/desktop-file-utils-0.22.ebuild b/dev-util/desktop-file-utils/desktop-file-utils-0.22.ebuild
new file mode 100644
index 000000000000..054c592c7227
--- /dev/null
+++ b/dev-util/desktop-file-utils/desktop-file-utils-0.22.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2013 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.22.ebuild,v 1.1 2013/09/15 03:06:14 tetromino Exp $
+
+EAPI=5
+inherit elisp-common eutils
+
+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 ~amd64-fbsd ~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}
+ app-arch/xz-utils
+ virtual/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
+}