2022-07-12 12:45:59 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
rm -rf /tmp/builddir2
|
|
|
|
|
|
|
|
LIBRARY_PATH="/usr/local/lib" \
|
|
|
|
PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" \
|
|
|
|
C_INCLUDE_PATH="/usr/local/include" \
|
|
|
|
CFLAGS="-I/usr/local/include -DWATT32_NO_NAMESPACE" \
|
2022-09-10 06:26:57 -04:00
|
|
|
CXXFLAGS="-I/usr/local/include -DWATT32_NO_NAMESPACE" \
|
2022-07-12 12:45:59 -04:00
|
|
|
LDFLAGS="-L/usr/local/lib" \
|
2023-07-24 09:54:30 -04:00
|
|
|
meson setup /tmp/builddir2 --cross-file cross/linux-djgpp.txt \
|
2022-07-12 12:45:59 -04:00
|
|
|
-D88-colors=false \
|
|
|
|
-D256-colors=false \
|
|
|
|
-Dbacktrace=false \
|
|
|
|
-Dbittorrent=false \
|
|
|
|
-Dbrotli=true \
|
2022-07-12 15:14:09 -04:00
|
|
|
-Dbzlib=true \
|
2022-07-12 12:45:59 -04:00
|
|
|
-Dcgi=false \
|
2022-07-12 15:26:07 -04:00
|
|
|
-Dcss=true \
|
2022-07-12 12:45:59 -04:00
|
|
|
-Dcombining=false \
|
|
|
|
-Ddgi=true \
|
2022-11-30 10:06:58 -05:00
|
|
|
-Dexmode=true \
|
2022-07-12 12:45:59 -04:00
|
|
|
-Dfastmem=true \
|
|
|
|
-Dfsp=false \
|
2023-07-24 09:54:30 -04:00
|
|
|
-Dfsp2=true \
|
2022-07-12 12:45:59 -04:00
|
|
|
-Dgemini=true \
|
|
|
|
-Dgettext=false \
|
|
|
|
-Dgnutls=false \
|
|
|
|
-Dgopher=true \
|
|
|
|
-Dgpm=false \
|
|
|
|
-Dguile=false \
|
|
|
|
-Didn=true \
|
|
|
|
-Dipv6=true \
|
2023-07-25 14:28:35 -04:00
|
|
|
-Dlibcss=true \
|
2023-07-24 09:54:30 -04:00
|
|
|
-Dlibcurl=false \
|
2022-07-12 12:45:59 -04:00
|
|
|
-Dlibev=false \
|
|
|
|
-Dlibevent=false \
|
2023-07-24 09:54:30 -04:00
|
|
|
-Dluapkg='lua' \
|
2022-07-12 12:45:59 -04:00
|
|
|
-Dlzma=true \
|
|
|
|
-Dmailcap=false \
|
|
|
|
-Dmouse=true \
|
|
|
|
-Dnls=true \
|
|
|
|
-Dnntp=true \
|
|
|
|
-Dopenssl=true \
|
|
|
|
-Dperl=false \
|
|
|
|
-Dprefix=$HOME \
|
|
|
|
-Dpython=false \
|
|
|
|
-Dquickjs=true \
|
|
|
|
-Druby=false \
|
|
|
|
-Dsm-scripting=false \
|
|
|
|
-Dspidermonkey=false \
|
|
|
|
-Dstatic=true \
|
|
|
|
-Dterminfo=false \
|
2022-11-30 10:06:58 -05:00
|
|
|
-Dtest=false \
|
2022-07-12 12:45:59 -04:00
|
|
|
-Dtre=false \
|
|
|
|
-Dtrue-color=false \
|
|
|
|
-Dutf-8=false \
|
|
|
|
-Dwithdebug=false \
|
|
|
|
-Dx=false \
|
2022-07-12 15:21:40 -04:00
|
|
|
-Dxbel=true \
|
2022-07-12 12:45:59 -04:00
|
|
|
-Dzlib=true \
|
|
|
|
-Dzstd=false \
|
|
|
|
|
|
|
|
meson compile -C /tmp/builddir2
|
2022-12-07 13:48:15 -05:00
|
|
|
|
|
|
|
i586-pc-msdosdjgpp-strip /tmp/builddir2/src/elinks.exe
|
|
|
|
|
|
|
|
upx /tmp/builddir2/src/elinks.exe
|