2008-09-22 13:33:19 +00:00
|
|
|
DESCRIPTION = "X driver"
|
|
|
|
HOMEPAGE = "http://www.x.org"
|
2010-07-03 13:49:21 +00:00
|
|
|
BUGTRACKER = "https://bugs.freedesktop.org"
|
2008-09-22 13:33:19 +00:00
|
|
|
SECTION = "x11/drivers"
|
|
|
|
LICENSE = "MIT-X"
|
|
|
|
|
2011-10-13 08:56:02 +00:00
|
|
|
PE = "2"
|
2011-10-03 13:17:34 +00:00
|
|
|
INC_PR = "r17"
|
2008-09-22 13:33:19 +00:00
|
|
|
|
2011-10-04 10:54:23 +00:00
|
|
|
DEPENDS = "virtual/xserver xproto randrproto util-macros"
|
2008-09-22 13:33:19 +00:00
|
|
|
|
2011-09-30 07:27:18 +00:00
|
|
|
SRC_URI = "${XORG_MIRROR}/individual/driver/${BPN}-${PV}.tar.bz2"
|
2008-09-22 13:33:19 +00:00
|
|
|
|
2011-09-30 07:27:18 +00:00
|
|
|
S = "${WORKDIR}/${BPN}-${PV}"
|
2008-09-22 13:33:19 +00:00
|
|
|
|
|
|
|
FILES_${PN} += " ${libdir}/xorg/modules/drivers/*.so"
|
|
|
|
FILES_${PN}-dbg += " ${libdir}/xorg/modules/drivers/.debug"
|
|
|
|
|
2010-04-26 16:41:05 +00:00
|
|
|
inherit autotools pkgconfig
|
2008-09-22 13:33:19 +00:00
|
|
|
|
|
|
|
# AC_CHECK_FILE doesn't work when cross compiling, so we create a replacement
|
|
|
|
# macro that simply assumes the test succeeds.
|
|
|
|
do_configure_prepend () {
|
|
|
|
echo 'AC_DEFUN(CC_AC_CHECK_FILE, $2)' > configure.ac.new
|
|
|
|
sed 's/AC_CHECK_FILE/CC_AC_CHECK_FILE/g' configure.ac >> configure.ac.new
|
|
|
|
mv configure.ac.new configure.ac
|
|
|
|
}
|
|
|
|
|
2011-09-30 07:27:18 +00:00
|
|
|
# FIXME: We don't want to include the libtool archives (*.la) from modules
|
|
|
|
# directory, as they serve no useful purpose. Upstream should fix Makefile.am
|
|
|
|
do_install_append() {
|
|
|
|
find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f --
|
2011-06-02 13:52:34 +00:00
|
|
|
}
|