Added code to linux build script to also build GTK3/SDL2 version of fceux GUI in addition to the QT5/SDL2 version. Only the Linux pipeline will attempt to build and package both the GTK and QT GUIs. The MacOSX will only build and pacakge QT version.

This commit is contained in:
mjbudd77 2020-08-07 13:40:28 -04:00
parent d582615d76
commit b13eaaccd0
2 changed files with 16 additions and 4 deletions

View File

@ -10,7 +10,9 @@ my $PKG_OUTPUT_FILE="fceux-$VERSION-$ARCH.deb";
# Start by auto figuring out dependencies of the executable. # Start by auto figuring out dependencies of the executable.
# the rest of the package creation is trival. # the rest of the package creation is trival.
my $SO_LIST=`objdump -x $INSTALL_PREFIX/usr/bin/fceux`; my $SO_LIST="";
$SO_LIST+=`objdump -x $INSTALL_PREFIX/usr/bin/fceux`;
$SO_LIST+=`objdump -x $INSTALL_PREFIX/usr/bin/fceux-gtk`;
#print "$SO_LIST"; #print "$SO_LIST";

View File

@ -92,8 +92,7 @@ mkdir -p $INSTALL_PREFIX/usr;
#scons --clean #scons --clean
#scons GTK3=1 SYSTEM_LUA=1 SYSTEM_MINIZIP=1 CREATE_AVI=1 install --prefix=$INSTALL_PREFIX/usr #scons GTK3=1 SYSTEM_LUA=1 SYSTEM_MINIZIP=1 CREATE_AVI=1 install --prefix=$INSTALL_PREFIX/usr
echo "Num CPU: `nproc`"; echo "Num CPU: `nproc`";
mkdir build; cd build; mkdir buildQT; cd buildQT;
#qmake PREFIX=$INSTALL_PREFIX/usr ..
cmake \ cmake \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX/usr \ -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX/usr \
@ -102,6 +101,17 @@ cmake \
make -j `nproc` make -j `nproc`
make install make install
cd ..;
mkdir buildGTK; cd buildGTK;
cmake \
-DGTK=1 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX/usr \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
..
make -j `nproc`
make install
# Install Files # Install Files
#cd .. # cd out of build #cd .. # cd out of build
#mkdir -p $INSTALL_PREFIX/usr/bin/. #mkdir -p $INSTALL_PREFIX/usr/bin/.