summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2023-06-07 15:15:23 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2023-06-07 15:20:20 -0700
commit42aa3525c2c48b5b64299bb1867fb809b2086b29 (patch)
tree9ccd28672ad04e595c247b04de349a63d67dd92e /x11-themes/tela-icon-theme
parentx11-themes/tela-icon-theme: make hardlink dep conditional (diff)
downloadgentoo-42aa3525c2c48b5b64299bb1867fb809b2086b29.tar.gz
gentoo-42aa3525c2c48b5b64299bb1867fb809b2086b29.tar.bz2
gentoo-42aa3525c2c48b5b64299bb1867fb809b2086b29.zip
x11-themes/tela-icon-theme: sync live ebuild
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'x11-themes/tela-icon-theme')
-rw-r--r--x11-themes/tela-icon-theme/tela-icon-theme-99999999.ebuild11
1 files changed, 3 insertions, 8 deletions
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)"