wok-current annotate mesa/receipt @ rev 24629
updated gsl and gsl-dev (2.6 -> 2.7.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 08 09:29:44 2022 +0100 (2022-03-08) |
parents | 89c8d8b6cf48 |
children | a23978bfa665 |
rev | line source |
---|---|
pascal@592 | 1 # SliTaz package receipt. |
pascal@592 | 2 |
pascal@592 | 3 PACKAGE="mesa" |
Hans-G?nter@22242 | 4 VERSION="9.2.5" |
pankso@4421 | 5 CATEGORY="x-window" |
rcx@3695 | 6 SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL." |
pascal@592 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14728 | 8 LICENSE="MIT" |
Hans-G?nter@22242 | 9 WEB_SITE="https://www.mesa3d.org/" |
Hans-G?nter@22242 | 10 |
pascal@592 | 11 SOURCE="Mesa" |
pascal@592 | 12 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2" |
Hans-G?nter@22242 | 13 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/older-versions/${VERSION%%.*}.x/$VERSION/$TARBALL" |
Hans-G?nter@22242 | 14 |
rcx@3695 | 15 PROVIDE="libgl" |
Hans-G?nter@22242 | 16 SUGGESTED="nvidia" |
Hans-G?nter@22242 | 17 DEPENDS="expat libdrm libpthread-stubs udev xorg-libXdamage xorg-libXt |
Hans-G?nter@22242 | 18 xorg-libXxf86vm" |
Hans-G?nter@22242 | 19 BUILD_DEPENDS="autoconf automake expat-dev file lesstif-dev libdrm-dev |
Hans-G?nter@22242 | 20 libdrm-nouveau libpthread-stubs-dev libtool libxml2-python llvm |
Hans-G?nter@22242 | 21 pkg-config talloc udev-dev xorg-dri2proto xorg-glproto xorg-imake |
Hans-G?nter@22242 | 22 xorg-libXdamage-dev xorg-libXt-dev xorg-libXxf86vm-dev |
Hans-G?nter@22242 | 23 xorg-makedepend xorg-server-dev" |
pankso@9735 | 24 |
pascal@24476 | 25 # What is the latest version available today? |
pascal@24476 | 26 current_version() |
pascal@24476 | 27 { |
pascal@24614 | 28 wget -O - 'https://gitlab.freedesktop.org/mesa/mesa/-/tags?sort=updated_desc' 2>/dev/null | \ |
pascal@24614 | 29 sed '/item-title/!d;/-rc/d;s|.*">[a-z-]*||;s|<.*||;q' |
pascal@24476 | 30 } |
pascal@24476 | 31 |
pascal@592 | 32 # Rules to configure and make the package. |
pascal@592 | 33 compile_rules() |
rcx@3695 | 34 { |
psychomaniak@19158 | 35 find . -name 'nouveau*.h' | \ |
psychomaniak@19158 | 36 xargs sed -i 's|libdrm/nouveau.h|libdrm/nouveau/nouveau.h|' |
Hans-G?nter@22242 | 37 |
Hans-G?nter@22242 | 38 ./autogen.sh \ |
Hans-G?nter@22242 | 39 --prefix=/usr \ |
rcx@3695 | 40 $CONFIGURE_ARGS && |
Hans-G?nter@22242 | 41 make $MAKEFLAGS && |
Hans-G?nter@22242 | 42 make install |
pascal@592 | 43 } |
pascal@592 | 44 |
pascal@592 | 45 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@592 | 46 genpkg_rules() |
pascal@592 | 47 { |
pankso@3007 | 48 mkdir -p $fs/usr/lib |
Hans-G?nter@22242 | 49 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@4170 | 50 |
rcx@3695 | 51 # libGLU is included in the package libglu-mesa |
rcx@3695 | 52 rm -r -f $fs/usr/lib/libGLU* |
pankso@4170 | 53 |
rcx@3695 | 54 #libGLw is included in the package libglw-mesa |
rcx@3695 | 55 rm -r -f $fs/usr/lib/libGLw* |
pankso@12548 | 56 |
jozee@5537 | 57 #libEGL is included in the package libegl-mesa |
jozee@5537 | 58 rm -r -f $fs/usr/lib/libEGL* |
pascal@592 | 59 } |