mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-09-19 22:08:32 +00:00
extra/vbam to 2.1.5.r109.79061810-1
This commit is contained in:
parent
53edffa14c
commit
654eecf0e1
|
@ -11,8 +11,8 @@ pkgname=(
|
|||
vbam-wx
|
||||
)
|
||||
_pkgname=visualboyadvance-m
|
||||
pkgver=2.1.5
|
||||
pkgrel=2
|
||||
pkgver=2.1.5.r109.79061810
|
||||
pkgrel=1
|
||||
pkgdesc='Nintendo GameBoy Advance emulator'
|
||||
arch=(x86_64)
|
||||
url=https://vba-m.com
|
||||
|
@ -39,23 +39,23 @@ makedepends=(
|
|||
wxwidgets-gtk3
|
||||
zip
|
||||
)
|
||||
_tag=a964f4a5c69ce30d124bd6dcf987bdedc82f3928 # git rev-parse v${pkgver}
|
||||
source=("git+https://github.com/${_pkgname}/${_pkgname}.git?signed#tag=${_tag}")
|
||||
#_tag=a964f4a5c69ce30d124bd6dcf987bdedc82f3928 # git rev-parse v${pkgver}
|
||||
#source=("git+https://github.com/${_pkgname}/${_pkgname}.git?signed#tag=${_tag}")
|
||||
_commit=790618102dea1a4c94a115e4f3e8b432eb53adee # master
|
||||
source=("git+https://github.com/${_pkgname}/${_pkgname}.git?#commit=${_commit}")
|
||||
b2sums=('SKIP')
|
||||
validpgpkeys=(A0C0E526E36FD2138C149D4D08AB596679D86240) # Rafael Kitover <rkitover@gmail.com>
|
||||
#validpgpkeys=(A0C0E526E36FD2138C149D4D08AB596679D86240) # Rafael Kitover <rkitover@gmail.com>
|
||||
|
||||
prepare() {
|
||||
cd ${_pkgname}
|
||||
# Unbundle doctest (bundled one is not glibc 2.34 compatible)
|
||||
sed -e 's|${CMAKE_SOURCE_DIR}/third_party|/usr|' -i src/wx/tests/CMakeLists.txt
|
||||
# Fix build with openal 1.23
|
||||
sed -e '/AL_NO_PROTOTYPES/d' -i src/wx/openal.h
|
||||
}
|
||||
|
||||
#pkgver() {
|
||||
# cd ${_pkgname}
|
||||
# git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./'
|
||||
#}
|
||||
pkgver() {
|
||||
cd ${_pkgname}
|
||||
git describe --tags | sed 's/^v//; s/-/.r/; s/-g/./'
|
||||
}
|
||||
|
||||
build() {
|
||||
cmake -S ${_pkgname} -B build-sdl -G Ninja \
|
||||
|
|
Loading…
Reference in a new issue