forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-emacs/all-the-icons: new package; add version 5.0.0
Signed-off-by: Maciej Barć <[email protected]>
- Loading branch information
Showing
4 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
(add-to-list 'load-path "@SITELISP@") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |