[arch-commits] Commit in bochs/trunk (PKGBUILD)

Kyle Keen kkeen at archlinux.org
Mon Oct 6 21:28:47 UTC 2014


    Date: Monday, October 6, 2014 @ 23:28:47
  Author: kkeen
Revision: 120307

upgpkg: bochs 2.6.6-2

Modified:
  bochs/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-10-06 20:21:34 UTC (rev 120306)
+++ PKGBUILD	2014-10-06 21:28:47 UTC (rev 120307)
@@ -5,14 +5,12 @@
 
 pkgname=bochs
 pkgver=2.6.6
-pkgrel=1
-pkgdesc="A portable x86 PC emulation software package"
+pkgrel=2
+pkgdesc="A portable x86 PC emulation software package, including GUI debugger"
 arch=('i686' 'x86_64')
 url="http://bochs.sourceforge.net/"
 license=('LGPL')
-depends=('gcc-libs' 'libxrandr')
-#makedepends=('sdl')
-#optdepends=('sdl: debuggers')
+depends=('gcc-libs' 'libxrandr' 'libxpm' 'gtk2')
 source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
 md5sums=('f5c8483bc478381dd5979f6b3972d44e')
 
@@ -19,14 +17,12 @@
 build() {
     cd "$srcdir/$pkgname-$pkgver"
 
-    # typos in 2.6.5
-    #sed -i 's/Bx3DNowOpcode\[i->modRMForm.Ib/&\[0\]/' cpu/fetchdecode{,64}.cc
-
-    # todo, figure out why debuggers won't build (FS#38274)
     ./configure \
         --prefix=/usr \
         --without-wx \
         --with-x11 \
+        --with-x \
+        --with-term \
         --disable-docbook \
         --enable-cpu-level=6 \
         --enable-fpu \
@@ -38,14 +34,14 @@
         --enable-long-phy-address \
         --enable-disasm \
         --enable-pcidev \
-        --enable-usb
+        --enable-usb \
+        --enable-debugger
         #--with-sdl
-        #--enable-debugger
         #--enable-x86-debugger
         #--enable-all-optimizations
         #--enable-plugins
-    #sed -i 's/^LIBS = /LIBS = -lpthread/g' Makefile
-    make
+    sed -i 's/^LIBS = /LIBS = -lpthread/g' Makefile
+    make -j 1
 }
 
 package() {



More information about the arch-commits mailing list