gnome-photos_44.0.bb 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. SUMMARY = "Access, organize and share your photos on GNOME"
  2. SECTION = "x11/gnome"
  3. LICENSE = "GPL-3.0-only"
  4. LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464"
  5. DEPENDS = " \
  6. cairo \
  7. glib-2.0-native \
  8. gdk-pixbuf-native \
  9. librsvg-native \
  10. gtk+3 \
  11. babl \
  12. dbus \
  13. gegl \
  14. geocode-glib \
  15. gexiv2 \
  16. gnome-online-accounts \
  17. gsettings-desktop-schemas \
  18. itstool-native \
  19. libdazzle \
  20. tracker \
  21. libhandy \
  22. libportal \
  23. "
  24. RDEPENDS:${PN} = "tracker-miners"
  25. inherit gnomebase gettext gnome-help features_check
  26. def gnome_verdir(v):
  27. return oe.utils.trim_version(v, 1)
  28. REQUIRED_DISTRO_FEATURES = "x11 opengl gobject-introspection-data"
  29. PACKAGECONFIG ?= ""
  30. PACKAGECONFIG[doc] = "-Dmanuals=true,-Dmanuals=false,libxslt-native docbook-xsl-stylesheets-native"
  31. SRC_URI[archive.sha256sum] = "e78e210397d3c62809c6cd5521da6eccb4a11ddea5bf2af8632a47f4da5c829e"
  32. do_install:append() {
  33. # make gnome-photos available on all desktops
  34. sed -i 's:OnlyShowIn=:#OnlyShowIn=:g' ${D}${datadir}/applications/org.gnome.Photos.desktop
  35. }
  36. FILES:${PN} += " \
  37. ${datadir}/dbus-1 \
  38. ${datadir}/metainfo \
  39. ${datadir}/gnome-shell \
  40. "
  41. do_compile:append() {
  42. # glib-mkenums is embedding full paths into this file. There's no
  43. # option to it to use a sysroot style variable. So to avoid QA
  44. # errors, we sed WORKDIR out and make its includes relative
  45. sed -i "s|${B}||" src/photos-enums.h
  46. sed -i "s|${B}||" src/photos-enums.c
  47. sed -i "s|${B}||" src/photos-enums-gegl.c
  48. sed -i "s|${B}||" src/photos-enums-gegl.h
  49. }