summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-01-15 10:47:30 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2014-01-22 12:22:34 +0100
commitd2cc10741b328725418af6ae121c935b54b1f0f6 (patch)
tree106206d98317d1b4b858be0a7b6061322e5e3546 /meta-oe/recipes-graphics
parentd096e77a362aba8bd70fc02413c16135bace7f7f (diff)
downloadmeta-openembedded-d2cc10741b328725418af6ae121c935b54b1f0f6.tar.gz
piglit: remove, migrated to oe-core
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics')
-rw-r--r--meta-oe/recipes-graphics/piglit/piglit_git.bb44
1 files changed, 0 insertions, 44 deletions
diff --git a/meta-oe/recipes-graphics/piglit/piglit_git.bb b/meta-oe/recipes-graphics/piglit/piglit_git.bb
deleted file mode 100644
index 7c4f9a00b..000000000
--- a/meta-oe/recipes-graphics/piglit/piglit_git.bb
+++ /dev/null
@@ -1,44 +0,0 @@
1SUMMARY = "OpenGL driver testing framework"
2LICENSE = "MIT & LGPLv2+ & GPLv3 & GPLv2+ & BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://COPYING;md5=b2beded7103a3d8a442a2a0391d607b0"
4
5SRC_URI = "git://anongit.freedesktop.org/piglit"
6
7# From 2012/12/30.
8SRCREV = "bbeff5d21b06d37338ad28e42d88f499bef13268"
9# (when PV goes above 1.0 remove the trailing r)
10PV = "1.0+gitr${SRCPV}"
11
12S = "${WORKDIR}/git"
13
14DEPENDS = "virtual/libx11 waffle virtual/libgl libglu python-mako-native python-numpy-native"
15
16inherit cmake pythonnative
17
18# CMake sets the rpath at build time with the source tree, and will reset it at
19# install time. As we don't install this doesn't happen, so force the rpath to
20# what we need.
21EXTRA_OECMAKE = "-DCMAKE_BUILD_WITH_INSTALL_RPATH=1 -DCMAKE_INSTALL_RPATH=${libdir}/piglit/lib"
22
23do_install() {
24 install -d ${D}${bindir}
25 install -m 0755 piglit-*.py ${D}${bindir}
26
27 install -d ${D}${libdir}/piglit/
28
29 install -d ${D}${libdir}/piglit/bin
30 install -m 755 ${S}/bin/* ${D}${libdir}/piglit/bin
31
32 cp -a lib/ ${D}${libdir}/piglit/
33 cp -a framework/ ${D}${libdir}/piglit/
34 cp -a generated_tests/ ${D}${libdir}/piglit/
35 cp -a tests/ ${D}${libdir}/piglit/
36 cp -a templates/ ${D}${libdir}/piglit/
37
38 sed -i -e 's|sys.path.append(.*)|sys.path.append("${libdir}/piglit")|' ${D}${bindir}/piglit-*.py
39 sed -i -e 's|^templatedir = .*$|templatedir = "${libdir}/piglit/templates"|' ${D}${bindir}/piglit-summary-html.py
40}
41
42FILES_${PN}-dbg += "${libdir}/piglit/*/.debug/"
43
44RDEPENDS_${PN} = "python waffle python-json python-subprocess python-multiprocessing python-textutils python-netserver python-shell mesa-demos"