mirror of
https://github.com/libretro/bsnes-libretro.git
synced 2024-11-23 17:09:44 +00:00
73b275a7d0
The GTK2 and GTK3 backends for hiro implement a source-code editing widget based on gtksourceview. gtksourceview2 in particular is quite old and unmaintained, and Linux distros are keen to drop it, so removing the dependency helps keep bsnes portable to future platforms -- especially since bsnes doesn't *use* the source-editing widget anywhere. It's only used by Near's text-editor, amethyst. We could just rip out the gtksourceview-related code and be done with it, but since Near is still around and still working on his own copy of hiro, I asked him to contribute his implementation so that it will be easier to merge any future changes too. This adds two new hiro targets, "gtk2-se" and "gtk3-se" which include the source-code editing widget and the gtksourceview dependency. Since bsnes defaults to "gtk2" (without the dependency) we no longer need that package installed to build bsnes. Fixes #137.
89 lines
2.7 KiB
YAML
89 lines
2.7 KiB
YAML
linux-x86_64-binaries_task:
|
|
container:
|
|
image: ubuntu:latest
|
|
|
|
setup_script:
|
|
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential libgtk2.0-dev libpulse-dev mesa-common-dev libcairo2-dev libsdl2-dev libxv-dev libao-dev libopenal-dev libudev-dev zip
|
|
|
|
compile_script:
|
|
- make -C bsnes local=false
|
|
|
|
package_script:
|
|
- mkdir bsnes-nightly
|
|
- mkdir bsnes-nightly/Database
|
|
- mkdir bsnes-nightly/Firmware
|
|
- cp -a bsnes/out/bsnes bsnes-nightly/bsnes
|
|
- cp -a bsnes/Database/* bsnes-nightly/Database
|
|
- cp -a shaders bsnes-nightly/Shaders
|
|
- cp -a GPLv3.txt bsnes-nightly
|
|
- cp -a extras/* bsnes-nightly
|
|
- zip -r bsnes-nightly.zip bsnes-nightly
|
|
|
|
bsnes-nightly_artifacts:
|
|
path: "bsnes-nightly.zip"
|
|
|
|
freebsd-x86_64-binaries_task:
|
|
freebsd_instance:
|
|
image_family: freebsd-12-2
|
|
|
|
setup_script:
|
|
- pkg install --yes gmake gdb gcc8 pkgconf sdl2 openal-soft gtk2 libXv zip
|
|
|
|
compile_script:
|
|
- gmake -C bsnes local=false
|
|
|
|
package_script:
|
|
- mkdir bsnes-nightly
|
|
- mkdir bsnes-nightly/Database
|
|
- mkdir bsnes-nightly/Firmware
|
|
- cp -a bsnes/out/bsnes bsnes-nightly/bsnes
|
|
- cp -a bsnes/Database/* bsnes-nightly/Database
|
|
- cp -a shaders bsnes-nightly/Shaders
|
|
- cp -a GPLv3.txt bsnes-nightly
|
|
- cp -a extras/* bsnes-nightly
|
|
- zip -r bsnes-nightly.zip bsnes-nightly
|
|
|
|
bsnes-nightly_artifacts:
|
|
path: "bsnes-nightly.zip"
|
|
|
|
windows-x86_64-binaries_task:
|
|
container:
|
|
image: ubuntu:latest
|
|
|
|
setup_script:
|
|
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential mingw-w64 zip
|
|
|
|
compile_script:
|
|
- make -C bsnes local=false platform=windows compiler="x86_64-w64-mingw32-g++" windres="x86_64-w64-mingw32-windres"
|
|
|
|
package_script:
|
|
- mkdir bsnes-nightly
|
|
- mkdir bsnes-nightly/Database
|
|
- mkdir bsnes-nightly/Firmware
|
|
- cp -a bsnes/out/bsnes.exe bsnes-nightly/bsnes.exe
|
|
- cp -a bsnes/Database/* bsnes-nightly/Database
|
|
- cp -a shaders bsnes-nightly/Shaders
|
|
- cp -a GPLv3.txt bsnes-nightly
|
|
- cp -a extras/* bsnes-nightly
|
|
- zip -r bsnes-nightly.zip bsnes-nightly
|
|
|
|
bsnes-nightly_artifacts:
|
|
path: "bsnes-nightly.zip"
|
|
|
|
macOS-x86_64-binaries_task:
|
|
osx_instance:
|
|
image: mojave-base
|
|
|
|
compile_script:
|
|
- make -C bsnes local=false
|
|
|
|
package_script:
|
|
- mkdir bsnes-nightly
|
|
- cp -a bsnes/out/bsnes.app bsnes-nightly
|
|
- cp -a GPLv3.txt bsnes-nightly
|
|
- cp -a extras/* bsnes-nightly
|
|
- zip -r bsnes-nightly.zip bsnes-nightly
|
|
|
|
bsnes-nightly_artifacts:
|
|
path: "bsnes-nightly.zip"
|