1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

mesa-glsl: add mesa glsl 7.8.2

mesa glsl is required by mesa 7.8.2, so add it.

Signed-off-by: Yu Ke <ke.y@intel.com>
This commit is contained in:
Yu Ke
2011-01-14 23:13:37 +08:00
committed by Saul Wold
parent 0b62bd8a95
commit 20bdd1764f
2 changed files with 27 additions and 25 deletions
@@ -0,0 +1,27 @@
DESCRIPTION = "gl shader language specific build from mesa-dri"
HOMEPAGE = "http://mesa3d.org"
BUGTRACKER = "https://bugs.freedesktop.org"
SECTION = "x11"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://apps/compile.c;endline=26;md5=27c2833286ce9566b162bcbe21d5b267"
PR = "r0"
DEPENDS = "makedepend-native"
SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2"
SRC_URI[md5sum] = "6be2d343a0089bfd395ce02aaf8adb57"
SRC_URI[sha256sum] = "505bf418dceba05837f4ea1b1972b9620c35f8cb94bc4d1e6d573c15f562576d"
S = "${WORKDIR}/Mesa-7.8.2/src/glsl/"
inherit native
# use default config for native build
do_configure_prepend() {
ln -s ${S}/../../configs/default ${S}/../../configs/current
}
do_install() {
install -d ${D}/${bindir}
install -m 755 ${S}/apps/compile ${D}/${bindir}/glsl-compile
}
@@ -1,25 +0,0 @@
DESCRIPTION = "gl shader language specific build from mesa-dri"
HOMEPAGE = "http://mesa3d.org"
BUGTRACKER = "https://bugs.freedesktop.org"
SECTION = "x11"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://main.cpp;endline=22;md5=a12a9c0208ee64a07ce314dfed4c81eb"
PR = "r0"
DEPENDS = "makedepend-native talloc-native"
SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2"
S = "${WORKDIR}/Mesa-${PV}/src/glsl"
inherit native
# use default config for native build
do_configure_prepend() {
ln -sf ${S}/../../configs/default ${S}/../../configs/current
}
do_install() {
install -d ${D}/${bindir}
install -m 755 ${S}/glsl_compiler ${D}/${bindir}/
}