38 lines
815 B
Bash
Executable file
38 lines
815 B
Bash
Executable file
#!/bin/bash
|
|
git clone https://code.teampandory.com/thirdparty/vice/
|
|
|
|
#set -e
|
|
cd vice
|
|
git checkout main
|
|
|
|
export CFLAGS="-O3 -I$PREFIX/include $($PREFIX/bin/sdl2-config --cflags)"
|
|
export CXXFLAGS="-O3 -I$PREFIX/include $($PREFIX/bin/sdl2-config --cflags)"
|
|
export LDFLAGS="-L$PREFIX/lib $($PREFIX/bin/sdl2-config --libs) -liconv"
|
|
export PKG_CONFIG_LIBDIR="$PREFIX/lib/pkgconfig"
|
|
|
|
cd vice
|
|
make clean
|
|
|
|
./autogen.sh --host="$xHOST" --prefix="$PREFIX"
|
|
./configure \
|
|
--prefix="$PREFIX" \
|
|
--host="$xHOST" \
|
|
--enable-pdf-docs=no \
|
|
--without-pulse \
|
|
--without-alsa \
|
|
--disable-html-docs \
|
|
--enable-platformdox=no \
|
|
--with-fastsid \
|
|
--with-mpg123 \
|
|
--with-flac \
|
|
--with-vorbis \
|
|
--enable-catweasel \
|
|
--disable-ffmpeg \
|
|
--enable-sdl2ui \
|
|
--disable-sdl1ui \
|
|
;
|
|
|
|
# --enable-ffmpeg \
|
|
|
|
make -j$(nproc)
|
|
make install
|