wok view mesa-wayland/receipt @ rev 16363
flxine: ry a fix, crooss fine locally but not on tank)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 14 00:35:12 2014 +0200 (2014-04-14) |
parents | |
children | 8bdba6bcdf42 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mesa-wayland"
4 VERSION="9.1.3"
5 CATEGORY="x-window"
6 SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 SUGGESTED="nvidia"
10 SOURCE="Mesa"
11 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
12 WEB_SITE="http://www.mesa3d.org/"
13 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$VERSION/$TARBALL"
15 # Have Wayland support by default ?
16 PROVIDE="libgl libegl-mesa libglw-mesa libglu-mesa"
18 DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev \
19 wayland"
20 BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
21 xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \
22 talloc xorg-makedepend lesstif libxml2-python xorg-imake lesstif-dev \
23 xorg-server-dev udev-dev file libdrm-nouveau llvm libtool automake \
24 autoconf libpthread-stubs-dev wayland-dev"
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./autogen.sh \
30 --prefix=/usr \
31 --sysconfdir=/etc/X11/${PACKAGE} \
32 --enable-gles2 \
33 --disable-gallium-egl \
34 --with-egl-platforms=x11,wayland,drm \
35 --enable-gbm \
36 --enable-shared-glapi \
37 --with-gallium-drivers=r300,r600,swrast,nouveau \
38 $CONFIGURE_ARGS &&
39 make $MAKEFLAGS && make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib/dri
46 cp -a $install/etc $fs
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/lib/dri/*.so* $fs/usr/lib/dri
50 # libGLU is included in the package libglu-mesa
51 #rm -r -f $fs/usr/lib/libGLU*
53 #libGLw is included in the package libglw-mesa
54 #rm -r -f $fs/usr/lib/libGLw*
56 #libEGL is included in the package libegl-mesa
57 #rm -r -f $fs/usr/lib/libEGL*
58 }