blob: 352fca9568c227ccd0f208113754cc6b4a59e0bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# 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="
dev-util/gtk-update-icon-cache
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
}
|