Build bsnes with GTK+3 on Ubuntu and FreeBSD.

The latest version of Ubuntu no longer provides the GTK+2 libs that bsnes
requires.
This commit is contained in:
Tim Allen 2023-06-08 18:51:24 +10:00 committed by Screwtapello
parent 3f93cd4393
commit 2b7bc3b08e
3 changed files with 3 additions and 5 deletions

View File

@ -27,7 +27,7 @@ freebsd-x86_64-binaries_task:
image_family: freebsd-12-2
setup_script:
- pkg install --yes gmake gdb gcc8 pkgconf sdl2 openal-soft gtk2 libXv zip
- pkg install --yes gmake gdb gcc8 pkgconf sdl2 openal-soft gtk3 gtksourceview3 libXv zip
compile_script:
- gmake -C bsnes local=false

View File

@ -23,9 +23,7 @@ jobs:
if: matrix.os.name == 'ubuntu'
run: |
sudo apt-get update -y -qq
sudo apt-get install \
libgtk2.0-dev libpulse-dev mesa-common-dev libcairo2-dev \
libsdl2-dev libxv-dev libao-dev libopenal-dev libudev-dev
sudo apt-get install libsdl2-dev libgtk-3-dev gtksourceview-3.0 libao-dev libopenal-dev
- name: Make
run: make -j4 -C bsnes local=false
- name: Upload

View File

@ -32,7 +32,7 @@ endif
ifneq ($(filter $(platform),linux bsd),)
ifeq ($(hiro),)
hiro := gtk2
hiro := gtk3
endif
ifeq ($(hiro),gtk2)