xf86-driver-common.inc 942 B

123456789101112131415161718192021222324252627282930313233
  1. DESCRIPTION = "X driver"
  2. HOMEPAGE = "http://www.x.org"
  3. BUGTRACKER = "https://bugs.freedesktop.org"
  4. SECTION = "x11/drivers"
  5. LICENSE = "MIT-X"
  6. PE = "1"
  7. PR = "r1"
  8. DEPENDS = "virtual/xserver-xf86 xproto randrproto util-macros"
  9. XORG_PN = "${BPN}"
  10. SRC_URI = "${XORG_MIRROR}/individual/driver/${XORG_PN}-${PV}.tar.bz2"
  11. S = "${WORKDIR}/${XORG_PN}-${PV}"
  12. FILES_${PN} += " ${libdir}/xorg/modules/drivers/*.so"
  13. FILES_${PN}-dbg += " ${libdir}/xorg/modules/drivers/.debug"
  14. inherit autotools pkgconfig
  15. # AC_CHECK_FILE doesn't work when cross compiling, so we create a replacement
  16. # macro that simply assumes the test succeeds.
  17. do_configure_prepend () {
  18. echo 'AC_DEFUN(CC_AC_CHECK_FILE, $2)' > configure.ac.new
  19. sed 's/AC_CHECK_FILE/CC_AC_CHECK_FILE/g' configure.ac >> configure.ac.new
  20. mv configure.ac.new configure.ac
  21. }
  22. do_install_append () {
  23. # driver's la files are not packaged
  24. rm -f ${D}${libdir}/xorg/modules/drivers/*.la
  25. }