libunwind: update to 1.8.1
[openadk.git] / package / mesa / Makefile
blob75a10c0038161f0b76f1d0187e14e960f55b54ac
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= mesa
7 PKG_VERSION:= 23.3.3
8 PKG_RELEASE:= 1
9 PKG_HASH:= 518307c0057fa3cee8b58df78be431d4df5aafa7edc60d09278b2d7a0a80f3b4
10 PKG_DESCR:= 3d graphics library
11 PKG_SECTION:= libs/video
12 PKG_DEPENDS:= libxdamage libxfixes libdrm libxxf86vm libexpat
13 PKG_DEPENDS+= libxml2
14 PKG_BUILDDEP:= python3 libxml2 libXdamage libXfixes libXrandr
15 PKG_BUILDDEP+= libXxf86vm libdrm dri2proto glproto expat libXext
16 PKG_BUILDDEP+= eudev dri3proto presentproto xcb-proto libxcb
17 PKG_BUILDDEP+= libxshmfence python-mako-host
18 PKG_NEEDS:= c++
19 PKG_URL:= http://www.mesa3d.org/
20 PKG_SITES:= ftp://ftp.freedesktop.org/pub/mesa/
21 PKG_LIBNAME:= mesa
22 PKG_OPTS:= dev
24 PKG_ARCH_DEPENDS:= x86 x86_64 mips mipsel mips64 mips64el arm aarch64
26 include $(ADK_TOPDIR)/mk/package.mk
28 $(eval $(call PKG_template,MESA,mesa,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
30 WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
31 CONFIG_STYLE:= meson
32 BUILD_STYLE:= meson
33 INSTALL_STYLE:= meson
35 MESON_FLAGS+= -Dllvm=disabled \
36 -Dgallium-drivers=swrast,panfrost,vc4,v3d \
37 -Dvulkan-drivers= \
38 -Dgbm=enabled \
39 -Dplatforms=x11
41 mesa-install:
42 $(INSTALL_DIR) $(IDIR_MESA)/usr/lib/dri
43 $(CP) $(WRKINST)/usr/lib/libEGL*.so* \
44 $(IDIR_MESA)/usr/lib
45 $(CP) $(WRKINST)/usr/lib/libGL*.so* \
46 $(IDIR_MESA)/usr/lib
47 $(CP) $(WRKINST)/usr/lib/libglapi.so* \
48 $(IDIR_MESA)/usr/lib
49 $(CP) $(WRKINST)/usr/lib/libgbm.so* \
50 $(IDIR_MESA)/usr/lib
51 ${CP} $(WRKINST)/usr/lib/dri/*.so \
52 ${IDIR_MESA}/usr/lib/dri/
54 include ${ADK_TOPDIR}/mk/pkg-bottom.mk