termux-packages/x11-packages/libsdl2/build.sh

49 lines
1.4 KiB
Bash
Raw Normal View History

2018-09-10 00:42:26 +02:00
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
TERMUX_PKG_HOMEPAGE=https://www.libsdl.org
TERMUX_PKG_DESCRIPTION="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (version 2)"
TERMUX_PKG_VERSION=2.0.8
TERMUX_PKG_REVISION=1
2018-09-10 00:42:26 +02:00
TERMUX_PKG_SRCURL=https://www.libsdl.org/release/SDL2-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=edc77c57308661d576e843344d8638e025a7818bff73f8fbfab09c3c5fd092ec
TERMUX_PKG_DEPENDS="libandroid-glob, libandroid-support, libflac, libogg, libsndfile, libvorbis, libx11, libxau, libxcb, libxdmcp, libxext, libxrandr, libxrender, libxxf86vm, pulseaudio"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--x-includes=${TERMUX_PREFIX}/include
--x-libraries=${TERMUX_PREFIX}/lib
--disable-assembly
--disable-mmx
--disable-3dnow
--disable-oss
--disable-alsa
--disable-esd
--disable-video-wayland
--disable-video-mir
--disable-video-rpi
--enable-video-x11-xcursor
--enable-video-x11-xinerama
--enable-video-x11-xinput
--enable-video-x11-xrandr
--enable-video-x11-scrnsaver
--enable-video-x11-xshape
--enable-video-x11-vm
--disable-video-vivante
--disable-video-cocoa
--disable-render-metal
--disable-video-opengl
--disable-video-opengles
--disable-video-opengles2
--disable-video-vulkan
--disable-libudev
--disable-dbus
--disable-ime
--disable-ibus
--disable-fcitx
--disable-input-tslib
--enable-pthreads
--disable-pthread-sem
--disable-directx
--disable-sdl-dlopen
--disable-render-d3d
"