diff options
author | Tim Schumacher <timschumi@gmx.de> | 2021-09-27 00:16:18 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-05 02:13:08 +0200 |
commit | c07f91474de4088c4eccd45ccc6883a515439d69 (patch) | |
tree | 19bdb4797935e826f638053ea8d4250bd453dd0a /Ports/ffmpeg | |
parent | e507cfcdb0cc3be9e8e3304952c81d4410e6b610 (diff) | |
download | serenity-c07f91474de4088c4eccd45ccc6883a515439d69.zip |
Ports: Make array-like settings actual arrays
We may need entries with spaces in makeopts, installopts, and
configopts, and at that point we should also convert depends and
auth_opts to avoid confusion.
Diffstat (limited to 'Ports/ffmpeg')
-rwxr-xr-x | Ports/ffmpeg/package.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Ports/ffmpeg/package.sh b/Ports/ffmpeg/package.sh index 5d23064ad3..6febe95241 100755 --- a/Ports/ffmpeg/package.sh +++ b/Ports/ffmpeg/package.sh @@ -2,11 +2,11 @@ port=ffmpeg version=4.4 useconfigure=true -depends="libiconv libtiff xz bzip" +depends=("libiconv" "libtiff" "xz" "bzip") files="https://ffmpeg.org/releases/ffmpeg-${version}.tar.gz ffmpeg-${version}.tar.gz a4abede145de22eaf233baa1726e38e137f5698d9edd61b5763cd02b883f3c7c" auth_type="sha256" -installopts="INSTALL_TOP=${SERENITY_INSTALL_ROOT}/usr/local" -configopts="SRC_PATH=." +installopts=("INSTALL_TOP=${SERENITY_INSTALL_ROOT}/usr/local") +configopts=("SRC_PATH=.") configure() { run ./configure \ @@ -18,7 +18,7 @@ configure() { } install() { - run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install + run make DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}" install for lib in libavcodec libavdevice libavfilter libavformat libavutil; do ${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/${lib}.so -Wl,-soname,${lib}.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/${lib}.a -Wl,--no-whole-archive -liconv -ltiff -llzma -lbz2 rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/$lib.la |