[arch-commits] Commit in mgba/repos (8 files)
Date: Sunday, December 6, 2015 @ 17:22:39 Author: foutrelis Revision: 148865 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 148864, mgba/trunk/PKGBUILD) mgba/repos/community-staging-i686/mgba.desktop (from rev 148864, mgba/trunk/mgba.desktop) mgba/repos/community-staging-i686/mgba.install (from rev 148864, mgba/trunk/mgba.install) mgba/repos/community-staging-x86_64/ mgba/repos/community-staging-x86_64/PKGBUILD (from rev 148864, mgba/trunk/PKGBUILD) mgba/repos/community-staging-x86_64/mgba.desktop (from rev 148864, mgba/trunk/mgba.desktop) mgba/repos/community-staging-x86_64/mgba.install (from rev 148864, mgba/trunk/mgba.install) ---+ community-staging-i686/PKGBUILD | 66 community-staging-i686/mgba.desktop | 10 community-staging-i686/mgba.install | 11 + community-staging-x86_64/PKGBUILD | 66 community-staging-x86_64/mgba.desktop | 10 community-staging-x86_64/mgba.install | 11 + 6 files changed, 174 insertions(+) Copied: mgba/repos/community-staging-i686/PKGBUILD (from rev 148864, mgba/trunk/PKGBUILD) === --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-06 16:22:39 UTC (rev 148865) @@ -0,0 +1,66 @@ +# $Id$ +# Maintainer: Jonathan Steel +# Contributor: Bartłomiej Piotrowski+# Contributor: Duck Hunt + +pkgbase=mgba +pkgname=('libmgba' 'mgba-sdl' 'mgba-qt') +pkgver=0.3.1 +pkgrel=2 +arch=('i686' 'x86_64') +url='http://mgba.io' +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=('870f516bd5433f01fec4fa4c26079e0f' + '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-staging-i686/mgba.desktop (from rev 148864, mgba/trunk/mgba.desktop) === --- community-staging-i686/mgba.desktop (rev 0) +++ community-staging-i686/mgba.desktop 2015-12-06 16:22:39 UTC (rev 148865) @@ -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-i686/mgba.install (from rev 148864, mgba/trunk/mgba.install) === --- community-staging-i686/mgba.install (rev 0) +++ community-staging-i686/mgba.install 2015-12-06 16:22:39 UTC (rev 148865) @@ -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-staging-x86_64/PKGBUILD (from rev 148864, mgba/trunk/PKGBUILD)
[arch-commits] Commit in mgba/repos (8 files)
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 bpiotrow...@archlinux.org +# Contributor: Duck Hunt vapor...@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
[arch-commits] Commit in mgba/repos (8 files)
Date: Sunday, May 17, 2015 @ 09:42:52 Author: jsteel Revision: 133639 archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: mgba/repos/community-testing-i686/PKGBUILD (from rev 133638, mgba/trunk/PKGBUILD) mgba/repos/community-testing-i686/mgba.desktop (from rev 133638, mgba/trunk/mgba.desktop) mgba/repos/community-testing-x86_64/PKGBUILD (from rev 133638, mgba/trunk/PKGBUILD) mgba/repos/community-testing-x86_64/mgba.desktop (from rev 133638, mgba/trunk/mgba.desktop) Deleted: mgba/repos/community-testing-i686/PKGBUILD mgba/repos/community-testing-i686/mgba.desktop mgba/repos/community-testing-x86_64/PKGBUILD mgba/repos/community-testing-x86_64/mgba.desktop ---+ /PKGBUILD | 130 /mgba.desktop | 20 community-testing-i686/PKGBUILD | 65 community-testing-i686/mgba.desktop | 10 -- community-testing-x86_64/PKGBUILD | 65 community-testing-x86_64/mgba.desktop | 10 -- 6 files changed, 150 insertions(+), 150 deletions(-) Deleted: community-testing-i686/PKGBUILD === --- community-testing-i686/PKGBUILD 2015-05-17 07:42:32 UTC (rev 133638) +++ community-testing-i686/PKGBUILD 2015-05-17 07:42:52 UTC (rev 133639) @@ -1,65 +0,0 @@ -# $Id$ -# Maintainer: Jonathan Steel jsteel at archlinux.org -# Contributor: Bartłomiej Piotrowski bpiotrow...@archlinux.org -# Contributor: Duck Hunt vapor...@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-testing-i686/PKGBUILD (from rev 133638, mgba/trunk/PKGBUILD) === --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-05-17 07:42:52 UTC (rev 133639) @@ -0,0 +1,65 @@ +# $Id$ +# Maintainer: Jonathan Steel jsteel at archlinux.org +# Contributor: Bartłomiej Piotrowski bpiotrow...@archlinux.org +# Contributor: Duck Hunt vapor...@tfwno.gf + +pkgbase=mgba +pkgname=('libmgba' 'mgba-sdl' 'mgba-qt') +pkgver=0.2.1 +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') +source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz +mgba.desktop) +sha1sums=('0fa2485ca961c21316a5989b628de38222a4099b' + '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 +} +
[arch-commits] Commit in mgba/repos (8 files)
Date: Thursday, April 9, 2015 @ 20:01:15 Author: jsteel Revision: 131039 archrelease: copy trunk to community-i686, community-x86_64 Added: mgba/repos/community-i686/PKGBUILD (from rev 131038, mgba/trunk/PKGBUILD) mgba/repos/community-i686/mgba.desktop (from rev 131038, mgba/trunk/mgba.desktop) mgba/repos/community-x86_64/PKGBUILD (from rev 131038, mgba/trunk/PKGBUILD) mgba/repos/community-x86_64/mgba.desktop (from rev 131038, mgba/trunk/mgba.desktop) Deleted: mgba/repos/community-i686/PKGBUILD mgba/repos/community-i686/mgba.desktop mgba/repos/community-x86_64/PKGBUILD mgba/repos/community-x86_64/mgba.desktop ---+ /PKGBUILD | 130 /mgba.desktop | 20 ++ community-i686/PKGBUILD | 64 --- community-i686/mgba.desktop | 10 --- community-x86_64/PKGBUILD | 64 --- community-x86_64/mgba.desktop | 10 --- 6 files changed, 150 insertions(+), 148 deletions(-) Deleted: community-i686/PKGBUILD === --- community-i686/PKGBUILD 2015-04-09 18:00:56 UTC (rev 131038) +++ community-i686/PKGBUILD 2015-04-09 18:01:15 UTC (rev 131039) @@ -1,64 +0,0 @@ -# $Id$ -# Maintainer: Bartłomiej Piotrowski bpiotrow...@archlinux.org -# Contributor: Duck Hunt vapor...@tfwno.gf - -pkgbase=mgba -pkgname=('libmgba' 'mgba-sdl' 'mgba-qt') -pkgver=0.1.1 -pkgrel=1 -arch=('i686' 'x86_64') -url='https://endrift.com/mgba/' -license=('custom:MPL2') -makedepends=('cmake' 'qt5-base' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit' - 'ffmpeg' 'imagemagick' 'desktop-file-utils') -source=(https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz -mgba.desktop) -sha1sums=('8ea1c347bb609690e5c0dc1d21aaf3b97241d903' - '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-base' '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/PKGBUILD (from rev 131038, mgba/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-04-09 18:01:15 UTC (rev 131039) @@ -0,0 +1,65 @@ +# $Id$ +# Maintainer: Jonathan Steel jsteel at archlinux.org +# Contributor: Bartłomiej Piotrowski bpiotrow...@archlinux.org +# Contributor: Duck Hunt vapor...@tfwno.gf + +pkgbase=mgba +pkgname=('libmgba' 'mgba-sdl' 'mgba-qt') +pkgver=0.2.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') +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
[arch-commits] Commit in mgba/repos (8 files)
Date: Saturday, January 3, 2015 @ 10:43:22 Author: bpiotrowski Revision: 125203 archrelease: copy trunk to community-i686, community-x86_64 Added: mgba/repos/community-i686/ mgba/repos/community-i686/PKGBUILD (from rev 125202, mgba/trunk/PKGBUILD) mgba/repos/community-i686/component.patch (from rev 125202, mgba/trunk/component.patch) mgba/repos/community-i686/mgba.desktop (from rev 125202, mgba/trunk/mgba.desktop) mgba/repos/community-x86_64/ mgba/repos/community-x86_64/PKGBUILD (from rev 125202, mgba/trunk/PKGBUILD) mgba/repos/community-x86_64/component.patch (from rev 125202, mgba/trunk/component.patch) mgba/repos/community-x86_64/mgba.desktop (from rev 125202, mgba/trunk/mgba.desktop) --+ community-i686/PKGBUILD | 67 + community-i686/component.patch | 58 community-i686/mgba.desktop | 10 + community-x86_64/PKGBUILD| 67 + community-x86_64/component.patch | 58 community-x86_64/mgba.desktop| 10 + 6 files changed, 270 insertions(+) Copied: mgba/repos/community-i686/PKGBUILD (from rev 125202, mgba/trunk/PKGBUILD) === --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-01-03 09:43:22 UTC (rev 125203) @@ -0,0 +1,67 @@ +# $Id$ +# Maintainer: Bartłomiej Piotrowski bpiotrow...@archlinux.org +# Contributor: Duck Hunt vapor...@tfwno.gf + +pkgbase=mgba +pkgname=('libmgba' 'mgba-sdl' 'mgba-qt') +pkgver=0.1.0 +pkgrel=5 +pkgdesc='A Nintendo Gameboy Advance Emulator focusing on both speed and accuracy' +arch=('i686' 'x86_64') +url=https://endrift.com/mgba/; +license=('custom:MPL2') +makedepends=('cmake' 'qt5-base' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit' + 'ffmpeg' 'imagemagick' 'desktop-file-utils') +source=(https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz +mgba.desktop +component.patch) +sha1sums=('a3cefcc31453904a01c5d537b49ed6a62cf6a474' + '0f6f43ed45b702f6571c254d4717fbc1fe15e845' + 'a58b27e29f2ffe023859ebfbd0d007c822f79073') + +prepare() { + [[ ! -d build ]] mkdir build || rm -rf build + + cd mgba-$pkgver + patch -p1 -i ../component.patch + + cd res + convert mgba-1024.png -resize 256x256 mgba-256.png +} + +build() { + cd build + cmake $srcdir/mgba-$pkgver -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package_libmgba() { + 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() { + 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() { + depends=('libmgba' 'qt5-base' '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/component.patch (from rev 125202, mgba/trunk/component.patch) === --- community-i686/component.patch (rev 0) +++ community-i686/component.patch 2015-01-03 09:43:22 UTC (rev 125203) @@ -0,0 +1,58 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 141d0b3..f082190 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -207,7 +207,7 @@ add_library(${BINARY_NAME} SHARED + ${OS_SRC} + ${THIRD_PARTY_SRC}) + target_link_libraries(${BINARY_NAME} m ${DEBUGGER_LIB} ${OS_LIB} ${DEPENDENCY_LIB}) +-install(TARGETS ${BINARY_NAME} DESTINATION lib) ++install(TARGETS ${BINARY_NAME} DESTINATION lib COMPONENT lib${BINARY_NAME}) + set_target_properties(${BINARY_NAME} PROPERTIES VERSION ${LIB_VERSION_STRING} SOVERSION ${LIB_VERSION_ABI}) + + if(BUILD_SDL) +@@ -227,8 +227,8 @@ if(BUILD_PERF) + + add_executable(${BINARY_NAME}-perf ${PERF_SRC}) + target_link_libraries(${BINARY_NAME}-perf ${BINARY_NAME} ${PERF_LIB}) +- install(TARGETS ${BINARY_NAME}-perf DESTINATION bin) +- install(FILES ${CMAKE_SOURCE_DIR}/tools/perf.py DESTINATION ${CMAKE_INSTALL_LIBDIR}/${BINARY_NAME}) ++ install(TARGETS ${BINARY_NAME}-perf DESTINATION bin COMPONENT