mirror of
				https://github.com/simon987/sist2.git
				synced 2025-10-31 16:06:53 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			49 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash
 | |
| cd lib
 | |
| 
 | |
| cd mupdf
 | |
| HAVE_X11=no HAVE_GLUT=no make -j 4
 | |
| cd ..
 | |
| 
 | |
| mv mupdf/build/release/libmupdf.a .
 | |
| mv mupdf/build/release/libmupdf-third.a .
 | |
| 
 | |
| # libpcre
 | |
| cd libpcre
 | |
| ./autogen.sh
 | |
| ./configure --disable-shared
 | |
| make -j 4
 | |
| cd ..
 | |
| 
 | |
| mv libpcre/.libs/libpcre.a .
 | |
| 
 | |
| # ffmpeg
 | |
| cd ffmpeg
 | |
| ./configure --disable-shared --enable-static --disable-ffmpeg --disable-ffplay \
 | |
|  --disable-ffprobe --disable-doc\
 | |
|  --disable-manpages --disable-postproc --disable-avfilter \
 | |
|  --disable-alsa --disable-lzma --disable-xlib --disable-debug\
 | |
|  --disable-vdpau --disable-vaapi --disable-sdl2 --disable-network
 | |
| make -j 4
 | |
| cd ..
 | |
| 
 | |
| mv ffmpeg/libavcodec/libavcodec.a .
 | |
| mv ffmpeg/libavformat/libavformat.a .
 | |
| mv ffmpeg/libavutil/libavutil.a .
 | |
| mv ffmpeg/libswresample/libswresample.a .
 | |
| mv ffmpeg/libswscale/libswscale.a .
 | |
| 
 | |
| # onion
 | |
| cd onion
 | |
| mkdir build 2> /dev/null
 | |
| cd build
 | |
| cmake -DONION_USE_SSL=false -DONION_USE_PAM=false -DONION_USE_PNG=false -DONION_USE_JPEG=false \
 | |
| -DONION_USE_JPEG=false -DONION_USE_XML2=false -DONION_USE_SYSTEMD=false -DONION_USE_SQLITE3=false \
 | |
| -DONION_USE_REDIS=false -DONION_USE_GC=false -DONION_USE_TESTS=false -DONION_EXAMPLES=false \
 | |
| -DONION_USE_BINDINGS_CPP=false ..
 | |
| make -j 4
 | |
| cd ../..
 | |
| 
 | |
| mv onion/build/src/onion/libonion_static.a .
 | |
| cd ..
 |