rename short argument libbluray to bluray

delete unused variables
ffmpeg_4.4.2
hanbowen 2 years ago
parent 56e82f9ed0
commit a2859f9ce0
  1. 7
      scripts/libbluray/build.sh
  2. 3
      scripts/parse-arguments.sh

@ -1,10 +1,8 @@
#!/usr/bin/env bash
LIBLURAY_ADDITIONAL_FLAGS=
CC=${FAM_CC} \
AR=${FAM_AR} \
AS=${X264_AS} \
AS=${FAM_AS} \
RANLIB=${FAM_RANLIB} \
STRIP=${FAM_STRIP} \
LIBS="-lz" \
@ -16,8 +14,7 @@ LIBS="-lz" \
--with-pic \
--without-libxml2 \
--without-fontconfig \
--disable-bdjava-jar \
${LIBLURAY_ADDITIONAL_FLAGS} || exit 1
--disable-bdjava-jar || exit 1
${MAKE_EXECUTABLE} clean
${MAKE_EXECUTABLE} -j${HOST_NPROC}

@ -112,8 +112,7 @@ for argument in "$@"; do
EXTERNAL_LIBRARIES+=("libx264")
FFMPEG_GPL_ENABLED=true
;;
--enable-libbluray | -libbluray)
EXTERNAL_LIBRARIES+=("libfreetype")
--enable-libbluray | -bluray)
EXTERNAL_LIBRARIES+=("libbluray")
;;
--enable-all-free | -all-free)

Loading…
Cancel
Save