[arch-commits] Commit in mgba/repos (8 files)
Jonathan Steel
jsteel at archlinux.org
Sun Aug 23 10:03:54 UTC 2015
Date: Sunday, August 23, 2015 @ 12:03:53
Author: jsteel
Revision: 138673
archrelease: copy trunk to community-i686, community-x86_64
Added:
mgba/repos/community-i686/PKGBUILD
(from rev 138672, mgba/trunk/PKGBUILD)
mgba/repos/community-i686/mgba.desktop
(from rev 138672, mgba/trunk/mgba.desktop)
mgba/repos/community-i686/mgba.install
(from rev 138672, mgba/trunk/mgba.install)
mgba/repos/community-x86_64/PKGBUILD
(from rev 138672, mgba/trunk/PKGBUILD)
mgba/repos/community-x86_64/mgba.desktop
(from rev 138672, mgba/trunk/mgba.desktop)
mgba/repos/community-x86_64/mgba.install
(from rev 138672, mgba/trunk/mgba.install)
Deleted:
mgba/repos/community-i686/mgba.install
mgba/repos/community-x86_64/mgba.install
-------------------------------+
/mgba.install | 22 +++++++++++++
community-i686/PKGBUILD | 66 ++++++++++++++++++++++++++++++++++++++++
community-i686/mgba.desktop | 10 ++++++
community-i686/mgba.install | 11 ------
community-x86_64/PKGBUILD | 66 ++++++++++++++++++++++++++++++++++++++++
community-x86_64/mgba.desktop | 10 ++++++
community-x86_64/mgba.install | 11 ------
7 files changed, 174 insertions(+), 22 deletions(-)
Copied: mgba/repos/community-i686/PKGBUILD (from rev 138672, mgba/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-08-23 10:03:53 UTC (rev 138673)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Duck Hunt <vaporeon at tfwno.gf>
+
+pkgbase=mgba
+pkgname=('libmgba' 'mgba-sdl' 'mgba-qt')
+pkgver=0.3.0
+pkgrel=1
+arch=('i686' 'x86_64')
+url='https://endrift.com/mgba/'
+license=('custom:MPL2')
+makedepends=('cmake' 'qt5-multimedia' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit'
+ 'ffmpeg' 'imagemagick' 'desktop-file-utils')
+install=$pkgbase.install
+source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz
+ mgba.desktop)
+md5sums=('56caa5bf92d8549cb64b9e490d62bd42'
+ '8639165ead14363de45c0f9db3b7d97a')
+
+prepare() {
+ [[ ! -d build ]] && mkdir build || rm -rf build
+
+ cd mgba-$pkgver/res
+ convert mgba-1024.png -resize 256x256 mgba-256.png
+}
+
+build() {
+ cd build
+ cmake "$srcdir"/mgba-$pkgver -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package_libmgba() {
+ pkgdesc='Shared library of mGBA'
+ depends=('zlib' 'libpng' 'libzip' 'libedit' 'ffmpeg' 'imagemagick')
+
+ cmake -DCOMPONENT=libmgba mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+ -P build/cmake_install.cmake
+ install -Dm644 mgba-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_mgba-sdl() {
+ pkgdesc='A Nintendo Gameboy Advance Emulator focusing on both speed and accuracy'
+ depends=('libmgba' 'sdl2')
+
+ cmake -DCOMPONENT=mgba-sdl mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+ -P build/cmake_install.cmake
+
+ install -d "$pkgdir"/usr/share/licenses/$pkgname
+ ln -s /usr/share/licenses/libmgba/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_mgba-qt() {
+ pkgdesc='A Nintendo Gameboy Advance Emulator focusing on both speed and accuracy. Qt5 UI.'
+ depends=('libmgba' 'qt5-multimedia' 'sdl2')
+
+ cmake -DCOMPONENT=mgba-qt mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+ -P build/cmake_install.cmake
+
+ desktop-file-install mgba.desktop --dir "$pkgdir"/usr/share/applications/
+ install -Dm644 mgba-$pkgver/res/mgba-256.png "$pkgdir"/usr/share/pixmaps/mgba.png
+
+ install -d "$pkgdir"/usr/share/licenses/$pkgname
+ ln -s /usr/share/licenses/libmgba/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
Copied: mgba/repos/community-i686/mgba.desktop (from rev 138672, mgba/trunk/mgba.desktop)
===================================================================
--- community-i686/mgba.desktop (rev 0)
+++ community-i686/mgba.desktop 2015-08-23 10:03:53 UTC (rev 138673)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=mGBA
+Comment=mGBA Game Boy Advance Emulator
+Icon=mgba.png
+Exec=mgba-qt
+Categories=Game;Emulator;
+Terminal=false
+StartupNotify=false
Deleted: community-i686/mgba.install
===================================================================
--- community-i686/mgba.install 2015-08-23 10:01:53 UTC (rev 138672)
+++ community-i686/mgba.install 2015-08-23 10:03:53 UTC (rev 138673)
@@ -1,11 +0,0 @@
-post_install() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
Copied: mgba/repos/community-i686/mgba.install (from rev 138672, mgba/trunk/mgba.install)
===================================================================
--- community-i686/mgba.install (rev 0)
+++ community-i686/mgba.install 2015-08-23 10:03:53 UTC (rev 138673)
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: mgba/repos/community-x86_64/PKGBUILD (from rev 138672, mgba/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-08-23 10:03:53 UTC (rev 138673)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Duck Hunt <vaporeon at tfwno.gf>
+
+pkgbase=mgba
+pkgname=('libmgba' 'mgba-sdl' 'mgba-qt')
+pkgver=0.3.0
+pkgrel=1
+arch=('i686' 'x86_64')
+url='https://endrift.com/mgba/'
+license=('custom:MPL2')
+makedepends=('cmake' 'qt5-multimedia' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit'
+ 'ffmpeg' 'imagemagick' 'desktop-file-utils')
+install=$pkgbase.install
+source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz
+ mgba.desktop)
+md5sums=('56caa5bf92d8549cb64b9e490d62bd42'
+ '8639165ead14363de45c0f9db3b7d97a')
+
+prepare() {
+ [[ ! -d build ]] && mkdir build || rm -rf build
+
+ cd mgba-$pkgver/res
+ convert mgba-1024.png -resize 256x256 mgba-256.png
+}
+
+build() {
+ cd build
+ cmake "$srcdir"/mgba-$pkgver -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package_libmgba() {
+ pkgdesc='Shared library of mGBA'
+ depends=('zlib' 'libpng' 'libzip' 'libedit' 'ffmpeg' 'imagemagick')
+
+ cmake -DCOMPONENT=libmgba mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+ -P build/cmake_install.cmake
+ install -Dm644 mgba-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_mgba-sdl() {
+ pkgdesc='A Nintendo Gameboy Advance Emulator focusing on both speed and accuracy'
+ depends=('libmgba' 'sdl2')
+
+ cmake -DCOMPONENT=mgba-sdl mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+ -P build/cmake_install.cmake
+
+ install -d "$pkgdir"/usr/share/licenses/$pkgname
+ ln -s /usr/share/licenses/libmgba/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_mgba-qt() {
+ pkgdesc='A Nintendo Gameboy Advance Emulator focusing on both speed and accuracy. Qt5 UI.'
+ depends=('libmgba' 'qt5-multimedia' 'sdl2')
+
+ cmake -DCOMPONENT=mgba-qt mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+ -P build/cmake_install.cmake
+
+ desktop-file-install mgba.desktop --dir "$pkgdir"/usr/share/applications/
+ install -Dm644 mgba-$pkgver/res/mgba-256.png "$pkgdir"/usr/share/pixmaps/mgba.png
+
+ install -d "$pkgdir"/usr/share/licenses/$pkgname
+ ln -s /usr/share/licenses/libmgba/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
Copied: mgba/repos/community-x86_64/mgba.desktop (from rev 138672, mgba/trunk/mgba.desktop)
===================================================================
--- community-x86_64/mgba.desktop (rev 0)
+++ community-x86_64/mgba.desktop 2015-08-23 10:03:53 UTC (rev 138673)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=mGBA
+Comment=mGBA Game Boy Advance Emulator
+Icon=mgba.png
+Exec=mgba-qt
+Categories=Game;Emulator;
+Terminal=false
+StartupNotify=false
Deleted: community-x86_64/mgba.install
===================================================================
--- community-x86_64/mgba.install 2015-08-23 10:01:53 UTC (rev 138672)
+++ community-x86_64/mgba.install 2015-08-23 10:03:53 UTC (rev 138673)
@@ -1,11 +0,0 @@
-post_install() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
Copied: mgba/repos/community-x86_64/mgba.install (from rev 138672, mgba/trunk/mgba.install)
===================================================================
--- community-x86_64/mgba.install (rev 0)
+++ community-x86_64/mgba.install 2015-08-23 10:03:53 UTC (rev 138673)
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list