diff options
Diffstat (limited to 'dev-util/desktop-file-utils')
-rw-r--r-- | dev-util/desktop-file-utils/Manifest | 2 | ||||
-rw-r--r-- | dev-util/desktop-file-utils/desktop-file-utils-0.27.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-util/desktop-file-utils/Manifest b/dev-util/desktop-file-utils/Manifest index 3453acd46e72..cf11277b97ec 100644 --- a/dev-util/desktop-file-utils/Manifest +++ b/dev-util/desktop-file-utils/Manifest @@ -1,6 +1,8 @@ AUX 50desktop-file-utils-gentoo.el 250 BLAKE2B 6778fd6faecc6afe376598cdab5d890364edc33f0a55983b9a1ae76bcaf78a784fae92eaa66dc24c270ecf160f747e848872fa17e9c331dce7ad2deb498492b1 SHA512 5fc03fb9c9eea7d4c19c9b263413fb4f7f247b6bd40a7452b26f7e175646dc9b3af945d25cafc42a01a8d95059324652c56baa4bb5768b62dbd58f3ae4f05fe3 AUX desktop-file-utils-0.26-support-version-1.5.patch 2957 BLAKE2B d4f896c28719c871e32a54c8e535bf499ad2bc9e3bb5e8d294138156add9ebfc32228d79617d19f75fadbbd029a547964bf57c5a4c05a22d3aacc0898b21d6a8 SHA512 643d7e4cfe3445d929fe349d282c4fbabb1426175768e24a2ca933173d69121203f2a8c124640352370fde38d9c841aa364e5905f35c059f201d42b57cfd980e 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 EBUILD desktop-file-utils-0.26-r1.ebuild 1116 BLAKE2B b315c54d8cf8c185201d6b2de9b87d84930ede08f8a55eb371ff0c7255542f2a899cdc3c61d79d161e27bc996f219a8e111a60a1875f45ed5696658defa7f2e6 SHA512 080c56a20a248ba78d914ee898fa7f33a18d47daa253836b38051451388a57333376fa24f345a19d47aa719421593915237f25653cd4bb162c0a173bb9b1d7e6 EBUILD desktop-file-utils-0.26-r2.ebuild 1221 BLAKE2B 9cbf764d8b1b8599c5a4ae2a5a9c44f14fe9ab9ce24d54ad9188d9ab79c9f7f7758a6a9c6176d52733791f0d0bf0613120e3f35d2bb01f773417859bc62f394a SHA512 e4d2f21bc6622e942c84bb476f9da3eb6340833fb72a0af0903347425aba7d10dfae9199487345430b0199e8a86228b97dba77c581b4e5398e231470586a70a9 +EBUILD desktop-file-utils-0.27.ebuild 1146 BLAKE2B 93336528f60abf309d7fcc29c5f9d00320d795da06a0a799232754ff6920039672b9ae39881248cfec10f4fcafd260030e7e30cbf28f162d6d6a88e479ad6aa1 SHA512 20041b8401e4ae414194b5319fb5b69c8391c619650ffd39e2ff77e9f7cb9631e70f310c291a8822e86a9a30cb3700baace709b9878c735bf0af0c8fc2c33ffe MISC metadata.xml 225 BLAKE2B 293ebc97ac40be7df2825c558f7def8026a2c8b49af06c8a5fc0dfb58657ee3093306f2a6b90bce5f7fc10f9c3165eee3cd77b58fcea8d293dacff5ba2f04657 SHA512 6f3645f7fe9f5362268973d150b122dcaef666c61e30ddc96917485c617568105aadf7b8d78bf06e402f8592c90369fdc7d949832b9fda13258b4693f1c4c6f3 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 +} |