2018-09-10 00:42:26 +02:00
|
|
|
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)"
|
2019-01-21 17:50:21 +01:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2019-05-17 00:18:48 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
2019-08-20 17:38:32 +02:00
|
|
|
TERMUX_PKG_VERSION=2.0.10
|
2019-11-18 02:42:37 +01:00
|
|
|
TERMUX_PKG_REVISION=4
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://www.libsdl.org/release/SDL2-${TERMUX_PKG_VERSION}.tar.gz
|
2019-08-20 17:38:32 +02:00
|
|
|
TERMUX_PKG_SHA256=b4656c13a1f0d0023ae2f4a9cf08ec92fffb464e0f24238337784159b8b91d57
|
2019-10-08 15:07:08 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libandroid-glob, libflac, libogg, libsndfile, libvorbis, libx11, libxau, libxcb, libxcursor, libxdmcp, libxext, libxfixes, libxi, libxinerama, libxrandr, libxrender, libxss, libxxf86vm, pulseaudio"
|
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="libsdl2"
|
|
|
|
TERMUX_PKG_REPLACES="libsdl2"
|
2018-09-10 00:42:26 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
"
|