Skip to content

Commit

Permalink
Update build-rgba.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
time-killer-games committed Apr 7, 2024
1 parent 4f51ad2 commit b7e1e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-rgba.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cd "src"

if [ $(uname) = "Darwin" ]; then
git clone https://github.com/time-killer-games/libwebm ~/webm;cmake ~/webm -DCMAKE_BUILD_TYPE=release;make
clang++ audio_decoder.cpp frame_buffer.cpp lodepng.cpp timer.cpp file_reader.cpp libwebmplayer.cpp gamemaker.cpp packet.cpp utils.cpp frame.cpp player.cpp video_player.cpp webm_player.cpp libwebm.a /opt/local/lib/libogg.a /opt/local/lib/libvorbis.a /opt/local/lib/libvorbisenc.a /opt/local/lib/libvorbisfile.a /opt/local/lib/libvpx.a /opt/local/lib/libz.a /opt/local/lib/libSDL2.a -I$HOME/ -I$HOME/webm -I../include/ -o ../libWebMPlayer.dylib -std=c++17 -shared -I/opt/local/include -lm -liconv -Wl,-framework,CoreAudio -Wl,-framework,AudioToolbox -Wl,-weak_framework,CoreHaptics -Wl,-weak_framework,GameController -Wl,-framework,ForceFeedback -lobjc -Wl,-framework,CoreVideo -Wl,-framework,Cocoa -Wl,-framework,Carbon -Wl,-framework,IOKit -Wl,-weak_framework,QuartzCore -Wl,-weak_framework,Metal -Wno-narrowing -arch arm64 -arch x86_64 -fPIC
clang++ audio_decoder.cpp frame_buffer.cpp lodepng.cpp timer.cpp file_reader.cpp libwebmplayer.cpp gamemaker.cpp packet.cpp utils.cpp frame.cpp player.cpp video_player.cpp webm_player.cpp libwebm.a /opt/local/lib/libogg.a /opt/local/lib/libvorbis.a /opt/local/lib/libvorbisenc.a /opt/local/lib/libvorbisfile.a /opt/local/lib/libvpx.a /opt/local/lib/libz.a /opt/local/lib/libiconv.a /opt/local/lib/libSDL2.a -I$HOME/ -I$HOME/webm -I../include/ -o ../libWebMPlayer.dylib -std=c++17 -shared -I/opt/local/include -lm -Wl,-framework,CoreAudio -Wl,-framework,AudioToolbox -Wl,-weak_framework,CoreHaptics -Wl,-weak_framework,GameController -Wl,-framework,ForceFeedback -lobjc -Wl,-framework,CoreVideo -Wl,-framework,Cocoa -Wl,-framework,Carbon -Wl,-framework,IOKit -Wl,-weak_framework,QuartzCore -Wl,-weak_framework,Metal -Wno-narrowing -arch arm64 -arch x86_64 -fPIC
elif [ $(uname) = "Linux" ]; then
git clone https://github.com/time-killer-games/libwebm ~/webm;cmake ~/webm -DCMAKE_BUILD_TYPE=release;make
g++ audio_decoder.cpp frame_buffer.cpp lodepng.cpp timer.cpp yuv_rgb.cpp file_reader.cpp libwebmplayer.cpp gamemaker.cpp packet.cpp utils.cpp frame.cpp player.cpp video_player.cpp webm_player.cpp libwebm.a -I$HOME/ -I$HOME/webm -I../include/ -o ../libWebMPlayer.so -std=c++17 -shared -static-libgcc -static-libstdc++ -lpthread -lvorbis -logg -lvpx `pkg-config --cflags --libs sdl2 --static` -Wno-narrowing -fPIC
Expand Down

0 comments on commit b7e1e52

Please sign in to comment.