summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorKenneth Myhra <kennethmyhra@gmail.com>2023-04-16 20:29:53 +0200
committerLinus Groh <mail@linusgroh.de>2023-04-17 10:19:28 +0200
commitae075b3dff7368724eefefbff4be13867f1dce06 (patch)
tree1f450823e5a154b3266c9712f6ffca978b114e75 /Ports
parent4e661a400bdd0b29f6e24d3071b875dc4a06c81d (diff)
downloadserenity-ae075b3dff7368724eefefbff4be13867f1dce06.zip
Ports: Reformat QEMU's package.sh script
Use single quotes for non-interpolated strings in the 'configopts' and 'depends' sections. Let each dependency of the 'depends' section be on a separate line.
Diffstat (limited to 'Ports')
-rwxr-xr-xPorts/qemu/package.sh22
1 files changed, 13 insertions, 9 deletions
diff --git a/Ports/qemu/package.sh b/Ports/qemu/package.sh
index b415b7933d..78a7dca3a9 100755
--- a/Ports/qemu/package.sh
+++ b/Ports/qemu/package.sh
@@ -3,17 +3,21 @@ port='qemu'
version='7.2.0'
useconfigure='true'
configopts=(
- "--target-list=aarch64-softmmu,i386-softmmu,x86_64-softmmu"
+ '--target-list=aarch64-softmmu,i386-softmmu,x86_64-softmmu'
"--cross-prefix=${SERENITY_ARCH}-pc-serenity-"
- "--extra-ldflags=-lm"
- "--without-default-features"
- "--disable-strip"
- "--enable-pie"
- "--enable-sdl"
- "--enable-tcg"
- "--enable-tools"
+ '--extra-ldflags=-lm'
+ '--without-default-features'
+ '--disable-strip'
+ '--enable-pie'
+ '--enable-sdl'
+ '--enable-tcg'
+ '--enable-tools'
+)
+depends=(
+ 'glib'
+ 'pixman'
+ 'SDL2'
)
-depends=("glib" "pixman" "SDL2")
files="https://download.qemu.org/qemu-${version}.tar.xz qemu-${version}.tar.xz 5b49ce2687744dad494ae90a898c52204a3406e84d072482a1e1be854eeb2157"
auth_type='sha256'