wok-6.x view mesa-wayland/receipt @ rev 18145

Add defragfs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 18 16:31:01 2015 +0200 (2015-06-18)
parents d19188e483fc
children 03b2309fd335
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"
14 #HOST_ARCH="arm i486"
16 # Have Wayland support by default ?
17 PROVIDE="libgl libegl-mesa libglw-mesa"
19 DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev \
20 wayland"
21 BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
22 xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \
23 lesstif libxml2-python lesstif-dev xorg-server-dev udev-dev wayland-dev"
25 # Use some build system tools
26 case "$ARCH" in
27 i?86)
28 BUILD_DEPENDS="$BUILD_DEPENDS talloc xorg-makedepend xorg-imake \
29 file libdrm-nouveau llvm libtool automake autoconf libpthread-stubs-dev" ;;
30 esac
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 ./autogen.sh \
36 --prefix=/usr \
37 --sysconfdir=/etc/X11/${PACKAGE} \
38 --enable-gles2 \
39 --disable-gallium-egl \
40 --with-egl-platforms=x11,wayland,drm \
41 --enable-gbm \
42 --enable-shared-glapi \
43 --with-gallium-drivers=r300,r600,swrast,nouveau \
44 $CONFIGURE_ARGS &&
45 make $MAKEFLAGS && make install
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/lib/dri
52 cp -a $install/etc $fs
53 cp -a $install/usr/lib/*.so* $fs/usr/lib
54 cp -a $install/usr/lib/dri/*.so* $fs/usr/lib/dri
56 # libGLU is included in the package libglu-mesa
57 #rm -r -f $fs/usr/lib/libGLU*
59 #libGLw is included in the package libglw-mesa
60 #rm -r -f $fs/usr/lib/libGLw*
62 #libEGL is included in the package libegl-mesa
63 #rm -r -f $fs/usr/lib/libEGL*
64 }