Add SDL2 32bit support
parent
a1c457c2d9
commit
4e937abf16
|
@ -27,8 +27,8 @@ modules:
|
||||||
builddir: true
|
builddir: true
|
||||||
buildsystem: cmake
|
buildsystem: cmake
|
||||||
config-opts:
|
config-opts:
|
||||||
- -DCMAKE_C_FLAGS=-m32 -I/usr/include/SDL2
|
- -DCMAKE_C_FLAGS=-m32
|
||||||
- -DCMAKE_CXX_FLAGS=-m32 -I/usr/include/SDL2
|
- -DCMAKE_CXX_FLAGS=-m32
|
||||||
- -DCMAKE_INSTALL_LIBDIR=lib32
|
- -DCMAKE_INSTALL_LIBDIR=lib32
|
||||||
build-options:
|
build-options:
|
||||||
make-install-args:
|
make-install-args:
|
||||||
|
@ -44,3 +44,33 @@ modules:
|
||||||
- "/include"
|
- "/include"
|
||||||
only-arches:
|
only-arches:
|
||||||
- x86_64
|
- x86_64
|
||||||
|
modules:
|
||||||
|
- name: sdl2-32bit
|
||||||
|
sources:
|
||||||
|
- type: archive
|
||||||
|
url: https://www.libsdl.org/release/SDL2-2.0.10.tar.gz
|
||||||
|
sha256: b4656c13a1f0d0023ae2f4a9cf08ec92fffb464e0f24238337784159b8b91d57
|
||||||
|
config-opts:
|
||||||
|
- --disable-alsa
|
||||||
|
- --disable-arts
|
||||||
|
- --disable-esd
|
||||||
|
- --disable-libudev
|
||||||
|
- --disable-nas
|
||||||
|
- --disable-oss
|
||||||
|
- --disable-rpath
|
||||||
|
- --disable-sndio
|
||||||
|
- --enable-sdl-dlopen
|
||||||
|
- --enable-video-wayland
|
||||||
|
- --enable-wayland-shared=no
|
||||||
|
- --libdir=/usr/lib32
|
||||||
|
- CFLAGS=-m32
|
||||||
|
- CXXFLAGS=-m32
|
||||||
|
- LDFLAGS=-m32
|
||||||
|
build-options:
|
||||||
|
make-install-args:
|
||||||
|
- DESTDIR=/usr/tmp_sdl2
|
||||||
|
- install
|
||||||
|
post-install:
|
||||||
|
- rm -rfv /usr/tmp_sdl2/usr/share /usr/tmp_sdl2/usr/bin /usr/tmp_sdl2/usr/include
|
||||||
|
- cp -rav /usr/tmp_sdl2/usr /
|
||||||
|
- rm -rfv /usr/tmp_sdl2
|
||||||
|
|
Loading…
Reference in New Issue