gnome.bbclass 514 B

1234567891011121314151617181920
  1. def gnome_verdir(v):
  2. import re
  3. m = re.match("([0-9]+)\.([0-9]+)\..*", v)
  4. return "%s.%s" % (m.group(1), m.group(2))
  5. SECTION ?= "x11/gnome"
  6. SRC_URI = "${GNOME_MIRROR}/${PN}/${@gnome_verdir("${PV}")}/${PN}-${PV}.tar.bz2"
  7. DEPENDS += "gnome-common"
  8. FILES_${PN} += "${datadir}/application-registry ${datadir}/mime-info \
  9. ${datadir}/gnome-2.0"
  10. inherit autotools pkgconfig gconf
  11. EXTRA_AUTORECONF += "-I ${STAGING_DIR}/${HOST_SYS}/share/aclocal/gnome2-macros"
  12. gnome_stage_includes() {
  13. autotools_stage_includes
  14. }