Patrick Williams | c124f4f | 2015-09-15 14:41:29 -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 |
| 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 | file://Create-symlinks-when-installing-cursors.patch \ |
| 16 | " |
| 17 | |
| 18 | SRC_URI[md5sum] = "9ef86952c947aa27a1a888b7735d60b3" |
| 19 | SRC_URI[sha256sum] = "b4556dfbf555d4fac12d4d5c12f7519de0d43ec42a1b649611439a50bf7acb96" |
| 20 | |
| 21 | do_install_append() { |
| 22 | # Build uses gtk-encode-symbolic-svg to create png versions: |
| 23 | # no need to store the svgs anymore. |
| 24 | rm -f ${D}${prefix}/share/icons/Adwaita/scalable/*/*-symbolic.svg \ |
| 25 | ${D}${prefix}/share/icons/Adwaita/scalable/*/*-symbolic-rtl.svg |
| 26 | } |
| 27 | |
| 28 | PACKAGES = "${PN}-cursors ${PN}-symbolic ${PN}-hires ${PN}" |
| 29 | |
Patrick Williams | d7e9631 | 2015-09-22 08:09:05 -0500 | [diff] [blame] | 30 | RREPLACES_${PN} = "gnome-icon-theme" |
| 31 | RCONFLICTS_${PN} = "gnome-icon-theme" |
| 32 | RPROVIDES_${PN} = "gnome-icon-theme" |
| 33 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 34 | FILES_${PN}-cursors = "${prefix}/share/icons/Adwaita/cursors/" |
| 35 | FILES_${PN}-symbolic = "${prefix}/share/icons/Adwaita/*/*/*.symbolic.png" |
| 36 | FILES_${PN}-hires = "${prefix}/share/icons/Adwaita/256x256/" |
| 37 | FILES_${PN} = "${prefix}/share/icons/Adwaita/ \ |
| 38 | ${prefix}/share/pkgconfig/adwaita-icon-theme.pc" |