void-packages/srcpkgs/mgba/template
2019-01-27 19:44:33 -02:00

29 lines
823 B
Bash

# Template file for 'mgba'
pkgname=mgba
version=0.7.0
revision=1
build_style=cmake
hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
makedepends="SDL2-devel ffmpeg-devel libedit-devel libepoxy-devel libmagick-devel
libzip-devel minizip-devel qt5-multimedia-devel qt5-tools-devel"
short_desc="Game Boy Advance emulator written in C"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="MPL-2.0"
homepage="https://www.mgba.io/"
distfiles="https://github.com/mgba-emu/${pkgname}/archive/${version}.tar.gz"
checksum=d4846db69a291b629d39c533635464ea4334c7410b16292401c5a4c58316ed83
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
}
}