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