diff options
author | 2023-10-18 18:03:18 +0800 | |
---|---|---|
committer | 2023-10-18 18:03:18 +0800 | |
commit | da8916533c7c9f0f68ffa27eb99dc1926eda0e9c (patch) | |
tree | bb9037afa8f8b63cae910bab3520a7f7d1e3e989 /dev-tex | |
parent | gui-apps/nwg-shell-config: add 0.5.22 (diff) | |
download | guru-da8916533c7c9f0f68ffa27eb99dc1926eda0e9c.tar.gz guru-da8916533c7c9f0f68ffa27eb99dc1926eda0e9c.tar.bz2 guru-da8916533c7c9f0f68ffa27eb99dc1926eda0e9c.zip |
dev-tex/ninecolors: new package, add 2022.02.13
Signed-off-by: Huang Rui <vowstar@gmail.com>
Diffstat (limited to 'dev-tex')
-rw-r--r-- | dev-tex/ninecolors/Manifest | 1 | ||||
-rw-r--r-- | dev-tex/ninecolors/metadata.xml | 22 | ||||
-rw-r--r-- | dev-tex/ninecolors/ninecolors-2022.02.13.ebuild | 37 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-tex/ninecolors/Manifest b/dev-tex/ninecolors/Manifest new file mode 100644 index 000000000..fecec53a9 --- /dev/null +++ b/dev-tex/ninecolors/Manifest @@ -0,0 +1 @@ +DIST ninecolors-2022.02.13.zip 52616 BLAKE2B d0e90e3d7aaa7ee8f96904139b8b660ba5305f3106562f6bdb523653ba57a51ffc6f0ff8a0689c768b5de1b577d08a6f4b1b82d0558400419d8a10f5ebae084c SHA512 c778e1a2dfbe02a6f7a4cd9d7f5e6da5dfee7daa07bad11cda41faa971ba4330be91abdf3354b2f36bc7b7836f4d0767bc89dd213fa7466dd6cf7c2548cbe8e4 diff --git a/dev-tex/ninecolors/metadata.xml b/dev-tex/ninecolors/metadata.xml new file mode 100644 index 000000000..6337ac9e4 --- /dev/null +++ b/dev-tex/ninecolors/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>vowstar@gmail.com</email> + <name>Huang Rui</name> + </maintainer> + <longdescription lang="en"> + This package carefully selects and defines 9 colors for 13 hues each. + All colors with the same suffix number have equal luminance level. Also + the color black is of level 0, and the color white is of level 10. + By simply choosing two colors in the above list, which differ in level + by at least 5, as foreground and background colors, you will get proper + WCAG Color Contrast. + </longdescription> + <longdescription lang="zh"> + 该包精心选择并定义了 9 种颜色,每种颜色 13 种色调。所有具有相同后缀 + 编号的颜色都具有相同的亮度级别。黑色的级别为 0,白色的级别为 10。 + 只需在上面的列表中选择两种颜色(级别相差至少 5)作为前景色和背景色, + 您将获得正确的 WCAG 颜色对比度。 + </longdescription> +</pkgmetadata> diff --git a/dev-tex/ninecolors/ninecolors-2022.02.13.ebuild b/dev-tex/ninecolors/ninecolors-2022.02.13.ebuild new file mode 100644 index 000000000..982316bde --- /dev/null +++ b/dev-tex/ninecolors/ninecolors-2022.02.13.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit latex-package + +DESCRIPTION="Select colors with proper WCAG color contrast" +HOMEPAGE="https://www.ctan.org/pkg/ninecolors/" +SRC_URI="https://mirrors.ctan.org/macros/latex/contrib/ninecolors.zip -> ${P}.zip" + +LICENSE="LPPL-1.3" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="doc" + +RDEPEND=" + dev-texlive/texlive-latexrecommended + >=dev-texlive/texlive-latexextra-2012 + dev-texlive/texlive-plaingeneric +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${RDEPEND} + app-arch/unzip +" + +TEXMF="/usr/share/texmf-site" +S=${WORKDIR}/${PN} + +src_install() { + latex-package_src_doinstall styles + dodoc README.txt + if use doc ; then + latex-package_src_doinstall pdf + fi +} |