25 lines
970 B
Bash
25 lines
970 B
Bash
# Template file for 'vbam'
|
|
pkgname=vba-m
|
|
reverts=1292_2
|
|
version=2.0.1
|
|
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 <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"
|
|
|
|
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
|
|
}
|