29 lines
822 B
Bash
29 lines
822 B
Bash
# Template file for 'mgba'
|
|
pkgname=mgba
|
|
version=0.6.3
|
|
revision=4
|
|
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.eu>"
|
|
license="MPL-2.0"
|
|
homepage="https://www.mgba.io/"
|
|
distfiles="https://github.com/mgba-emu/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=35c8906c01206adae714fee9c2bc39698c514a4adb32c9c4a5a3fa58b2d10f9a
|
|
|
|
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
|
|
}
|
|
}
|