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.

31 lines
879 B

import 'compile/configure'
name=SDL2
version=2.0.4
update_url='https://libsdl.org/download-2.0.php'
dlextract "https://libsdl.org/release/$name-$version.tar.gz" \
'44fc4a023349933e7f5d7a582f7b886e'
dlfile "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-libs/libsdl2/files/libsdl2-$version-static-libs.patch" \
'75b16a68afd2487421a815ec24871da0'
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: