summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/xorg-driver/xorg-driver-common.inc')
-rw-r--r--meta/recipes-graphics/xorg-driver/xorg-driver-common.inc14
1 files changed, 8 insertions, 6 deletions
diff --git a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
index 493b90a298..c61cdd05b3 100644
--- a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
+++ b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc
@@ -2,25 +2,27 @@ SUMMARY = "X driver"
2HOMEPAGE = "http://www.x.org" 2HOMEPAGE = "http://www.x.org"
3BUGTRACKER = "https://bugs.freedesktop.org" 3BUGTRACKER = "https://bugs.freedesktop.org"
4SECTION = "x11/drivers" 4SECTION = "x11/drivers"
5LICENSE = "MIT-X" 5LICENSE = "MIT"
6 6
7PE = "2" 7PE = "2"
8 8
9DEPENDS = "virtual/xserver xorgproto util-macros" 9DEPENDS = "virtual/xserver xorgproto util-macros"
10 10
11SRC_URI = "${XORG_MIRROR}/individual/driver/${BPN}-${PV}.tar.bz2" 11XORG_DRIVER_COMPRESSOR ?= ".tar.bz2"
12SRC_URI = "${XORG_MIRROR}/individual/driver/${BPN}-${PV}${XORG_DRIVER_COMPRESSOR}"
12 13
13FILES_${PN} += " ${libdir}/xorg/modules/drivers/*.so" 14FILES:${PN} += " ${libdir}/xorg/modules/drivers/*.so"
14 15
16inherit pkgconfig features_check
15XORGBUILDCLASS ??= "autotools" 17XORGBUILDCLASS ??= "autotools"
16inherit ${XORGBUILDCLASS} pkgconfig features_check 18inherit_defer ${XORGBUILDCLASS}
17 19
18# depends on virtual/xserver 20# depends on virtual/xserver
19REQUIRED_DISTRO_FEATURES = "x11" 21REQUIRED_DISTRO_FEATURES = "x11"
20 22
21# FIXME: We don't want to include the libtool archives (*.la) from modules 23# FIXME: We don't want to include the libtool archives (*.la) from modules
22# directory, as they serve no useful purpose. Upstream should fix Makefile.am 24# directory, as they serve no useful purpose. Upstream should fix Makefile.am
23do_install_append() { 25do_install:append() {
24 find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f -- 26 find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f --
25} 27}
26 28
@@ -38,6 +40,6 @@ def _add_xorg_abi_depends(d, name):
38 abi = "%sxorg-abi-%s-%s" % (mlprefix, name, output.split(".")[0]) 40 abi = "%sxorg-abi-%s-%s" % (mlprefix, name, output.split(".")[0])
39 41
40 pn = d.getVar("PN") 42 pn = d.getVar("PN")
41 d.appendVar('RDEPENDS_' + pn, ' ' + abi) 43 d.appendVar('RDEPENDS:' + pn, ' ' + abi)
42 44
43SECURITY_LDFLAGS = "${SECURITY_X_LDFLAGS}" 45SECURITY_LDFLAGS = "${SECURITY_X_LDFLAGS}"