gnome-themes-standard_3.22.3.bb 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. SUMMARY = "GTK+2 standard themes"
  2. HOMEPAGE = "http://ftp.gnome.org/pub/GNOME/sources/gnome-themes-standard/"
  3. BUGTRACKER = "https://bugzilla.gnome.org/"
  4. SECTION = "x11/gnome"
  5. LICENSE = "LGPL-2.1"
  6. LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
  7. inherit autotools pkgconfig gettext gtk-icon-cache upstream-version-is-even distro_features_check
  8. ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
  9. DEPENDS += "intltool-native gtk+"
  10. MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
  11. SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \
  12. "
  13. SRC_URI[md5sum] = "b51c362b157b6407303d44f93c31ee11"
  14. SRC_URI[sha256sum] = "61dc87c52261cfd5b94d65e8ffd923ddeb5d3944562f84942eeeb197ab8ab56a"
  15. EXTRA_OECONF = "--disable-gtk3-engine"
  16. do_install_append() {
  17. # Only building Adwaita, remove highcontrast files
  18. rm -rf ${D}${prefix}/share/themes/HighContrast \
  19. ${D}${prefix}/share/icons
  20. # The libtool archive file is unneeded with shared libs on modern Linux
  21. rm -rf ${D}${libdir}/gtk-2.0/2.10.0/engines/libadwaita.la
  22. }
  23. # There could be gnome-theme-highcontrast as well but that requires
  24. # gtk+3 and includes lots of icons (is also broken with B != S).
  25. PACKAGES += "gnome-theme-adwaita \
  26. gnome-theme-adwaita-dark \
  27. "
  28. FILES_gnome-theme-adwaita = "${prefix}/share/themes/Adwaita \
  29. ${libdir}/gtk-2.0/2.10.0/engines/libadwaita.so"
  30. FILES_gnome-theme-adwaita-dark = "${prefix}/share/themes/Adwaita-dark"
  31. RDEPENDS_gnome-theme-adwaita-dark = "gnome-theme-adwaita"
  32. # gnome-themes-standard is empty and doesn't exist
  33. RDEPENDS_${PN}-dev = ""