# Template file for 'vba-m' pkgname=vba-m reverts=1292_2 version=2.0.2 revision=1 _subversion=Beta-3 wrksrc="visualboyadvance-m-${_subversion}" build_style=cmake hostmakedepends="unzip pkg-config zip" makedepends="zlib-devel libpng-devel MesaLib-devel SDL2-devel libopenal-devel gtkmm2-devel gtkglext-devel gtkglextmm-devel ffmpeg-devel gtk+-devel SFML-devel wxWidgets-devel" short_desc="Gameboy Advance Emulator" maintainer="Andrea Brancaleoni " license="GPL-2" homepage="https://github.com/visualboyadvance-m/visualboyadvance-m/" distfiles="https://github.com/visualboyadvance-m/visualboyadvance-m/archive/${_subversion}.tar.gz" checksum=100176bdf31f27211876bac72a297e5545189aebf74c8fe7ddf5a943a39e79b0 configure_args="-DENABLE_GTK=TRUE -DENABLE_FFMPEG=TRUE -DENABLE_LINK=TRUE" nocross="executes binary 'bin2c' when building" pre_configure() { sed 's|Common/|common/|' -i src/gba/debugger-expr-yacc.cpp sed 's|wxrc|wxrc-3.0|g' -i src/wx/CMakeLists.txt sed 's|wxrc|wxrc-3.0|g' -i po/update_pot.sh }