From: Andrei Gherzan <andrei.gherzan@windriver.com>
To: <meta-freescale@yoctoproject.org>
Cc: Andrei Gherzan <andrei.gherzan@windriver.com>
Subject: [meta-fsl-arm][PATCH 4/4] gpu-viv-bin-mx6q: Add dri.pc
Date: Sun, 13 Jan 2013 18:28:42 +0200 [thread overview]
Message-ID: <1358094522-6543-4-git-send-email-andrei.gherzan@windriver.com> (raw)
In-Reply-To: <1358094522-6543-1-git-send-email-andrei.gherzan@windriver.com>
This is need when compiling packages like xserver-xorg with dri support.
Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
---
.../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc | 13 ++++++++++---
.../gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/dri.pc | 11 +++++++++++
2 files changed, 21 insertions(+), 3 deletions(-)
create mode 100644 recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/dri.pc
diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
index 1f63a0b..ed69e88 100644
--- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
@@ -7,11 +7,14 @@ LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://usr/include/gc_vdk.h;endline=11;md5=092bc28e13d678ceaebe1a40559275fb"
PROVIDES += "virtual/libgal-x11 virtual/egl virtual/libgles1 virtual/libgles2 libvivante-dri-mx6"
-INC_PR = "r1"
+INC_PR = "r2"
inherit fsl-eula-unpack
-SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
+SRC_URI = " \
+ ${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true \
+ file://dri.pc \
+ "
PACKAGES =+ "libclc-mx6 libclc-mx6-dev libclc-mx6-dbg \
libegl-fb-mx6 libegl-fb-mx6-dev libegl-fb-mx6-dbg \
@@ -62,6 +65,10 @@ do_install () {
find ${D}${libdir} -type f -exec chmod 644 {} \;
find ${D}${includedir} -type f -exec chmod 644 {} \;
+
+ # Install dri.pc
+ install -d ${D}${libdir}/pkgconfig
+ cp -ax ${WORKDIR}/dri.pc ${D}${libdir}/pkgconfig
}
S = "${WORKDIR}/${PN}-${PV}"
@@ -140,7 +147,7 @@ FILES_libvivante-x11-mx6-dev = "${libdir}/libVIVANTE-x11${SOLIBSDEV}"
FILES_libvivante-x11-mx6-dbg = "${libdir}/.debug/libVIVANTE-x11${SOLIBS}"
FILES_libvivante-dri-mx6 = "${libdir}/dri/vivante_dri${SOLIBS}"
-FILES_libvivante-dri-mx6-dev = ""
+FILES_libvivante-dri-mx6-dev = "${libdir}/pkgconfig"
FILES_libvivante-dri-mx6-dbg = "${libdir}/dri/.debug/vivante_dri${SOLIBS}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/dri.pc b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/dri.pc
new file mode 100644
index 0000000..537c533
--- /dev/null
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q/dri.pc
@@ -0,0 +1,11 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=/usr/lib
+includedir=/usr/include
+dridriverdir=${libdir}/dri
+
+Name: dri
+Description: Vivante Direct Rendering Infrastructure
+Version: 8.0.0
+Requires.private: libdrm >= 2.4.24
+Cflags: -I${includedir}
--
1.7.9.5
next prev parent reply other threads:[~2013-01-13 16:28 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-13 16:28 [meta-fsl-arm][PATCH 1/4] xf86-video-imxfb-vivante: Depend on virtual/xserver Andrei Gherzan
2013-01-13 16:28 ` [meta-fsl-arm][PATCH 2/4] xserver-xorg: Add bbappend to include dri and exclude glx for imx6 Andrei Gherzan
2013-01-13 17:41 ` Eric Bénard
2013-01-13 19:23 ` Andrei Gherzan
2013-01-13 19:48 ` Eric Bénard
2013-01-13 21:45 ` Andrei Gherzan
2013-01-14 11:53 ` Otavio Salvador
2013-01-14 12:22 ` Andrei Gherzan
2013-01-13 16:28 ` [meta-fsl-arm][PATCH 3/4] glproto: Don't install glxtokens.h for imx6qsabrelite Andrei Gherzan
2013-01-14 11:55 ` Otavio Salvador
2013-01-14 12:22 ` Andrei Gherzan
2013-01-14 12:25 ` Otavio Salvador
2013-01-14 13:01 ` Andrei Gherzan
2013-01-14 13:22 ` Eric Bénard
2013-01-24 17:50 ` Andrei Gherzan
2013-01-24 18:01 ` Eric Bénard
2013-01-24 18:05 ` Otavio Salvador
2013-01-24 18:23 ` Eric Bénard
2013-01-24 18:26 ` Andrei Gherzan
2013-01-24 18:38 ` Eric Bénard
2013-01-13 16:28 ` Andrei Gherzan [this message]
2013-01-14 11:58 ` [meta-fsl-arm][PATCH 4/4] gpu-viv-bin-mx6q: Add dri.pc Otavio Salvador
2013-01-13 17:04 ` [meta-fsl-arm][PATCH 1/4] xf86-video-imxfb-vivante: Depend on virtual/xserver Eric Bénard
2013-01-14 11:49 ` Otavio Salvador
2013-01-14 13:21 ` Eric Bénard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1358094522-6543-4-git-send-email-andrei.gherzan@windriver.com \
--to=andrei.gherzan@windriver.com \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.