diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2022-01-01 20:08:08 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2022-01-02 02:55:44 -0800 |
commit | 826276f60728155fa9a2b48296a1ed138345f8bd (patch) | |
tree | 561401b5819418d0e38f21df1c944f2131043952 /x11-themes/tela-icon-theme | |
parent | media-video/mkvtoolnix: Stabilize 61.0.0 amd64, #829472 (diff) | |
download | gentoo-826276f60728155fa9a2b48296a1ed138345f8bd.tar.gz gentoo-826276f60728155fa9a2b48296a1ed138345f8bd.tar.bz2 gentoo-826276f60728155fa9a2b48296a1ed138345f8bd.zip |
x11-themes/tela-icon-theme: initial import
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'x11-themes/tela-icon-theme')
-rw-r--r-- | x11-themes/tela-icon-theme/Manifest | 1 | ||||
-rw-r--r-- | x11-themes/tela-icon-theme/metadata.xml | 27 | ||||
-rw-r--r-- | x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild | 53 | ||||
-rw-r--r-- | x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild | 53 |
4 files changed, 134 insertions, 0 deletions
diff --git a/x11-themes/tela-icon-theme/Manifest b/x11-themes/tela-icon-theme/Manifest new file mode 100644 index 000000000000..f7ef1cd16046 --- /dev/null +++ b/x11-themes/tela-icon-theme/Manifest @@ -0,0 +1 @@ +DIST tela-icon-theme-20211225.tar.gz 3592063 BLAKE2B d5b16f4f3899fc162082d2ee2432367e4b81527e71d1689c1f9f930bb22a799485d3b127f9aafa803b3356ad462e59cd5e78ae17fdd7607edf68794307c0c8d8 SHA512 4b4db7c07e4349879dd6568b0cd06476027cef173565bb91fe89909cf1d6bbad591c6b9ce29c81bef03f71211fc06d71da353e9116103b8407b0fb3141e0d949 diff --git a/x11-themes/tela-icon-theme/metadata.xml b/x11-themes/tela-icon-theme/metadata.xml new file mode 100644 index 000000000000..24627d1b17e7 --- /dev/null +++ b/x11-themes/tela-icon-theme/metadata.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gyakovlev@gentoo.org</email> + <name>Georgy Yakovlev</name> + </maintainer> + <stabilize-allarches/> + <use> + <flag name="black">Install black folder version</flag> + <flag name="blue">Install blue folder version</flag> + <flag name="brown">Install bworn folder version</flag> + <flag name="green">Install green folder version</flag> + <flag name="grey">Install grey folder version</flag> + <flag name="orange">Install orange folder version</flag> + <flag name="pink">Install pink folder version</flag> + <flag name="purple">Install purple folder version</flag> + <flag name="red">Install red older version</flag> + <flag name="yellow">Install yellow folder version</flag> + <flag name="manjaro">Install manjaro folder version</flag> + <flag name="ubuntu">Install ubuntu folder version</flag> + </use> + <upstream> + <bugs-to>https://github.com/vinceliuice/Tela-icon-theme/issues/</bugs-to> + <remote-id type="github">vinceliuice/Tela-icon-theme</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild b/x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild new file mode 100644 index 000000000000..26d159c90dea --- /dev/null +++ b/x11-themes/tela-icon-theme/tela-icon-theme-20211225.ebuild @@ -0,0 +1,53 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# eg. 20211225 -> 2021-12-25 +MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" +MY_PN="${PN/t/T}" + +# standard is always installed +MY_COLOR_VARIANTS=( black blue brown green grey orange pink purple red yellow manjaro ubuntu ) + +inherit xdg + +DESCRIPTION="A flat colorful Design icon theme" +HOMEPAGE="https://github.com/vinceliuice/Tela-icon-theme" + +if [[ ${PV} == 99999999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/vinceliuice/${MY_PN}.git" +else + SRC_URI="https://github.com/vinceliuice/${MY_PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~ppc64" + S="${WORKDIR}/${MY_PN}-${MY_PV}" +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="${MY_COLOR_VARIANTS[*]}" + +BDEPEND="app-shells/bash" + +src_prepare() { + default + # we use eclass for that + sed -i '/gtk-update-icon-cache/d' install.sh || die +} + +src_install() { + local v variants=( + standard + $( + for v in ${MY_COLOR_VARIANTS[@]}; do + usev ${v} + done + ) + ) + + dodir /usr/share/icons + ./install.sh -d "${ED}/usr/share/icons" "${variants[@]}" || die + + einstalldocs +} diff --git a/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild b/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild new file mode 100644 index 000000000000..26d159c90dea --- /dev/null +++ b/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild @@ -0,0 +1,53 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# eg. 20211225 -> 2021-12-25 +MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" +MY_PN="${PN/t/T}" + +# standard is always installed +MY_COLOR_VARIANTS=( black blue brown green grey orange pink purple red yellow manjaro ubuntu ) + +inherit xdg + +DESCRIPTION="A flat colorful Design icon theme" +HOMEPAGE="https://github.com/vinceliuice/Tela-icon-theme" + +if [[ ${PV} == 99999999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/vinceliuice/${MY_PN}.git" +else + SRC_URI="https://github.com/vinceliuice/${MY_PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~ppc64" + S="${WORKDIR}/${MY_PN}-${MY_PV}" +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="${MY_COLOR_VARIANTS[*]}" + +BDEPEND="app-shells/bash" + +src_prepare() { + default + # we use eclass for that + sed -i '/gtk-update-icon-cache/d' install.sh || die +} + +src_install() { + local v variants=( + standard + $( + for v in ${MY_COLOR_VARIANTS[@]}; do + usev ${v} + done + ) + ) + + dodir /usr/share/icons + ./install.sh -d "${ED}/usr/share/icons" "${variants[@]}" || die + + einstalldocs +} |