Skip to content

Commit

Permalink
Use NO_PLAYPAUSE_WORKAROUND in compile_appimage.sh and compile_mac.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
smplayer-dev committed Jan 14, 2024
1 parent 45456dc commit 00e76c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compile_appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ echo Compiling web server
cd webserver && make
cd ..

SM_DEFINES="USE_SHM USE_GL_WINDOW"
SM_DEFINES="USE_SHM USE_GL_WINDOW NO_PLAYPAUSE_WORKAROUND"

if [ -n "$NO_MPLAYER" ]; then
SM_DEFINES="${SM_DEFINES} NO_MPLAYER"
Expand Down
2 changes: 1 addition & 1 deletion compile_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cd ../src

echo Compiling smplayer
lrelease smplayer.pro
qmake DEFINES+="USE_SMTUBE_LIB"
qmake DEFINES+="USE_SMTUBE_LIB NO_PLAYPAUSE_WORKAROUND"
make -j$(sysctl -n hw.logicalcpu)
cp ../smtube/translations/*.qm smplayer.app/Contents/Resources/translations/
cp ../webserver/simple_web_server smplayer.app/Contents/MacOS/
Expand Down

0 comments on commit 00e76c6

Please sign in to comment.