Skip to content

Commit

Permalink
Build bsnes with GTK+3 on Ubuntu and FreeBSD.
Browse files Browse the repository at this point in the history
The latest version of Ubuntu no longer provides the GTK+2 libs that bsnes
requires.
  • Loading branch information
Screwtapello committed Nov 13, 2023
1 parent 3f93cd4 commit 2b7bc3b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion hiro/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ endif

ifneq ($(filter $(platform),linux bsd),)
ifeq ($(hiro),)
hiro := gtk2
hiro := gtk3
endif

ifeq ($(hiro),gtk2)
Expand Down

0 comments on commit 2b7bc3b

Please sign in to comment.