void-packages/srcpkgs/mgba/template
2019-04-26 12:29:02 +02:00

29 lines
823 B
Bash

# Template file for 'mgba'
pkgname=mgba
version=0.7.1
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=665fbae8bcfaf3e3f4b83267ce5800b00b98f4bacbb36fc412e3829020019cf4
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
}
}