1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-03 08:07:17 -05:00
elinks/docker/djgpp/mes_djgpp_js.sh

90 lines
1.7 KiB
Bash
Raw Normal View History

#!/bin/sh
rm -rf /tmp/builddir2
2023-11-15 12:05:20 -05:00
cd $HOME/elinks
LIBRARY_PATH="$HOME/lib" \
PKG_CONFIG_PATH="$HOME/lib/pkgconfig" \
C_INCLUDE_PATH="$HOME/include" \
CFLAGS="-O2 -I$HOME/include -DWATT32_NO_NAMESPACE -DWATT32_NO_OLDIES" \
CXXFLAGS="-O2 -I$HOME/include -DWATT32_NO_NAMESPACE -DWATT32_NO_OLDIES" \
LDFLAGS="-lm -L$HOME/lib" \
meson setup /tmp/builddir2 --cross-file cross/linux-djgpp.txt \
-D88-colors=false \
-D256-colors=false \
2023-11-15 12:05:20 -05:00
-Dapidoc=false \
-Dbacktrace=false \
-Dbittorrent=false \
2023-11-15 12:05:20 -05:00
-Dbrotli=false \
-Dbzlib=false \
-Dcgi=false \
2022-07-12 15:26:07 -04:00
-Dcss=true \
-Dcombining=false \
-Ddgi=true \
-Ddoc=false \
2022-11-30 10:06:58 -05:00
-Dexmode=true \
-Dfastmem=true \
-Dfsp=false \
-Dfsp2=true \
-Dgemini=true \
-Dgettext=false \
-Dgnutls=false \
-Dgopher=true \
-Dgpm=false \
-Dguile=false \
2023-11-15 12:05:20 -05:00
-Dhtmldoc=false \
-Didn=false \
-Dipv6=true \
-Dlibcss=true \
2023-11-15 12:05:20 -05:00
-Dlibcurl=true \
-Dlibev=false \
-Dlibevent=false \
-Dluapkg='lua' \
2023-11-15 12:05:20 -05:00
-Dlzma=false \
-Dmailcap=false \
-Dmouse=true \
2023-11-15 12:05:20 -05:00
-Dmujs=false \
-Dnls=true \
-Dnntp=true \
-Dopenssl=true \
2023-11-15 12:05:20 -05:00
-Dpdfdoc=false \
-Dperl=false \
-Dprefix=$HOME \
-Dpython=false \
2023-11-15 12:05:20 -05:00
-Dquickjs=true \
-Druby=false \
-Dsm-scripting=false \
-Dspidermonkey=false \
-Dstatic=true \
-Dterminfo=false \
2022-11-30 10:06:58 -05:00
-Dtest=false \
-Dtre=false \
-Dtrue-color=false \
-Dutf-8=false \
-Dwithdebug=false \
-Dx=false \
2022-07-12 15:21:40 -04:00
-Dxbel=true \
-Dzlib=true \
2023-11-15 12:05:20 -05:00
-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
2023-11-15 12:05:20 -05:00
# prepare zip
rm -rf $HOME/ELINKS
mkdir -p $HOME/ELINKS/src
mkdir -p $HOME/ELINKS/po
install /tmp/builddir2/src/elinks.exe $HOME/ELINKS/src/elinks.exe
cd /tmp/builddir2/po
for i in *; do cp -v $i/LC_MESSAGES/elinks.mo $HOME/ELINKS/po/$i.gmo; done
cd -
2023-11-15 12:05:20 -05:00
#cp -a /tmp/builddir2/src/elinks.exe ~/.dosemu/drive_c/ELINKS/src/