[arch-commits] Commit in mgba/repos (6 files)
Jonathan Steel
jsteel at archlinux.org
Mon May 11 16:40:23 UTC 2015
Date: Monday, May 11, 2015 @ 18:40:22
Author: jsteel
Revision: 133236
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
mgba/repos/community-staging-i686/
mgba/repos/community-staging-i686/PKGBUILD
(from rev 133235, mgba/trunk/PKGBUILD)
mgba/repos/community-staging-i686/mgba.desktop
(from rev 133235, mgba/trunk/mgba.desktop)
mgba/repos/community-staging-x86_64/
mgba/repos/community-staging-x86_64/PKGBUILD
(from rev 133235, mgba/trunk/PKGBUILD)
mgba/repos/community-staging-x86_64/mgba.desktop
(from rev 133235, mgba/trunk/mgba.desktop)
---------------------------------------+
community-staging-i686/PKGBUILD | 65 ++++++++++++++++++++++++++++++++
community-staging-i686/mgba.desktop | 10 ++++
community-staging-x86_64/PKGBUILD | 65 ++++++++++++++++++++++++++++++++
community-staging-x86_64/mgba.desktop | 10 ++++
4 files changed, 150 insertions(+)
Copied: mgba/repos/community-staging-i686/PKGBUILD (from rev 133235, mgba/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-05-11 16:40:22 UTC (rev 133236)
@@ -0,0 +1,65 @@
+# $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.2.0
+pkgrel=2
+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')
+source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz
+ mgba.desktop)
+sha1sums=('96b92c016d4ceffc651ca7a99067782a81656ca7'
+ '0f6f43ed45b702f6571c254d4717fbc1fe15e845')
+
+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-staging-i686/mgba.desktop (from rev 133235, mgba/trunk/mgba.desktop)
===================================================================
--- community-staging-i686/mgba.desktop (rev 0)
+++ community-staging-i686/mgba.desktop 2015-05-11 16:40:22 UTC (rev 133236)
@@ -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
Copied: mgba/repos/community-staging-x86_64/PKGBUILD (from rev 133235, mgba/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-05-11 16:40:22 UTC (rev 133236)
@@ -0,0 +1,65 @@
+# $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.2.0
+pkgrel=2
+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')
+source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz
+ mgba.desktop)
+sha1sums=('96b92c016d4ceffc651ca7a99067782a81656ca7'
+ '0f6f43ed45b702f6571c254d4717fbc1fe15e845')
+
+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-staging-x86_64/mgba.desktop (from rev 133235, mgba/trunk/mgba.desktop)
===================================================================
--- community-staging-x86_64/mgba.desktop (rev 0)
+++ community-staging-x86_64/mgba.desktop 2015-05-11 16:40:22 UTC (rev 133236)
@@ -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
More information about the arch-commits
mailing list