SUMMARY = "GTK+ icon theme" HOMEPAGE = "http://ftp.gnome.org/pub/GNOME/sources/adwaita-icon-theme/" BUGTRACKER = "https://bugzilla.gnome.org/" SECTION = "x11/gnome" LICENSE = "LGPL-3.0 | CC-BY-SA-3.0" LIC_FILES_CHKSUM = "file://COPYING;md5=c84cac88e46fc07647ea07e6c24eeb7c" inherit allarch autotools pkgconfig gettext gtk-icon-cache DEPENDS += "intltool-native" MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \ file://Create-symlinks-when-installing-cursors.patch \ " SRC_URI[md5sum] = "9ef86952c947aa27a1a888b7735d60b3" SRC_URI[sha256sum] = "b4556dfbf555d4fac12d4d5c12f7519de0d43ec42a1b649611439a50bf7acb96" do_install_append() { # Build uses gtk-encode-symbolic-svg to create png versions: # no need to store the svgs anymore. rm -f ${D}${prefix}/share/icons/Adwaita/scalable/*/*-symbolic.svg \ ${D}${prefix}/share/icons/Adwaita/scalable/*/*-symbolic-rtl.svg } PACKAGES = "${PN}-cursors ${PN}-symbolic ${PN}-hires ${PN}" FILES_${PN}-cursors = "${prefix}/share/icons/Adwaita/cursors/" FILES_${PN}-symbolic = "${prefix}/share/icons/Adwaita/*/*/*.symbolic.png" FILES_${PN}-hires = "${prefix}/share/icons/Adwaita/256x256/" FILES_${PN} = "${prefix}/share/icons/Adwaita/ \ ${prefix}/share/pkgconfig/adwaita-icon-theme.pc"