So currently I’m attempting to craft a snap for my project visualboyadvance-m
making use of wxwidgets gtk3 sdk stage snap, but in our code we also make use of polling gtk directly regarding wayland support so we include in our cmake the requirement for libgtk-3-dev.
trying to build what I have, cmake doesn’t seem to quite find gtk and I was wondering if someone could point me in the right direction.
name: visualboyadvance-m version: 2.1.4 summary: Nintendo Game Boy Advance Emulator description: | An open-source Nintendo Game Boy, Super Game Boy, Game Boy Advance Emulators. confinement: strict base: core18 plugs: desktop: desktop-legacy: home: removable-media: network: parts: wxwidgets-sdk: plugin: nil stage-snaps: - wxwidgets-sdk-gtk3 stage-packages: # Crash dialog support - binutils filesets: crash-dialog-support: - usr/bin/*addr2line library-shared: - '**/lib/**/*.so*' prime: - $crash-dialog-support - $library-shared vbam: after: - wxwidgets-sdk source: https://github.com/visualboyadvance-m/visualboyadvance-m/archive/v2.1.4.tar.gz plugin: cmake build-packages: - g++ - gcc - make - cmake - pkg-config - git - libsdl2-dev - libsfml-dev - libgtk-3-dev - libopenal-dev configflags: - -DENABLE_OPENAL=ON - -DENABLE_SDL=OFF apps: visualboyadvance-m: command: bin/visualboyadvance-m
I know there’s a lot more I need to get before it’s complete, but for now I just want to at least the building stage started.