wok view mesa-wayland/receipt @ rev 20645

updated hostapd (2.6 -> 2.7)
author Hans-G?nter Theisgen
date Fri Jan 11 16:39:21 2019 +0100 (9 months ago)
parents 03b2309fd335
children a78610b2eb47
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 find . -name 'nouveau*.h' | \
36 xargs sed -i 's|libdrm/nouveau.h|libdrm/nouveau/nouveau.h|'
37 ./autogen.sh \
38 --prefix=/usr \
39 --sysconfdir=/etc/X11/${PACKAGE} \
40 --enable-gles2 \
41 --disable-gallium-egl \
42 --with-egl-platforms=x11,wayland,drm \
43 --enable-gbm \
44 --enable-shared-glapi \
45 --with-gallium-drivers=r300,r600,swrast,nouveau \
46 $CONFIGURE_ARGS &&
47 make $MAKEFLAGS && make install
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 mkdir -p $fs/usr/lib/dri
54 cp -a $install/etc $fs
55 cp -a $install/usr/lib/*.so* $fs/usr/lib
56 cp -a $install/usr/lib/dri/*.so* $fs/usr/lib/dri
58 # libGLU is included in the package libglu-mesa
59 #rm -r -f $fs/usr/lib/libGLU*
61 #libGLw is included in the package libglw-mesa
62 #rm -r -f $fs/usr/lib/libGLw*
64 #libEGL is included in the package libegl-mesa
65 #rm -r -f $fs/usr/lib/libEGL*
66 }