Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | SUMMARY = "GTK+ icon theme" |
| 2 | HOMEPAGE = "http://ftp.gnome.org/pub/GNOME/sources/adwaita-icon-theme/" |
| 3 | BUGTRACKER = "https://bugzilla.gnome.org/" |
| 4 | SECTION = "x11/gnome" |
| 5 | |
| 6 | LICENSE = "LGPL-3.0 | CC-BY-SA-3.0" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=c84cac88e46fc07647ea07e6c24eeb7c" |
| 8 | |
| 9 | inherit allarch autotools pkgconfig gettext gtk-icon-cache upstream-version-is-even |
| 10 | |
| 11 | DEPENDS += "intltool-native" |
| 12 | |
| 13 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" |
| 14 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \ |
| 15 | " |
| 16 | |
| 17 | SRC_URI[md5sum] = "ec1fa3fde83ad166ae7075a97dc1ec4b" |
| 18 | SRC_URI[sha256sum] = "5e9ce726001fdd8ee93c394fdc3cdb9e1603bbed5b7c62df453ccf521ec50e58" |
| 19 | |
| 20 | do_install_append() { |
| 21 | # Build uses gtk-encode-symbolic-svg to create png versions: |
| 22 | # no need to store the svgs anymore. |
| 23 | rm -f ${D}${prefix}/share/icons/Adwaita/scalable/*/*-symbolic.svg \ |
| 24 | ${D}${prefix}/share/icons/Adwaita/scalable/*/*-symbolic-rtl.svg |
| 25 | } |
| 26 | |
| 27 | PACKAGES = "${PN}-cursors ${PN}-symbolic ${PN}-hires ${PN}" |
| 28 | |
| 29 | RREPLACES_${PN} = "gnome-icon-theme" |
| 30 | RCONFLICTS_${PN} = "gnome-icon-theme" |
| 31 | RPROVIDES_${PN} = "gnome-icon-theme" |
| 32 | |
| 33 | FILES_${PN}-cursors = "${prefix}/share/icons/Adwaita/cursors/" |
| 34 | FILES_${PN}-symbolic = "${prefix}/share/icons/Adwaita/*/*/*.symbolic.png" |
| 35 | FILES_${PN}-hires = "${prefix}/share/icons/Adwaita/256x256/" |
| 36 | FILES_${PN} = "${prefix}/share/icons/Adwaita/ \ |
| 37 | ${prefix}/share/pkgconfig/adwaita-icon-theme.pc" |