summaryrefslogtreecommitdiff
path: root/app-emacs/all-the-icons
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-03 05:19:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-03 05:19:36 +0100
commit155cc74ccaea367efa88c8acfadcf25cb7dfe89c (patch)
tree7c071f2c978804bd5ad135f096c2c1849d338b6f /app-emacs/all-the-icons
parentd288197c01703f58dbea0ff4f42b01e7c4c6f327 (diff)
gentoo auto-resync : 03:04:2023 - 05:19:36
Diffstat (limited to 'app-emacs/all-the-icons')
-rw-r--r--app-emacs/all-the-icons/Manifest2
-rw-r--r--app-emacs/all-the-icons/all-the-icons-5.0.0_p20230316.ebuild80
2 files changed, 82 insertions, 0 deletions
diff --git a/app-emacs/all-the-icons/Manifest b/app-emacs/all-the-icons/Manifest
index 8e589df966a9..c964d2b3407e 100644
--- a/app-emacs/all-the-icons/Manifest
+++ b/app-emacs/all-the-icons/Manifest
@@ -1,6 +1,8 @@
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
+DIST all-the-icons-5.0.0_p20230316.tar.gz 807075 BLAKE2B 29ca4c92a61894eab422548de0be3375de866115d95c76c4cf92a1570df0ec5ed67a74fdcd6bf365660a08300aead96efed3d0282966373543d09f2bc775a599 SHA512 160d727233e7cccffcf8a020968f9294f0574ee1267b66565991f46abaaf10c4582bb543f01bdf4f4ab5fc15aee8e2414db785370d13dcd6ca84ad819964696b
EBUILD all-the-icons-5.0.0-r1.ebuild 1529 BLAKE2B c064b7fca2affbf5b71d9e3201c3591771a3b879208cd1fb5a1c95cd758d395fbc15807c02503664023c296381bcceac1fb15cda31ab4b462586b7f42c96adee SHA512 45ebfc73528cf22ff320f598f83b3043634a4999b4b926c9e95ad940ed0b3e3674998675d64e24e1504376f2e051577c2b0a9f31121104e1ff1d4ced7ce795c1
EBUILD all-the-icons-5.0.0_p20220325-r1.ebuild 1634 BLAKE2B 9a8fb5dcb3bbf842b52c562d303b4936df8b3390d42898297e4d56d5878e1f0ab89377fd915ba197e94572c9f8a2860031078b0b034d2b3c7f3b6466d39fb458 SHA512 4f599aa0f9e35dcbb1e03e173c5585c97ae20034f444d8996f7c1531785358515fff619047a8bbc773a8f06de31800ec59ccad619faa6c4b725f169b64eeff6a
+EBUILD all-the-icons-5.0.0_p20230316.ebuild 1896 BLAKE2B 80d16730b79a6d990f20b8dacd0477aa3b8e92f3fd09f7d4a97393c2f0ce994f4afb4cab5c51b1c28ed6f1df444688b923aee9e2b749461ca4b28bf5bd1e6779 SHA512 c5f79b9f1c18fa859676976fd21f4db11d8bfb17f5011679e7a374587631ef973b5e997821c829b4635be89b757ddab76ba5ce831312315f8ce9e7414601c5ae
MISC metadata.xml 439 BLAKE2B 29065345d770b5f2725a0a9dfaf2afa77ad082e349b662dca756150c45eefa1b7f022842e5db1efcd8a7d55cde14ddd25f286cb2cc9ce4370fdf9d4a5cf942b3 SHA512 2189e794f2eefda4ac001013c26e91a5631d1cc71aab214b811ef897f94b3c2ea1858b536b18f38211474c87baaf4a2307619744deec577d6e6aa2db1c634458
diff --git a/app-emacs/all-the-icons/all-the-icons-5.0.0_p20230316.ebuild b/app-emacs/all-the-icons/all-the-icons-5.0.0_p20230316.ebuild
new file mode 100644
index 000000000000..c75ee6389247
--- /dev/null
+++ b/app-emacs/all-the-icons/all-the-icons-5.0.0_p20230316.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp font readme.gentoo-r1
+
+DESCRIPTION="Various icon fonts propertized for Emacs"
+HOMEPAGE="https://github.com/domtronn/all-the-icons.el/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/domtronn/${PN}.el.git"
+else
+ if [[ ${PV} == *_p20230316 ]] ; then
+ COMMIT=d922aff57ac8308d3ed067f9151cc76d342855f2
+ SRC_URI="https://github.com/domtronn/${PN}.el/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/${PN}.el-${COMMIT}
+ else
+ SRC_URI="https://github.com/domtronn/${PN}.el/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/${PN}.el-${PV}
+ fi
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( app-emacs/f )"
+
+DOC_CONTENTS="You may need to install the required fonts by executing
+ the \"all-the-icons-install-fonts\" function."
+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
+}
+
+src_test() {
+ ${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS} \
+ -L . -L data -L test -l test/all-the-icons-test.el \
+ -f ert-run-tests-batch-and-exit || die "tests failed"
+}
+
+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
+}