void-packages/srcpkgs/mgba/template
2019-10-31 20:07:41 +01:00

29 lines
823 B
Bash

# Template file for 'mgba'
pkgname=mgba
version=0.7.3
revision=2
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="Orphaned <orphan@voidlinux.org>"
license="MPL-2.0"
homepage="https://www.mgba.io/"
distfiles="https://github.com/mgba-emu/${pkgname}/archive/${version}.tar.gz"
checksum=6d5e8ab6f87d3d9fa85af2543db838568dbdfcecd6797f8153f1b3a10b4a8bdd
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
}
}