diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /app-emacs/all-the-icons | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'app-emacs/all-the-icons')
-rw-r--r-- | app-emacs/all-the-icons/Manifest | 4 | ||||
-rw-r--r-- | app-emacs/all-the-icons/all-the-icons-5.0.0-r1.ebuild (renamed from app-emacs/all-the-icons/all-the-icons-5.0.0.ebuild) | 28 | ||||
-rw-r--r-- | app-emacs/all-the-icons/all-the-icons-5.0.0_p20220325-r1.ebuild (renamed from app-emacs/all-the-icons/all-the-icons-5.0.0_p20220325.ebuild) | 28 |
3 files changed, 56 insertions, 4 deletions
diff --git a/app-emacs/all-the-icons/Manifest b/app-emacs/all-the-icons/Manifest index 48838605efd5..a8128a10825b 100644 --- a/app-emacs/all-the-icons/Manifest +++ b/app-emacs/all-the-icons/Manifest @@ -1,6 +1,6 @@ AUX 50all-the-icons-gentoo.el 38 BLAKE2B e96c6cf48d1522d89450e11d339c76210c672377208b56951791b83c6ef22b2c872d313084e199dd5d7b533a99106a87dbc7f15b5ee6126f71bf5f2e84165ffa SHA512 5c00bcabe2d7cc03013dc7a54b2c653940c08098ca5646d7c73624cb1ca04376ae9dcf88a7166b1925c69f0c5d192d90f6bd790fdef8ed8c3b0f9d163c987da5 DIST all-the-icons-5.0.0.tar.gz 805496 BLAKE2B c5d81d2ff534bb7ab0000c21fb32107f307d96b1bf09b9227be5900e8160b133cfdc7ea4d4b31a982abb55e29bcf35626af91e3bd9ecbfba00b9b5ed85496a7f SHA512 865db191900dbeb207220df8d91220179dfbbb37e983e9e306ba0a4be576055002beb7335de20327736e8be678056699e8385aa37de766fadc11f4688f99471e DIST all-the-icons-5.0.0_p20220325.tar.gz 806105 BLAKE2B bc035ee726bf1d2f9839231ddd3bbaaca93b76c30026a3fcef4579f28f7f9677b37fa8b2652e82ae710f23272b56c884cb9454d54d8c2962f20e0fe9cf3c0bdd SHA512 3e45f208b46e7b1b596b6beb41cc11145db49e3e60e7a42593db94000f226e197b30580ba46d490b456f90349e7db2e49027a572b90f32048bcf0e68af9f22bf -EBUILD all-the-icons-5.0.0.ebuild 1000 BLAKE2B edbb9634122e62a74cc6601465edd5af266705a77f6834afa12fa76c6a42db5636a8d8f26acf46077b60a435111d36a2d7d826e9b1ed2169d8d2043b00b8b58b SHA512 ff270f803578bb075378ee6a9a8bfe7a12d2b2d57855f12273f7d9c222c746e3bf6881ac2c9bf5219721f879886edeed48adab9307b452922f7ad9f6bb69047b -EBUILD all-the-icons-5.0.0_p20220325.ebuild 1041 BLAKE2B 1bdc607c82776edeb062c0380f954509a910348fff09de1393663a8ccb1d866adb9a326ebe92167e06015ce3d4df9c5675408e9df78608155674524195a0b516 SHA512 29f5d433b13c1c1e7382ec89fd98e4792868003e0718016eebdb60b51f169eb4b9f66ec6d03b895b198af3ad76a61129d8fbc35baa9371b1bdb2092f6a2638c8 +EBUILD all-the-icons-5.0.0-r1.ebuild 1546 BLAKE2B a9d32a202cfe6ecaddb520b04c5950f1a2bd82649678ec2767ad725925fc9af439e9764d8dce3ec506c96ac65f8d30d865b057cbfe95c193e459e730acd15826 SHA512 c921290c0fb0bf68d5ce94b62add28b914f889b9022d0e4b2e2542061aa896908c9264793258925080d765687966bbf07c4a6876c12d13897063e5980b7f7a05 +EBUILD all-the-icons-5.0.0_p20220325-r1.ebuild 1587 BLAKE2B 768b5596170eb7dbbf26816ba73ba2489276b869acca2e051d4cd54eb8ec29e14b38b2e16043f2e8c7297011cb566c3b637836b997ee7e170ae78351f8a866f2 SHA512 82d6ffb847a3b164cc7dc0720c5f210d31fed0d5016e14b44034949226ba31d8ddcd5320b28b70c0464419a335869da2de56510128364de2f2fae884b3cf0321 MISC metadata.xml 439 BLAKE2B 29065345d770b5f2725a0a9dfaf2afa77ad082e349b662dca756150c45eefa1b7f022842e5db1efcd8a7d55cde14ddd25f286cb2cc9ce4370fdf9d4a5cf942b3 SHA512 2189e794f2eefda4ac001013c26e91a5631d1cc71aab214b811ef897f94b3c2ea1858b536b18f38211474c87baaf4a2307619744deec577d6e6aa2db1c634458 diff --git a/app-emacs/all-the-icons/all-the-icons-5.0.0.ebuild b/app-emacs/all-the-icons/all-the-icons-5.0.0-r1.ebuild index cb1873d52bb6..1caaee0f131f 100644 --- a/app-emacs/all-the-icons/all-the-icons-5.0.0.ebuild +++ b/app-emacs/all-the-icons/all-the-icons-5.0.0-r1.ebuild @@ -5,7 +5,7 @@ EAPI=8 NEED_EMACS=24.3 -inherit elisp readme.gentoo-r1 +inherit elisp font readme.gentoo-r1 DESCRIPTION="Various icon fonts propertized for Emacs" HOMEPAGE="https://github.com/domtronn/all-the-icons.el/" @@ -26,6 +26,11 @@ DOC_CONTENTS="You may need to install the required fonts by executing DOCS=( README.md logo.png ) SITEFILE="50${PN}-gentoo.el" +pkg_setup() { + elisp_pkg_setup + font_pkg_setup +} + src_compile() { elisp_src_compile elisp-compile data/*.el @@ -40,4 +45,25 @@ src_test() { src_install() { elisp_src_install elisp-install ${PN}/data data/*.el{,c} + + # Install all-the-icons.ttf, special font made explicitly for this library. + # NOTICE: "fonts" directory also contains some bundled fonts, + # that is why we need this small re-implementation of font eclass, + # to suit this specific use case. + pushd "${S}"/fonts >/dev/null || die + insinto ${FONTDIR} + doins ${PN}.ttf + font_xfont_config + font_fontconfig + popd >/dev/null || die +} + +pkg_postinst() { + elisp_pkg_postinst + font_pkg_postinst +} + +pkg_postrm() { + elisp_pkg_postrm + font_pkg_postrm } diff --git a/app-emacs/all-the-icons/all-the-icons-5.0.0_p20220325.ebuild b/app-emacs/all-the-icons/all-the-icons-5.0.0_p20220325-r1.ebuild index cf28205eb9e6..029e12f0222a 100644 --- a/app-emacs/all-the-icons/all-the-icons-5.0.0_p20220325.ebuild +++ b/app-emacs/all-the-icons/all-the-icons-5.0.0_p20220325-r1.ebuild @@ -6,7 +6,7 @@ EAPI=8 H=65c496d3d1d1298345beb9845840067bffb2ffd8 NEED_EMACS=24.3 -inherit elisp readme.gentoo-r1 +inherit elisp font readme.gentoo-r1 DESCRIPTION="Various icon fonts propertized for Emacs" HOMEPAGE="https://github.com/domtronn/all-the-icons.el/" @@ -27,6 +27,11 @@ DOC_CONTENTS="You may need to install the required fonts by executing DOCS=( README.md logo.png ) SITEFILE="50${PN}-gentoo.el" +pkg_setup() { + elisp_pkg_setup + font_pkg_setup +} + src_compile() { elisp_src_compile elisp-compile data/*.el @@ -41,4 +46,25 @@ src_test() { src_install() { elisp_src_install elisp-install ${PN}/data data/*.el{,c} + + # Install all-the-icons.ttf, special font made explicitly for this library. + # NOTICE: "fonts" directory also contains some bundled fonts, + # that is why we need this small re-implementation of font eclass, + # to suit this specific use case. + pushd "${S}"/fonts >/dev/null || die + insinto ${FONTDIR} + doins ${PN}.ttf + font_xfont_config + font_fontconfig + popd >/dev/null || die +} + +pkg_postinst() { + elisp_pkg_postinst + font_pkg_postinst +} + +pkg_postrm() { + elisp_pkg_postrm + font_pkg_postrm } |