2016-01-10 10:34:37 +00:00
|
|
|
# Template file for 'mgba'
|
|
|
|
pkgname=mgba
|
2016-10-07 04:57:18 +00:00
|
|
|
version=0.5.1
|
|
|
|
revision=1
|
2016-01-10 10:34:37 +00:00
|
|
|
build_style=cmake
|
2016-07-17 05:18:09 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2016-09-22 04:41:50 +00:00
|
|
|
makedepends="libepoxy-devel ffmpeg-devel SDL2-devel MesaLib-devel zlib-devel
|
|
|
|
libpng-devel libzip-devel libedit-devel libmagick-devel libzip-devel
|
2016-09-22 04:52:54 +00:00
|
|
|
minizip-devel"
|
2016-01-10 10:34:37 +00:00
|
|
|
short_desc="Game Boy Advance emulator written in C"
|
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
|
|
license="MPL-2"
|
2016-10-07 04:57:18 +00:00
|
|
|
homepage="https://www.mgba.io/"
|
2016-01-10 10:34:37 +00:00
|
|
|
distfiles="https://github.com/mgba-emu/${pkgname}/archive/${version}.tar.gz"
|
2016-10-07 04:57:18 +00:00
|
|
|
checksum=d2173fbe69065ae1bd0abb323dcc3459d73c48ddc3d6934ef216cc50d1a0835d
|
2016-01-10 10:34:37 +00:00
|
|
|
|
2016-09-22 04:52:54 +00:00
|
|
|
subpackages="libmgba"
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
makedepends+=" qt5-multimedia-devel"
|
|
|
|
subpackages+=" mgba-qt"
|
|
|
|
fi
|
|
|
|
|
2016-01-10 10:34:37 +00:00
|
|
|
libmgba_package() {
|
|
|
|
short_desc+=" - shared library"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/libmgba.so*
|
|
|
|
}
|
|
|
|
}
|
|
|
|
mgba-qt_package() {
|
|
|
|
short_desc+=" - QT frontend"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/mgba-qt
|
|
|
|
vmove usr/share/man/man6/mgba-qt.6
|
|
|
|
}
|
|
|
|
}
|