Install this version:
emerge -a =x11-themes/qogir-icon-theme-2025.02.15
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =x11-themes/qogir-icon-theme-2025.02.15
Or alternatively:
emerge --autounmask-write -a =x11-themes/qogir-icon-theme-2025.02.15
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2025.02.15 | 8 | ~amd64 | 0 |
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# To update icon cache
inherit xdg
DESCRIPTION="A flat colorful design icon theme for linux desktops"
HOMEPAGE="https://github.com/vinceliuice/Qogir-icon-theme"
SRC_URI="https://github.com/vinceliuice/${PN}/archive/refs/tags/2025-02-15.tar.gz"
# Extract to a non-default name
S=${WORKDIR}/Qogir-icon-theme-2025-02-15
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
# No binaries are installed so we don't need these portage features
RESTRICT="binchecks strip"
# Unsure about dependencies
DEPEND="${RDEPEND}"
src_prepare() {
eapply_user
# Don't install the ubuntu/manjaro variants
sed -i 's:THEME_VARIANTS=.*:THEME_VARIANTS="":' \
install.sh || die "Sed failed to remove theme variants!"
# Install cursors to Gentoo's cursor location
sed -i -e "/cp.*cursors/i mkdir -p \${CURSOR_DIR}/Qogir\${color}" \
-e "s:\(cp.*cursors\"\).*:\1 \${CURSOR_DIR}/Qogir\${color}:" \
install.sh || die "Sed failed changing cursor location!"
# Use xdg eclass instead
sed -i -e "/gtk-update-icon-cache/d" \
install.sh || die "Sed failed removing gtk-update-icon-cache call!"
}
src_install() {
mkdir -p "${D}/usr/share/icons" || die "failed to create icons dir"
CURSOR_DIR="${D}/usr/share/cursors/xorg-x11" "${S}"/install.sh -d "${D}/usr/share/icons" || die "install.sh failed"
# Remove broken symlink to avoid QA warning
rm "${D}/usr/share/icons/Qogir/scalable/apps/org.aegisub.Aegisub.svg" || die "failed to remove broken symlink"
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | 2025-02-15.tar.gz | 9076276 bytes | https://github.com/vinceliuice/qogir-icon-theme/archive/refs/tags/2025-02-15.tar.gz |