Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

libxcb.mk 1.0KB

1234567891011121314151617181920212223242526272829303132333435
  1. package=libxcb
  2. $(package)_version=1.10
  3. $(package)_download_path=http://xcb.freedesktop.org/dist
  4. $(package)_file_name=$(package)-$($(package)_version).tar.bz2
  5. $(package)_sha256_hash=98d9ab05b636dd088603b64229dd1ab2d2cc02ab807892e107d674f9c3f2d5b5
  6. $(package)_dependencies=xcb_proto libXau xproto
  7. define $(package)_set_vars
  8. $(package)_config_opts=--disable-static
  9. endef
  10. define $(package)_preprocess_cmds
  11. sed "s/pthread-stubs//" -i configure
  12. endef
  13. # Don't install xcb headers to the default path in order to work around a qt
  14. # build issue: https://bugreports.qt.io/browse/QTBUG-34748
  15. # When using qt's internal libxcb, it may end up finding the real headers in
  16. # depends staging. Use a non-default path to avoid that.
  17. define $(package)_config_cmds
  18. $($(package)_autoconf) --includedir=$(host_prefix)/include/xcb-shared
  19. endef
  20. define $(package)_build_cmds
  21. $(MAKE)
  22. endef
  23. define $(package)_stage_cmds
  24. $(MAKE) DESTDIR=$($(package)_staging_dir) install
  25. endef
  26. define $(package)_postprocess_cmds
  27. rm -rf share/man share/doc
  28. endef