From patchwork Thu Aug 7 12:32:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Mads_Dor=C3=A9_Hansen?= X-Patchwork-Id: 377827 X-Patchwork-Delegate: jacob.kjaergaard@prevas.dk Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hugin.dotsrc.org (hugin.dotsrc.org [IPv6:2001:878:346::102]) by ozlabs.org (Postfix) with ESMTP id A39F8140097 for ; Thu, 7 Aug 2014 22:32:23 +1000 (EST) Received: from hugin.dotsrc.org (localhost [127.0.0.1]) by hugin.dotsrc.org (Postfix) with ESMTP id 2A84C3FBFD for ; Thu, 7 Aug 2014 14:32:22 +0200 (CEST) X-Original-To: dev@oe-lite.org Delivered-To: dev@oe-lite.org Received: from ispc7.dotserv.com (ssl7.dotserv.com [178.20.217.17]) by hugin.dotsrc.org (Postfix) with ESMTPS id 4968D3F876 for ; Thu, 7 Aug 2014 14:32:18 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by ispc7.dotserv.com (Postfix) with ESMTP id 0125051400A for ; Thu, 7 Aug 2014 14:32:18 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at ispc7.dotserv.com Received: from ispc7.dotserv.com ([127.0.0.1]) by localhost (ispc7.dotserv.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L1AK5MorheZp for ; Thu, 7 Aug 2014 14:32:14 +0200 (CEST) Received: from localhost.localdomain (unknown [195.215.105.114]) (Authenticated sender: dore@madsdore.dk) by ispc7.dotserv.com (Postfix) with ESMTPSA id 54B2D514010 for ; Thu, 7 Aug 2014 14:32:06 +0200 (CEST) From: =?UTF-8?q?Mads=20Dor=C3=A9?= To: dev@oe-lite.org Subject: [xorg 5/7] Made a more generic xf86-video-intel recipe set. Date: Thu, 7 Aug 2014 14:32:04 +0200 Message-Id: <1407414726-1710-5-git-send-email-dore@madsdore.dk> X-Mailer: git-send-email 2.0.4 In-Reply-To: <1407414726-1710-1-git-send-email-dore@madsdore.dk> References: <1407414726-1710-1-git-send-email-dore@madsdore.dk> X-BeenThere: dev@oe-lite.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: OE-lite development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dev-bounces@oe-lite.org Errors-To: dev-bounces@oe-lite.org --- recipes/xorg-driver/xf86-video-intel-common.inc | 50 ++++++++++++++++++++++ recipes/xorg-driver/xf86-video-intel_2.21.15.oe | 2 + .../xorg-driver/xf86-video-intel_2.21.15.oe.sig | 1 + recipes/xorg-driver/xf86-video-intel_2.99.912.oe | 3 ++ .../xorg-driver/xf86-video-intel_2.99.912.oe.sig | 1 + 5 files changed, 57 insertions(+) create mode 100644 recipes/xorg-driver/xf86-video-intel-common.inc create mode 100644 recipes/xorg-driver/xf86-video-intel_2.21.15.oe create mode 100644 recipes/xorg-driver/xf86-video-intel_2.21.15.oe.sig create mode 100644 recipes/xorg-driver/xf86-video-intel_2.99.912.oe create mode 100644 recipes/xorg-driver/xf86-video-intel_2.99.912.oe.sig diff --git a/recipes/xorg-driver/xf86-video-intel-common.inc b/recipes/xorg-driver/xf86-video-intel-common.inc new file mode 100644 index 0000000..00714d0 --- /dev/null +++ b/recipes/xorg-driver/xf86-video-intel-common.inc @@ -0,0 +1,50 @@ +DESCRIPTION = "X.Org X server -- Intel display driver" +HOMEPAGE = "http://www.x.org" +BUGTRACKER = "https://bugs.freedesktop.org" +LICENSE = "MIT-X" + +require conf/fetch/xorg.conf +require conf/xorg.conf + +SRC_URI = "${XORG_MIRROR}/individual/driver/${PN}-${PV}.tar.bz2" + +DEPENDS = " xserver-xorg xproto randrproto util-macros \ + renderproto videoproto xextproto fontsproto \ + kbproto pixman libpciaccess inputproto \ + libdrm-intel kbproto xf86driproto" + +S = "${SRCDIR}/${PN}-${PV}" + +inherit autotools pkgconfig + +#hack for includes +CFLAGS += " -I${HOST_SYSROOT}${includedir}/xorg \ + -I${HOST_SYSROOT}${includedir}/pixman-1 \ + -I${HOST_SYSROOT}${includedir}" + +# 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[postfuncs] += "do_install_input" +do_install_input() { + find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f -- +} + +SOLIBS = "*.so" + +LIBS_DEPS = """ + xserver-xorg-extension-dri + xserver-xorg-extension-dri2 + xserver-xorg-extension-exa + xserver-xorg-extension-fb + xserver-xorg-extension-dbe + xserver-xorg-extension-glx + xserver-xorg-extension-extmod + libdrm-intel +""" + +DEPENDS_${PN} += "libc ${LIBS_DEPS}" +RDEPENDS_${PN} += "libc ${LIBS_DEPS}" + +FILES_${PN} += " ${libdir}/xorg/modules/drivers/*.so" +FILES_${PN} += "${datadir}/polkit-1/actions/org.x.xf86-video-intel.backlight-helper.policy" +FILES_${PN}-dbg += " ${libdir}/xorg/modules/drivers/.debug" diff --git a/recipes/xorg-driver/xf86-video-intel_2.21.15.oe b/recipes/xorg-driver/xf86-video-intel_2.21.15.oe new file mode 100644 index 0000000..807d677 --- /dev/null +++ b/recipes/xorg-driver/xf86-video-intel_2.21.15.oe @@ -0,0 +1,2 @@ +require xf86-video-intel-common.inc + diff --git a/recipes/xorg-driver/xf86-video-intel_2.21.15.oe.sig b/recipes/xorg-driver/xf86-video-intel_2.21.15.oe.sig new file mode 100644 index 0000000..2f5de5b --- /dev/null +++ b/recipes/xorg-driver/xf86-video-intel_2.21.15.oe.sig @@ -0,0 +1 @@ +6952e6e1deff1c4580ddee472dbc2223c3248d0f xf86-video-intel-2.21.15.tar.bz2 diff --git a/recipes/xorg-driver/xf86-video-intel_2.99.912.oe b/recipes/xorg-driver/xf86-video-intel_2.99.912.oe new file mode 100644 index 0000000..41ea65a --- /dev/null +++ b/recipes/xorg-driver/xf86-video-intel_2.99.912.oe @@ -0,0 +1,3 @@ +require xf86-video-intel-common.inc + +DEFAULT_PREFERENCE = "-1" diff --git a/recipes/xorg-driver/xf86-video-intel_2.99.912.oe.sig b/recipes/xorg-driver/xf86-video-intel_2.99.912.oe.sig new file mode 100644 index 0000000..60d809b --- /dev/null +++ b/recipes/xorg-driver/xf86-video-intel_2.99.912.oe.sig @@ -0,0 +1 @@ +ad67228c3d8a12517d12484a7291007ced11f04a xf86-video-intel-2.99.912.tar.bz2