Skip to content

Commit

Permalink
app-emacs/all-the-icons: new package; add version 5.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Barć <[email protected]>
  • Loading branch information
xgqt committed Apr 10, 2022
1 parent 6724231 commit c4a8f32
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-emacs/all-the-icons/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST all-the-icons-5.0.0.tar.gz 805496 BLAKE2B c5d81d2ff534bb7ab0000c21fb32107f307d96b1bf09b9227be5900e8160b133cfdc7ea4d4b31a982abb55e29bcf35626af91e3bd9ecbfba00b9b5ed85496a7f SHA512 865db191900dbeb207220df8d91220179dfbbb37e983e9e306ba0a4be576055002beb7335de20327736e8be678056699e8385aa37de766fadc11f4688f99471e
43 changes: 43 additions & 0 deletions app-emacs/all-the-icons/all-the-icons-5.0.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

NEED_EMACS=24.3

inherit elisp readme.gentoo-r1

DESCRIPTION="Various icon fonts propertized for Emacs"
HOMEPAGE="https://github.com/domtronn/all-the-icons.el/"
SRC_URI="https://github.com/domtronn/${PN}.el/archive/${PV}.tar.gz
-> ${P}.tar.gz"
S="${WORKDIR}"/${PN}.el-${PV}

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
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"

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}
}
1 change: 1 addition & 0 deletions app-emacs/all-the-icons/files/50all-the-icons-gentoo.el
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(add-to-list 'load-path "@SITELISP@")
13 changes: 13 additions & 0 deletions app-emacs/all-the-icons/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">

<pkgmetadata>
<maintainer type="project">
<email>[email protected]</email>
<name>Gentoo GNU Emacs project</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/domtronn/all-the-icons.el/issues/</bugs-to>
<remote-id type="github">domtronn/all-the-icons.el</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit c4a8f32

Please sign in to comment.