From 0d7ae8c4b021f0ea675d5bc81389c5d159a197fa Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 8 Jun 2023 03:44:17 +0100 Subject: gentoo auto-resync : 08:06:2023 - 03:44:17 --- x11-themes/tela-icon-theme/Manifest | 6 +- .../tela-icon-theme-20220828-r2.ebuild | 70 ---------------------- .../tela-icon-theme-20230203.ebuild | 70 ++++++++++++++++++++++ .../tela-icon-theme-99999999.ebuild | 11 +--- 4 files changed, 76 insertions(+), 81 deletions(-) delete mode 100644 x11-themes/tela-icon-theme/tela-icon-theme-20220828-r2.ebuild create mode 100644 x11-themes/tela-icon-theme/tela-icon-theme-20230203.ebuild (limited to 'x11-themes/tela-icon-theme') diff --git a/x11-themes/tela-icon-theme/Manifest b/x11-themes/tela-icon-theme/Manifest index 9c23d3d7ffe5..7a5221d890c4 100644 --- a/x11-themes/tela-icon-theme/Manifest +++ b/x11-themes/tela-icon-theme/Manifest @@ -1,4 +1,4 @@ -DIST tela-icon-theme-20220828.tar.gz 3707567 BLAKE2B 61a72b96df08cb5f3ef80b7aea5ca05e9b142607672f7213494c6f9fd0f458eeb87bd80842e14b7ed260f533088711f433357179c7c53d5beeeb76bafe2817d5 SHA512 6f0d26678ead12043bfc8943e2d40a507c2cfa8136a1556d53444efa5b1f6903307aead9255a38b3411980bd5353c3497bf224c1ed66a620d229b6a9a9079f83 -EBUILD tela-icon-theme-20220828-r2.ebuild 1772 BLAKE2B bf9e9a75ca40e30f7505262ba5c2ae3a9502a5b75ef87e6341138f31bcf126d36269dc0cee4acc0861ca78eaa3e90c27c5c7ad1e37d2fe24b7507b6bd354b255 SHA512 51411d628338b605047dcde4349e4876120681f11aef460909527a1a015c48705e695ac8091e0c0107393e8da9de090ebbfabe0d27bb343ac0bbe81ec9f6f9b2 -EBUILD tela-icon-theme-99999999.ebuild 1953 BLAKE2B 18701e2532b99ea069589c1ad810548f7a36fac4263e77fbe36d699260eb83a7e935d5facbcfaaee283e7f1dd7734cfac2d1ed5b315634065c7fef0a40b4dc3a SHA512 805065b9c0cf43fe7b9c0edb212440672a5e0196480e5238dc7d208327562a9a9c05010bbc4a6261c0a1dbf497cc6856b63c85fa2492ae77cf529e4e0948f926 +DIST tela-icon-theme-20230203.tar.gz 3774147 BLAKE2B c0b04ec934ed68a7d6267be030af861cf9c2c24e8367baebbc56b788f4dbec56dda2679190f33c739a04ed9ca3088138a1f89624e9beebf715149fbef2478576 SHA512 28ad9e67394ffa65bd1fe6052e38dd324487be621670bff933f3bb2aeee9134e656f1f8faebb060d5d765b808e008d5fede3d62a51b9ddca1e8047c927f3bdd1 +EBUILD tela-icon-theme-20230203.ebuild 1800 BLAKE2B 9340f10de2d2bd765678ae1f40aff0f99aebcc885ea7a5894facc1a3898a527acda2e7361367cc68a8136956e0b7b1c3c3c511d4bd28c05121a80a854eada90d SHA512 09b11751563784fbb736832edf2835e2d341af7a1f35c23bbbd3004ca5e494a68540c3616d92f1ef3e867b389317c9e34d5d214a047cfd3807ab9d7cb7691ab3 +EBUILD tela-icon-theme-99999999.ebuild 1800 BLAKE2B 9340f10de2d2bd765678ae1f40aff0f99aebcc885ea7a5894facc1a3898a527acda2e7361367cc68a8136956e0b7b1c3c3c511d4bd28c05121a80a854eada90d SHA512 09b11751563784fbb736832edf2835e2d341af7a1f35c23bbbd3004ca5e494a68540c3616d92f1ef3e867b389317c9e34d5d214a047cfd3807ab9d7cb7691ab3 MISC metadata.xml 1524 BLAKE2B 0df90c79e6c2303296b19992cbf416e94e1f001fa7cdf6d37df8a1d556e6addb672c49622c4088c6471adbdbc46f862473693ec592ce8338a92756b72c11dcd3 SHA512 c8c2c9c5448fdf0957d35a0de01b69d08b5eac0b2ceb6cc1f5d5f8c720155d199ed2d3df4e9b1bc47aa968ebdee16ee39032b8ee6fe82e960c4b4b2c164ea22b diff --git a/x11-themes/tela-icon-theme/tela-icon-theme-20220828-r2.ebuild b/x11-themes/tela-icon-theme/tela-icon-theme-20220828-r2.ebuild deleted file mode 100644 index 3dc74352a3e5..000000000000 --- a/x11-themes/tela-icon-theme/tela-icon-theme-20220828-r2.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit edo - -# eg. 20211225 -> 2021-12-25 -MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" -MY_PN="${PN^}" - -# standard comes first -MY_COLOR_VARIANTS=( standard black blue brown green grey orange pink purple red yellow manjaro ubuntu nord ) - -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[*]} +hardlink kde" # this is why standard comes first - -REQUIRED_USE="|| ( ${MY_COLOR_VARIANTS[*]} )" - -# not needed and slows us down, package installs 120 000 small files -RESTRICT="binchecks strip test" - -# technically we can use app-arch/harlink too, but it's deprecated -BDEPEND=" - app-shells/bash - sys-apps/util-linux[hardlink(-)?] -" - -src_prepare() { - default - # we use eclass for that - sed -i '/gtk-update-icon-cache/d' install.sh || die -} - -src_install() { - local v variants=( - $(usev kde '-c') - $(for v in ${MY_COLOR_VARIANTS[@]}; do - usev ${v} - done) - ) - - dodir /usr/share/icons - ./install.sh -d "${ED}/usr/share/icons" "${variants[@]}" || die - if use hardlink; then - einfo "Linking duplicate icons... (may take a long time)" - hardlink -pot "${ED}/usr/share/icons" || die "hardlink failed" - fi - - # installs broken symlink (by design, but we remove it due to QA warnings) - # https://bugs.gentoo.org/830467 - edob find "${ED}" -xtype l -print -delete - - einstalldocs -} diff --git a/x11-themes/tela-icon-theme/tela-icon-theme-20230203.ebuild b/x11-themes/tela-icon-theme/tela-icon-theme-20230203.ebuild new file mode 100644 index 000000000000..3a0301169077 --- /dev/null +++ b/x11-themes/tela-icon-theme/tela-icon-theme-20230203.ebuild @@ -0,0 +1,70 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo + +# eg. 20211225 -> 2021-12-25 +MY_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}" +MY_PN="${PN^}" + +# standard comes first +MY_COLOR_VARIANTS=( standard black blue brown green grey orange pink purple red yellow manjaro ubuntu dracula nord ) + +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[*]} +hardlink kde" # this is why standard comes first + +REQUIRED_USE="|| ( ${MY_COLOR_VARIANTS[*]} )" + +# not needed and slows us down, package installs 120 000 small files +RESTRICT="binchecks strip test" + +# technically we can use app-arch/hardlink too, but it's deprecated +BDEPEND=" + app-shells/bash + hardlink? ( sys-apps/util-linux[hardlink(-)?] ) +" + +src_prepare() { + default + # we use eclass for that + sed -i '/gtk-update-icon-cache/d' install.sh || die +} + +src_install() { + local v variants=( + $(for v in ${MY_COLOR_VARIANTS[@]}; do + usev ${v} + done) + $(usev kde '-c') + ) + + dodir /usr/share/icons + ./install.sh -d "${ED}/usr/share/icons" "${variants[@]}" || die + if use hardlink; then + einfo "Linking duplicate icons... (may take a long time)" + hardlink -pot "${ED}/usr/share/icons" || die "hardlink failed" + fi + + # installs broken symlink (by design, but we remove it due to QA warnings) + # https://bugs.gentoo.org/830467 + edob find "${ED}" -xtype l -print -delete + + 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 index 9f99ea192c05..3a0301169077 100644 --- a/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild +++ b/x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild @@ -35,10 +35,10 @@ REQUIRED_USE="|| ( ${MY_COLOR_VARIANTS[*]} )" # not needed and slows us down, package installs 120 000 small files RESTRICT="binchecks strip test" -# technically we can use app-arch/harlink too, but it's deprecated +# technically we can use app-arch/hardlink too, but it's deprecated BDEPEND=" app-shells/bash - sys-apps/util-linux[hardlink(-)?] + hardlink? ( sys-apps/util-linux[hardlink(-)?] ) " src_prepare() { @@ -49,18 +49,13 @@ src_prepare() { src_install() { local v variants=( - $(usev kde '-c') $(for v in ${MY_COLOR_VARIANTS[@]}; do usev ${v} done) + $(usev kde '-c') ) dodir /usr/share/icons - - # FIXME: remove after merged - # https://github.com/vinceliuice/Tela-icon-theme/issues/223 - rm -v links/scalable/apps/preferences-desktop-keyboard-shortcuts.svg || : - ./install.sh -d "${ED}/usr/share/icons" "${variants[@]}" || die if use hardlink; then einfo "Linking duplicate icons... (may take a long time)" -- cgit v1.2.3