Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [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 | |
| 12 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" |
| 13 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \ |
| 14 | file://0001-Don-t-use-AC_CANONICAL_HOST.patch \ |
| 15 | file://0001-Run-installation-commands-as-shell-jobs.patch \ |
| 16 | " |
| 17 | |
| 18 | SRC_URI[md5sum] = "3ef87e789711e5130792d4b5366c005d" |
| 19 | SRC_URI[sha256sum] = "28ba7392c7761996efd780779167ea6c940eedfb1bf37cfe9bccb7021f54d79d" |
| 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-hires ${PN}-symbolic ${PN}-hires ${PN}" |
| 29 | |
| 30 | RREPLACES_${PN} = "gnome-icon-theme" |
| 31 | RCONFLICTS_${PN} = "gnome-icon-theme" |
| 32 | RPROVIDES_${PN} = "gnome-icon-theme" |
| 33 | |
| 34 | FILES_${PN}-cursors = "${prefix}/share/icons/Adwaita/cursors/" |
| 35 | FILES_${PN}-symbolic-hires = "${prefix}/share/icons/Adwaita/96x96/*/*.symbolic.png \ |
| 36 | ${prefix}/share/icons/Adwaita/64x64/*/*.symbolic.png \ |
| 37 | ${prefix}/share/icons/Adwaita/48x48/*/*.symbolic.png \ |
| 38 | ${prefix}/share/icons/Adwaita/32x32/*/*.symbolic.png" |
| 39 | FILES_${PN}-symbolic = "${prefix}/share/icons/Adwaita/16x16/*/*.symbolic.png \ |
| 40 | ${prefix}/share/icons/Adwaita/24x24/*/*.symbolic.png" |
| 41 | FILES_${PN}-hires = "${prefix}/share/icons/Adwaita/256x256/ \ |
| 42 | ${prefix}/share/icons/Adwaita/512x512/" |
| 43 | FILES_${PN} = "${prefix}/share/icons/Adwaita/ \ |
| 44 | ${prefix}/share/pkgconfig/adwaita-icon-theme.pc" |