wok-current diff mesa-wayland/receipt @ rev 16275

Up: mercurial (2.9.2)
author Alexander Medvedev <devl547@gmail.com>
date Sat Apr 05 21:35:36 2014 +0000 (2014-04-05)
parents
children 8bdba6bcdf42
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mesa-wayland/receipt	Sat Apr 05 21:35:36 2014 +0000
     1.3 @@ -0,0 +1,58 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mesa-wayland"
     1.7 +VERSION="9.1.3"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +SUGGESTED="nvidia"
    1.13 +SOURCE="Mesa"
    1.14 +TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
    1.15 +WEB_SITE="http://www.mesa3d.org/"
    1.16 +WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$VERSION/$TARBALL"
    1.17 +
    1.18 +# Have Wayland support by default ?
    1.19 +PROVIDE="libgl libegl-mesa libglw-mesa libglu-mesa"
    1.20 +
    1.21 +DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev \
    1.22 +wayland"
    1.23 +BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
    1.24 +xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \
    1.25 +talloc xorg-makedepend lesstif libxml2-python xorg-imake lesstif-dev \
    1.26 +xorg-server-dev udev-dev file libdrm-nouveau llvm libtool automake \
    1.27 +autoconf libpthread-stubs-dev wayland-dev"
    1.28 +
    1.29 +# Rules to configure and make the package.
    1.30 +compile_rules()
    1.31 +{
    1.32 +	./autogen.sh \
    1.33 +		--prefix=/usr \
    1.34 +		--sysconfdir=/etc/X11/${PACKAGE} \
    1.35 +		--enable-gles2 \
    1.36 +		--disable-gallium-egl \
    1.37 +		--with-egl-platforms=x11,wayland,drm \
    1.38 +		--enable-gbm \
    1.39 +		--enable-shared-glapi \
    1.40 +		--with-gallium-drivers=r300,r600,swrast,nouveau \
    1.41 +		$CONFIGURE_ARGS &&
    1.42 +	make $MAKEFLAGS && make install
    1.43 +}
    1.44 +
    1.45 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.46 +genpkg_rules()
    1.47 +{
    1.48 +	mkdir -p $fs/usr/lib/dri
    1.49 +	cp -a $install/etc $fs
    1.50 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.51 +	cp -a $install/usr/lib/dri/*.so* $fs/usr/lib/dri
    1.52 +
    1.53 +	# libGLU is included in the package libglu-mesa
    1.54 +	#rm -r -f $fs/usr/lib/libGLU*
    1.55 +
    1.56 +	#libGLw is included in the package libglw-mesa
    1.57 +	#rm -r -f $fs/usr/lib/libGLw*
    1.58 +
    1.59 +	#libEGL is included in the package libegl-mesa
    1.60 +	#rm -r -f $fs/usr/lib/libEGL*
    1.61 +}