rename short argument libbluray to bluray

delete unused variables
pull/63/head^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 #!/usr/bin/env bash
LIBLURAY_ADDITIONAL_FLAGS=
CC=${FAM_CC} \ CC=${FAM_CC} \
AR=${FAM_AR} \ AR=${FAM_AR} \
AS=${X264_AS} \ AS=${FAM_AS} \
RANLIB=${FAM_RANLIB} \ RANLIB=${FAM_RANLIB} \
STRIP=${FAM_STRIP} \ STRIP=${FAM_STRIP} \
LIBS="-lz" \ LIBS="-lz" \
@ -16,8 +14,7 @@ LIBS="-lz" \
--with-pic \ --with-pic \
--without-libxml2 \ --without-libxml2 \
--without-fontconfig \ --without-fontconfig \
--disable-bdjava-jar \ --disable-bdjava-jar || exit 1
${LIBLURAY_ADDITIONAL_FLAGS} || exit 1
${MAKE_EXECUTABLE} clean ${MAKE_EXECUTABLE} clean
${MAKE_EXECUTABLE} -j${HOST_NPROC} ${MAKE_EXECUTABLE} -j${HOST_NPROC}

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

Loading…
Cancel
Save