Gdk-Pixbuf-2.36.12-foss-2018b-Python-3.6.6.eb 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. easyblock = 'ConfigureMake'
  2. name = 'Gdk-Pixbuf'
  3. version = '2.36.12'
  4. versionsuffix = '-Python-%(pyver)s'
  5. homepage = 'https://developer.gnome.org/gdk-pixbuf/stable/'
  6. description = """
  7. The Gdk Pixbuf is a toolkit for image loading and pixel buffer manipulation.
  8. It is used by GTK+ 2 and GTK+ 3 to load and manipulate images. In the past it
  9. was distributed as part of GTK+ 2 but it was split off into a separate package
  10. in preparation for the change to GTK+ 3.
  11. """
  12. toolchain = {'name': 'foss', 'version': '2018b'}
  13. source_urls = [FTPGNOME_SOURCE]
  14. sources = [SOURCELOWER_TAR_XZ]
  15. patches = ['Gdk-Pixbuf-2.36.10-disable-gio-sniffing.patch']
  16. checksums = [
  17. 'fff85cf48223ab60e3c3c8318e2087131b590fd6f1737e42cb3759a3b427a334', # gdk-pixbuf-2.36.12.tar.xz
  18. '840231db69ccc2a1335c4f29c305cdd0ba570254e779c2a274611aaff968878e', # Gdk-Pixbuf-2.36.10-disable-gio-sniffing.patch
  19. ]
  20. builddependencies = [
  21. ('GObject-Introspection', '1.54.1', versionsuffix)
  22. ]
  23. dependencies = [
  24. ('Python', '3.6.6'),
  25. ('GLib', '2.54.3'),
  26. ('libjpeg-turbo', '2.0.0'),
  27. ('libpng', '1.6.34'),
  28. ('LibTIFF', '4.0.9'),
  29. ]
  30. configopts = "--disable-maintainer-mode --enable-debug=no --enable-introspection=yes "
  31. configopts += "--disable-Bsymbolic --without-gdiplus --enable-shared --enable-static"
  32. sanity_check_paths = {
  33. 'files': ['lib/libgdk_pixbuf-%(version_major)s.0.a', 'lib/libgdk_pixbuf-%%(version_major)s.0.%s' % SHLIB_EXT],
  34. 'dirs': ['bin', 'include/gdk-pixbuf-%(version_major)s.0', 'lib/gdk-pixbuf-%(version_major)s.0', 'share'],
  35. }
  36. modextrapaths = {
  37. 'XDG_DATA_DIRS': 'share',
  38. }
  39. moduleclass = 'vis'