summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-06-22 21:50:34 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-06-22 21:50:50 +1000
commit71af3476fb0356ce0e319b3d686f630da602ae2e (patch)
treefc82fb52d24b004b8859afe16db97885f08bf01a /dev-util/desktop-file-utils
parentmail-client/trojita: add missing dependency (diff)
downloadgentoo-71af3476fb0356ce0e319b3d686f630da602ae2e.tar.gz
gentoo-71af3476fb0356ce0e319b3d686f630da602ae2e.tar.bz2
gentoo-71af3476fb0356ce0e319b3d686f630da602ae2e.zip
dev-util/desktop-file-utils: version bump
Gentoo-bug: 586576 Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'dev-util/desktop-file-utils')
-rw-r--r--dev-util/desktop-file-utils/Manifest1
-rw-r--r--dev-util/desktop-file-utils/desktop-file-utils-0.23.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-util/desktop-file-utils/Manifest b/dev-util/desktop-file-utils/Manifest
index ccbf3c8f2944..5372a0a8cd33 100644
--- a/dev-util/desktop-file-utils/Manifest
+++ b/dev-util/desktop-file-utils/Manifest
@@ -1,2 +1,3 @@
DIST desktop-file-utils-0.21.tar.xz 128972 SHA256 b6c9b860538ef1cffbcdfbc9cb578f85a080ad8c1207c8b3a39e9fd183f9782b SHA512 c7372d820e996eef72e85c7190c7f7cce61a3e08ebc348822013d1b28971db294242ce108d8f5e8e6c7539f9044619511d2bba0459a319bddbe5e5cf5d8665aa WHIRLPOOL 04e4957c52f5093db72a92735ac2438163303eac3edb3f0ec0361aa08c8cbca3a06cc648074f13dd5764afc86a1725fc6e9d85fac2e10bc2352b2ce56e970379
DIST desktop-file-utils-0.22.tar.xz 131028 SHA256 843532672692f98e9b2d6ae6cc8658da562dfde1606c7f33d9d227a344de56c5 SHA512 26c1f0da44e4d3fc286640084ad1fad0595fc94edb5d2edd2a4d8cbed0aea4e409aa1a610cbba372f8e540188b62aed764fc7fdecddefbcfeeaedd1d19e3d20a WHIRLPOOL 70d57623cb16d5ecdb4a1cb24fd4545f6d4dfe7aba51446570684cf09eb1d498c0ce575ad8f3255289dd15987d632b76c51b99a335cb9f3a3099d2901bdaf2ea
+DIST desktop-file-utils-0.23.tar.xz 132000 SHA256 6c094031bdec46c9f621708f919084e1cb5294e2c5b1e4c883b3e70cb8903385 SHA512 66a8ddfbb2be8edc14e16427e0dafa6fb1ef7491c816f19221fb5d5782e964cdcc3ae89807339f1c565af828aa83403cc56edeb2d03b3f93e013f3c5e9e6fe6a WHIRLPOOL 3d2fd970eda245e03ef566741f24433b601e76f100dfd7b33fad5035eca55b8e0d3b7b62d46b6749dafb682c1c6db46ad293010aecca54e1f729372ca87c6da6
diff --git a/dev-util/desktop-file-utils/desktop-file-utils-0.23.ebuild b/dev-util/desktop-file-utils/desktop-file-utils-0.23.ebuild
new file mode 100644
index 000000000000..11562e2a98a5
--- /dev/null
+++ b/dev-util/desktop-file-utils/desktop-file-utils-0.23.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit elisp-common eutils
+
+DESCRIPTION="Command line utilities to work with desktop menu entries"
+HOMEPAGE="https://freedesktop.org/wiki/Software/desktop-file-utils"
+SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~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() {
+ default
+ 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
+}