diff options
author | Sam James <sam@gentoo.org> | 2023-10-15 13:16:12 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-15 13:18:40 +0100 |
commit | db4edc23de534504f0a6923fdf86e5595358a408 (patch) | |
tree | dec648046b3491f51a88726562f8987b8b4987ed /dev-util/desktop-file-utils | |
parent | x11-misc/shared-mime-info: add freedesktop-gitlab upstream metadata (diff) | |
download | gentoo-db4edc23de534504f0a6923fdf86e5595358a408.tar.gz gentoo-db4edc23de534504f0a6923fdf86e5595358a408.tar.bz2 gentoo-db4edc23de534504f0a6923fdf86e5595358a408.zip |
dev-util/desktop-file-utils: add 0.27
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/desktop-file-utils')
-rw-r--r-- | dev-util/desktop-file-utils/Manifest | 1 | ||||
-rw-r--r-- | dev-util/desktop-file-utils/desktop-file-utils-0.27.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-util/desktop-file-utils/Manifest b/dev-util/desktop-file-utils/Manifest index 3f61a7f3c2ff..21bf2c1846c4 100644 --- a/dev-util/desktop-file-utils/Manifest +++ b/dev-util/desktop-file-utils/Manifest @@ -1 +1,2 @@ DIST desktop-file-utils-0.26.tar.xz 83132 BLAKE2B fdbe5427a0278ebe4a9b1bc15a148ecdc3f54b54058b355ae4f9a962fb1c4ec309d24a075973caf8f187a1c74b013e9bed0a7c3668bf888274e77fac9e077ec8 SHA512 5b4e435f0b635d8f898ac7f5759f74a08ffbe2a56d41fee0e84ff57e73b98d08b57b4416f20b99f696dad8bcb1c20792b39acf836b0814220c0b386ea5f6b831 +DIST desktop-file-utils-0.27.tar.xz 80808 BLAKE2B 66708cd11d5f81824cad814846cdeac6c339e8e93a7f1dceaeed545d9dc1940523fd64ae890e54632b3d32cc91b258aabd41d6d467081539f978ae2993fdfb22 SHA512 81356239a92fb17885aa85a5192c84c2757ebb2e540920d0d41d07035795f08f4162f41b1a87bb2bfcf70ec61f19f1f158e4395a359f46b46f68cb9e24f259a8 diff --git a/dev-util/desktop-file-utils/desktop-file-utils-0.27.ebuild b/dev-util/desktop-file-utils/desktop-file-utils-0.27.ebuild new file mode 100644 index 000000000000..d450a0efb2b8 --- /dev/null +++ b/dev-util/desktop-file-utils/desktop-file-utils-0.27.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp-common meson + +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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos ~x64-solaris" +IUSE="emacs" + +RDEPEND=">=dev-libs/glib-2.12:2" +DEPEND="${RDEPEND}" +BDEPEND=" + app-arch/xz-utils + virtual/pkgconfig + emacs? ( >=app-editors/emacs-23.1:* ) +" + +SITEFILE="50${PN}-gentoo.el" + +DOCS=( AUTHORS ChangeLog HACKING NEWS README ) + +src_compile() { + meson_src_compile + use emacs && elisp-compile misc/desktop-entry-mode.el +} + +src_install() { + meson_src_install + 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 +} |