Qemu (make it work on linux) (#3963)

* make it work on linux

* wait for apt lock

* wait for apt lock

* remove OS dependencies

* clean up

---------

Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
tannevaled 2023-11-06 20:43:56 +01:00 committed by GitHub
parent e9780a8060
commit 5fce350be3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,10 +43,6 @@ provides:
- bin/qemu-system-xtensa
- bin/qemu-system-xtensaeb
platforms:
- darwin
# FIXME: linux
dependencies:
gnome.org/glib: 2
capstone-engine.org: ^4
@ -57,17 +53,24 @@ dependencies:
facebook.com/zstd: '*'
invisible-island.net/ncurses: '*'
libssh.org: '*'
libpng.org: '*'
build:
dependencies:
gnu.org/bison: '*'
github.com/westes/flex: '*'
python.org: '<3.10'
ninja-build.org: '*'
freedesktop.org/pkg-config: '*'
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }} install
# Without this, `codesign` complains about resource forks in the binary
- xattr -cr {{prefix}}/bin/*
- if: darwin
run:
- xattr -cr {{prefix}}/bin/*
env:
ARGS:
- --prefix="{{prefix}}"
@ -82,6 +85,7 @@ build:
- --enable-zstd
- --extra-cflags=-DNCURSES_WIDECHAR=1
- --disable-sdl
- --disable-docs
test:
dependencies: