void-packages/srcpkgs/vba-m/template
Helmut Pozimski 8046724b80 vba-m: rebuild for gcc stdc++ dropping gcc4 compat
Closes: #1095 [via git-merge-pr]
2018-07-24 17:51:59 +02:00

25 lines
1,019 B
Bash

# Template file for 'vba-m'
pkgname=vba-m
reverts=1292_2
version=2.1.0
revision=2
_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 <abc@pompel.me>"
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
}