Disable hud and wifi so the damn thing actually works

master
Markus Kitsinger (SwooshyCueb) 2017-01-11 17:36:02 -06:00
parent 76139d73b2
commit 50c5891774
2 changed files with 7 additions and 21 deletions

View File

@ -1,9 +1,9 @@
# Generated by mksrcinfo v8 # Generated by mksrcinfo v8
# Wed Jan 11 14:51:49 UTC 2017 # Wed Jan 11 23:35:43 UTC 2017
pkgbase = desmume-git pkgbase = desmume-git
pkgdesc = Nintendo DS emulator pkgdesc = Nintendo DS emulator
pkgver = 0.9.11.r583.07a68db pkgver = 0.9.11.r583.07a68db
pkgrel = 1 pkgrel = 2
url = http://desmume.org/ url = http://desmume.org/
arch = i686 arch = i686
arch = x86_64 arch = x86_64
@ -13,10 +13,8 @@ pkgbase = desmume-git
makedepends = pkg-config makedepends = pkg-config
makedepends = git makedepends = git
makedepends = lua makedepends = lua
depends = agg
depends = gtkglext depends = gtkglext
depends = libglade depends = libglade
depends = libpcap
depends = libgl depends = libgl
depends = openal depends = openal
depends = sdl depends = sdl

View File

@ -14,12 +14,10 @@ license=('GPL')
_last_rtm_ver=0.9.11 _last_rtm_ver=0.9.11
_last_rtm_commit=ccbf85ed42e4350af415d56b1465e83614c85ef8 _last_rtm_commit=ccbf85ed42e4350af415d56b1465e83614c85ef8
pkgver="${_last_rtm_ver}.r583.07a68db" pkgver="${_last_rtm_ver}.r583.07a68db"
pkgrel=1 pkgrel=2
depends=('agg' depends=('gtkglext'
'gtkglext'
'libglade' 'libglade'
'libpcap'
'libgl' 'libgl'
'openal' 'openal'
'sdl' 'sdl'
@ -29,7 +27,6 @@ makedepends=('autoconf'
'automake' 'automake'
'pkg-config' 'pkg-config'
'git' 'git'
#'clang'
'lua') 'lua')
provides=('desmume') provides=('desmume')
@ -59,32 +56,23 @@ prepare(){
# we could probably just make it compile against the current lua # we could probably just make it compile against the current lua
sed -i 's/lua5.1/lua51/' configure.ac sed -i 's/lua5.1/lua51/' configure.ac
# Make clang happy
#sed -e 's/^\([[:space:]]\+\) \(line_profile_aa& profile\)/\1 const \2/' /usr/include/agg2/agg_renderer_outline_aa.h > ../modules/osd/agg/agg_renderer_outline_aa.h
./autogen.sh ./autogen.sh
# Using clang to workaround FS#41476 # Hud causes segfault in gtk version. Wifi doesn't really work.
# Not sure if we need to do this, since it seems the current codebase
# doesn't quite work anyway.
#CC=clang \
#CXX=clang++ \
CFLAGS="-O3 -march=native" \ CFLAGS="-O3 -march=native" \
CXXFLAGS="-O3 -march=native" \ CXXFLAGS="-O3 -march=native" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--enable-osmesa \ --enable-osmesa \
--enable-glx \ --enable-glx \
--enable-hud \
--enable-openal \ --enable-openal \
--enable-glade \ --enable-glade
--enable-wifi
} }
build() { build() {
cd "${srcdir}/${_pkgname}/${_builddir}" cd "${srcdir}/${_pkgname}/${_builddir}"
make -j6 make
} }
package() { package() {