adwaita-icon-theme: remove outdated dependency with librsvg-native

The dependency was added in the recipe for adwaita-icon-theme v3.30.1, back in
poky commit 2ad84e129652, because that version of the package required librsvg
to convert SVG files to PNG. In recent versions, this is no longer the case,
and removing the dependency has no effect on the package's contents (they are
identical with or without the dependency).

Since librsvg-native is the only package in our ccimx6ul/x11 images that
depends on rust, remove this dependency to prevent bitbake from generating
the rust compiler, reducing build overhead.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2025-01-09 11:32:54 +01:00
parent 3cca11034d
commit 7e51909ef5
1 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# Copyright (C) 2019, Digi International Inc.
# Copyright (C) 2019-2025, Digi International Inc.
do_install:append() {
# We don't use the scalable icons anywhere and they take up over
@ -7,3 +7,10 @@ do_install:append() {
}
FILES:${PN}-symbolic:remove = "${prefix}/share/icons/Adwaita/scalable/*/*-symbolic*.svg"
# librsvg-native was needed in previous versions of adwaita-icon-theme, which
# used gtk-encode-symbolic-svg to create PNG versions of SVG files. This is no
# longer the case and the dependency can be removed without consequence.
# In turn, this removes the only dependency with Rust in ccimx6ul/x11 images,
# reducing build time overhead.
DEPENDS:remove = "librsvg-native"