[arch-commits] Commit in mgba/repos/community-x86_64 (PKGBUILD PKGBUILD)

Jonathan Steel jsteel at archlinux.org
Thu May 13 06:52:22 UTC 2021


    Date: Thursday, May 13, 2021 @ 06:52:22
  Author: jsteel
Revision: 932917

archrelease: copy trunk to community-x86_64

Added:
  mgba/repos/community-x86_64/PKGBUILD
    (from rev 932916, mgba/trunk/PKGBUILD)
Deleted:
  mgba/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  124 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 64 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-13 06:52:13 UTC (rev 932916)
+++ PKGBUILD	2021-05-13 06:52:22 UTC (rev 932917)
@@ -1,60 +0,0 @@
-# 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.9.0
-pkgrel=1
-arch=('x86_64')
-url='http://mgba.io'
-license=('custom:MPL2')
-makedepends=('cmake' 'qt5-multimedia' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit'
-             'ffmpeg' 'imagemagick' 'desktop-file-utils' 'qt5-tools')
-source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz)
-md5sums=('8ec54054bf7270d78dab0eb0090626ed')
-
-prepare() {
-  [[ ! -d build ]] && mkdir build || rm -rf build
-}
-
-build() {
-  cd build
-  cmake "$srcdir"/mgba-$pkgver -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib
-  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-$pkgver/res/mgba-qt.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/PKGBUILD (from rev 932916, mgba/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-13 06:52:22 UTC (rev 932917)
@@ -0,0 +1,64 @@
+# 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.9.1
+pkgrel=1
+arch=('x86_64')
+url='http://mgba.io'
+license=('custom:MPL2')
+makedepends=('cmake' 'qt5-multimedia' 'sdl2' 'zlib' 'libpng' 'libzip' 'libedit'
+             'ffmpeg' 'desktop-file-utils' 'qt5-tools')
+source=($pkgbase-$pkgver.tar.gz::https://github.com/mgba-emu/mgba/archive/$pkgver.tar.gz)
+md5sums=('330a6d475fc492198ff34328ebfee3f5')
+
+prepare() {
+  [[ ! -d build ]] && mkdir build || rm -rf build
+}
+
+build() {
+  cd build
+  cmake "$srcdir"/mgba-$pkgver -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib
+  make
+}
+
+package_libmgba() {
+  pkgdesc='Shared library of mGBA'
+  depends=('zlib' 'libpng' 'libzip' 'libedit' 'ffmpeg' 'sqlite')
+
+  cmake -DCOMPONENT=libmgba mgba-$pkgver -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" \
+    -P build/cmake_install.cmake
+
+  cmake -DCOMPONENT=mgba-dev 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-$pkgver/res/mgba-qt.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
+}



More information about the arch-commits mailing list