2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.mesa3d.org
|
|
|
|
TERMUX_PKG_DESCRIPTION="An open-source implementation of the OpenGL specification"
|
2019-01-21 17:50:21 +01:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2022-02-26 13:57:07 +01:00
|
|
|
TERMUX_PKG_LICENSE_FILE="docs/license.rst"
|
2021-08-25 12:47:33 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-02-26 13:57:07 +01:00
|
|
|
TERMUX_PKG_VERSION=21.3.7
|
|
|
|
TERMUX_PKG_SRCURL=https://archive.mesa3d.org/mesa-${TERMUX_PKG_VERSION}.tar.xz
|
|
|
|
TERMUX_PKG_SHA256=b4fa9db7aa61bf209ef0b40bef83080999d86ad98df8b8b4fada7c128a1efc3d
|
|
|
|
TERMUX_PKG_DEPENDS="libandroid-shmem, libc++, libx11, libxext, zlib"
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_BUILD_DEPENDS="xorgproto"
|
fix names for more packages
Now x11-packages repository will use original names for
packages. For example, libgtk2 now will be provided as
gtk2, libgtk3 will be available as gtk3, libsdl - as sdl.
List of changed packages:
libatk --> atk
libglu --> glu
libgtk2 --> gtk2
libgtk3 --> gtk3
libmesa --> mesa
libsdl --> sdl
libsdl2 --> sdl2
libsdl-net --> sdl-net
riscvemu-sdl --> riscvemu
xorg-xvfb --> xorg-server-xvfb
List of dependent packages (should be rebuilt with new deps):
dosbox, emacs-x, galculator, geany, libepoxy, mtpaint,
qemu-system-x86_64, the-powder-toy, tigervnc, wireshark-gtk,
xarchiver.
Note: depending on which packages are installed, it may be
necessary to upgrade with 'apt dist-upgrade'.
2018-10-03 20:02:25 +02:00
|
|
|
TERMUX_PKG_CONFLICTS="libmesa"
|
|
|
|
TERMUX_PKG_REPLACES="libmesa"
|
2018-09-10 00:42:26 +02:00
|
|
|
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
2022-02-26 13:57:07 +01:00
|
|
|
-Dgbm=disabled
|
|
|
|
-Degl=disabled
|
|
|
|
-Dgles1=disabled
|
|
|
|
-Dgles2=disabled
|
|
|
|
-Ddri3=disabled
|
|
|
|
-Dllvm=disabled
|
|
|
|
-Dglx=xlib
|
|
|
|
-Dplatforms=x11
|
|
|
|
-Ddri-drivers=
|
|
|
|
-Dgallium-drivers=
|
|
|
|
-Dvulkan-drivers=
|
2018-09-10 00:42:26 +02:00
|
|
|
"
|
|
|
|
|
2018-10-31 19:54:40 +01:00
|
|
|
termux_step_pre_configure() {
|
2022-02-26 13:57:07 +01:00
|
|
|
CPPFLAGS+=" -D__USE_GNU"
|
|
|
|
LDFLAGS+=" -landroid-shmem"
|
2018-09-10 00:42:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_post_massage() {
|
2019-01-21 17:50:21 +01:00
|
|
|
cd ${TERMUX_PKG_MASSAGEDIR}/${TERMUX_PREFIX}/lib || exit 1
|
|
|
|
if [ ! -e "./libGL.so.1" ]; then
|
|
|
|
ln -sf libGL.so libGL.so.1
|
|
|
|
fi
|
2018-09-10 00:42:26 +02:00
|
|
|
}
|