From f73d2df928e5cdda08a3f1ba3c4c8989a13fc693 Mon Sep 17 00:00:00 2001 From: bra1nwave Date: Fri, 21 Feb 2020 10:08:28 +0100 Subject: [PATCH] mgba: update to 0.8.1. - adopt package --- common/shlibs | 2 +- srcpkgs/libmgba-devel | 1 + srcpkgs/mgba/template | 24 ++++++++++++++++++------ 3 files changed, 20 insertions(+), 7 deletions(-) create mode 120000 srcpkgs/libmgba-devel diff --git a/common/shlibs b/common/shlibs index 913cf24afa..4226a57f4a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2424,7 +2424,7 @@ libfirm.so.1.22 libfirm-1.22.0_1 libaudiofile.so.1 audiofile-0.3.6_1 libbs2b.so.0 libbs2b-3.1.0_1 libmunge.so.2 munge-libs-0.5.11_1 -libmgba.so.0.7 libmgba-0.7.0_1 +libmgba.so.0.8 libmgba-0.8.1_1 libglabels-3.0.so.8 libglabels30-3.2.1_1 libglbarcode-3.0.so.0 libglabels30-3.2.1_1 libjim.so.0.79 jimtcl-0.79_1 diff --git a/srcpkgs/libmgba-devel b/srcpkgs/libmgba-devel new file mode 120000 index 0000000000..f28581f3b3 --- /dev/null +++ b/srcpkgs/libmgba-devel @@ -0,0 +1 @@ +mgba \ No newline at end of file diff --git a/srcpkgs/mgba/template b/srcpkgs/mgba/template index d2301af0b6..9b0d7fe566 100644 --- a/srcpkgs/mgba/template +++ b/srcpkgs/mgba/template @@ -1,29 +1,41 @@ # Template file for 'mgba' pkgname=mgba -version=0.7.3 -revision=2 +version=0.8.1 +revision=1 build_style=cmake -hostmakedepends="pkg-config qt5-host-tools qt5-qmake" +hostmakedepends="pkg-config qt5-host-tools qt5-qmake desktop-file-utils" 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 " +maintainer="bra1nwave " license="MPL-2.0" homepage="https://www.mgba.io/" distfiles="https://github.com/mgba-emu/${pkgname}/archive/${version}.tar.gz" -checksum=6d5e8ab6f87d3d9fa85af2543db838568dbdfcecd6797f8153f1b3a10b4a8bdd +checksum=df136ea50c9cca380ab93e00fd8d87811e41a49a804c5b0e018babef0c490f13 libmgba_package() { short_desc+=" - shared library" pkg_install() { - vmove "usr/lib/libmgba.so*" + vmove "usr/lib/*.so.*" + } +} + +libmgba-devel_package() { + short_desc+=" - development files" + depends="libmgba>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.so" } } mgba-qt_package() { short_desc+=" - QT frontend" + depends="desktop-file-utils hicolor-icon-theme" pkg_install() { vmove usr/bin/mgba-qt vmove usr/share/man/man6/mgba-qt.6 + vmove usr/share/applications/mgba-qt.desktop + vmove usr/share/icons } }