Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

30 lines
879 B

import 'compile/configure'
name=SDL2
version=2.0.5
update_url='https://libsdl.org/download-2.0.php'
dlextract "https://libsdl.org/release/$name-$version.tar.gz" \
'd4055424d556b4a908aa76fad63abd3c'
dlfile "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-libs/libsdl2/files/libsdl2-$version-static-libs.patch" \
'56001d3a5aa182b28db3cb7d477dc61d'
header_end
cd "$name-$version"
patch -p1 -i ../libsdl2-$version-static-libs.patch
./autogen.sh
compile_configure -- --disable-static \
--disable-alsa-shared \
--disable-esd-shared \
--disable-pulseaudio-shared \
--disable-arts-shared \
--disable-nas-shared \
--disable-sndio-shared \
--disable-wayland-shared \
--disable-mir-shared \
--disable-x11-shared \
--disable-directfb-shared \
--disable-fusionsound-shared
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: