termux-packages/x11-packages/bochs/build.sh

34 lines
942 B
Bash
Raw Normal View History

2019-08-25 17:58:56 +02:00
TERMUX_PKG_HOMEPAGE=http://bochs.sourceforge.net/
TERMUX_PKG_DESCRIPTION="Bochs is a highly portable open source IA-32 (x86) PC emulator and debugger written in C++."
TERMUX_PKG_LICENSE="LGPL-2.0"
TERMUX_PKG_VERSION=2.6.9
2021-10-21 19:41:15 +02:00
TERMUX_PKG_REVISION=19
2019-08-25 17:58:56 +02:00
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/bochs/bochs-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=ee5b677fd9b1b9f484b5aeb4614f43df21993088c0c0571187f93acb0866e98c
TERMUX_PKG_DEPENDS="atk, fontconfig, freetype, gdk-pixbuf, glib, gtk2, libc++, libcairo, libgraphite, libx11, libxpm, libxrandr, ncurses, pango, readline"
2019-08-25 17:58:56 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--without-wx
--with-x11
--with-x
--with-term
--disable-docbook
--enable-x86-64
--enable-smp
--enable-debugger
2019-08-25 17:58:56 +02:00
--enable-disasm
--enable-3dnow
--enable-avx
2019-08-25 17:58:56 +02:00
--enable-usb
--enable-usb-ehci
--enable-ne2000
--enable-e1000
--enable-clgd54xx
--enable-voodoo
"
2021-10-21 19:41:15 +02:00
termux_step_pre_configure() {
CFLAGS+=" -DANDROID"
CXXFLAGS+=" -DANDROID"
}