libsdl-ttf_2.0.11.bb 872 B

1234567891011121314151617181920212223242526272829
  1. SUMMARY = "Simple DirectMedia Layer truetype font library"
  2. SECTION = "libs"
  3. DEPENDS = "virtual/libsdl freetype"
  4. LICENSE = "Zlib"
  5. LIC_FILES_CHKSUM = "file://COPYING;md5=22800d1b3701377aae0b61ee36f5c303"
  6. SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \
  7. file://use.pkg-config.for.freetype2.patch \
  8. "
  9. SRC_URI[md5sum] = "61e29bd9da8d245bc2471d1b2ce591aa"
  10. SRC_URI[sha256sum] = "724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7"
  11. S = "${WORKDIR}/SDL_ttf-${PV}"
  12. inherit autotools pkgconfig
  13. LDFLAGS += "-lm"
  14. do_configure_prepend() {
  15. # make autoreconf happy
  16. touch ${S}/NEWS ${S}/AUTHORS ${S}/ChangeLog
  17. # Removing these files fixes a libtool version mismatch.
  18. MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
  19. for i in ${MACROS}; do
  20. rm -f ${S}/acinclude/$i
  21. done
  22. }