[arch-commits] Commit in vbam/repos/community-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sun Oct 6 17:23:38 UTC 2019
Date: Sunday, October 6, 2019 @ 17:23:38
Author: alucryd
Revision: 513633
archrelease: copy trunk to community-x86_64
Added:
vbam/repos/community-x86_64/PKGBUILD
(from rev 513632, vbam/trunk/PKGBUILD)
Deleted:
vbam/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 191 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 99 insertions(+), 92 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-06 17:23:33 UTC (rev 513632)
+++ PKGBUILD 2019-10-06 17:23:38 UTC (rev 513633)
@@ -1,92 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
-
-pkgbase=vbam
-pkgname=(
- vbam-sdl
- vbam-wx
-)
-pkgver=2.1.3
-pkgrel=1
-pkgdesc='Nintendo GameBoy Advance emulator'
-arch=(x86_64)
-url=https://vba-m.com
-license=(GPL2)
-depends=(
- libgl
- libpng
- sdl2
- sfml
- zlib
-)
-makedepends=(
- cmake
- ffmpeg
- git
- libglvnd
- wxgtk3
- zip
-)
-source=(git+https://github.com/visualboyadvance-m/visualboyadvance-m.git#tag=v${pkgver})
-sha256sums=('SKIP')
-
-prepare() {
- for p in sdl wx; do
- if [[ -d build-$p ]]; then
- rm -rf build-$p
- fi
- mkdir build-$p
- done
-}
-
-build() {
- cd build-sdl
-
- cmake ../visualboyadvance-m \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_SKIP_RPATH=TRUE \
- -DENABLE_SDL=TRUE \
- -DENABLE_WX=FALSE \
- -DENABLE_LINK=TRUE
- make
-
- cd ../build-wx
-
- cmake ../visualboyadvance-m \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_SKIP_RPATH=TRUE \
- -DENABLE_SDL=FALSE \
- -DENABLE_WX=TRUE \
- -DENABLE_FFMPEG=TRUE \
- -DENABLE_LINK=TRUE \
- -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3
- make
-}
-
-package_vbam-sdl() {
- backup=(etc/vbam.cfg)
- conflicts=(vbam-wx)
-
- make DESTDIR="${pkgdir}" -C build-sdl install
-}
-
-package_vbam-wx() {
- depends+=(
- glib2
- gtk3
- libavcodec.so
- libavformat.so
- libavutil.so
- libswscale.so
- openal
- wxgtk3
- zip
- )
- conflicts=(vbam-sdl)
-
- make DESTDIR="${pkgdir}" -C build-wx install
-}
-
-# vim: ts=2 sw=2 et:
Copied: vbam/repos/community-x86_64/PKGBUILD (from rev 513632, vbam/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-06 17:23:38 UTC (rev 513633)
@@ -0,0 +1,99 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <nospam at bpiotrowski.pl>
+
+pkgbase=vbam
+pkgname=(
+ vbam-sdl
+ vbam-wx
+)
+pkgver=2.1.4
+pkgrel=1
+pkgdesc='Nintendo GameBoy Advance emulator'
+arch=(x86_64)
+url=https://vba-m.com
+license=(GPL2)
+depends=(
+ libgl
+ libpng
+ sdl2
+ sfml
+ zlib
+)
+makedepends=(
+ cmake
+ ffmpeg
+ git
+ libglvnd
+ wxgtk3
+ zip
+)
+source=(git+https://github.com/visualboyadvance-m/visualboyadvance-m.git#tag=09fbcbac07148ea32add848722dab34a7eb4f6b5)
+sha256sums=(SKIP)
+validpgpkeys=(A0C0E526E36FD2138C149D4D08AB596679D86240) # Rafael Kitover <rkitover at gmail.com>
+
+pkgver() {
+ cd visualboyadvance-m
+
+ git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+ for p in sdl wx; do
+ if [[ -d build-$p ]]; then
+ rm -rf build-$p
+ fi
+ mkdir build-$p
+ done
+}
+
+build() {
+ cd build-sdl
+
+ cmake ../visualboyadvance-m \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH=TRUE \
+ -DENABLE_SDL=TRUE \
+ -DENABLE_WX=FALSE \
+ -DENABLE_LINK=TRUE
+ make
+
+ cd ../build-wx
+
+ cmake ../visualboyadvance-m \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH=TRUE \
+ -DENABLE_SDL=FALSE \
+ -DENABLE_WX=TRUE \
+ -DENABLE_FFMPEG=TRUE \
+ -DENABLE_LINK=TRUE \
+ -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3
+ make
+}
+
+package_vbam-sdl() {
+ backup=(etc/vbam.cfg)
+ conflicts=(vbam-wx)
+
+ make DESTDIR="${pkgdir}" -C build-sdl install
+}
+
+package_vbam-wx() {
+ depends+=(
+ glib2
+ gtk3
+ libavcodec.so
+ libavformat.so
+ libavutil.so
+ libswscale.so
+ openal
+ wxgtk3
+ zip
+ )
+ conflicts=(vbam-sdl)
+
+ make DESTDIR="${pkgdir}" -C build-wx install
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list