mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
x11-themes/adwaita-icon-theme-legacy: gtk-4.22 can also render the icons
This will allow non-rust systems to finally stop getting blocked with obsolete adwaita versions. Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit gnome.org meson xdg
|
||||
|
||||
DESCRIPTION="Adwaita Icon Theme legacy"
|
||||
HOMEPAGE="https://gitlab.gnome.org/GNOME/adwaita-icon-theme-legacy"
|
||||
|
||||
LICENSE="LGPL-3 CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
# librsvg > 2.40 or gtk >= 4.22 are needed at runtime for rendering scalable
|
||||
# icons shipped by the theme: https://viruta.org/do-not-use-librsvg-2.40.x.html
|
||||
DEPEND=">=x11-themes/hicolor-icon-theme-0.10"
|
||||
RDEPEND="${DEPEND}
|
||||
|| ( >=gui-libs/gtk-4.22 >=gnome-base/librsvg-2.48:2 )
|
||||
"
|
||||
BDEPEND="
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# This ebuild does not install any binaries
|
||||
RESTRICT="binchecks strip"
|
||||
|
||||
src_test() {
|
||||
:; # No tests
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
# https://gitlab.gnome.org/GNOME/adwaita-icon-theme-legacy/-/issues/3
|
||||
mv "${ED}"/usr/share/licenses/adwaita-icon-theme \
|
||||
"${ED}"/usr/share/licenses/adwaita-icon-theme-legacy || die
|
||||
}
|
||||
Reference in New Issue
Block a user