Skip to content

Commit

Permalink
AMF Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Perl committed Nov 5, 2023
1 parent 9a689c2 commit 326e6ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build-ffmpeg
Original file line number Diff line number Diff line change
Expand Up @@ -910,12 +910,12 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
fi
fi

if build "amf" "1.4.29"; then
download 'https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/refs/tags/v1.4.29.tar.gz' 'AMF-1.4.29.tar.gz' 'AMF-1.4.29'
if build "amf" "1.4.30"; then
download 'https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/refs/tags/v1.4.30.tar.gz' 'AMF-1.4.30.tar.gz' 'AMF-1.4.30'
execute rm -rf "${WORKSPACE}/include/AMF"
execute mkdir -p "${WORKSPACE}/include/AMF"
execute cp -r "${PACKAGES}"/AMF-1.4.29/AMF-1.4.29/amf/public/include/* "${WORKSPACE}/include/AMF/"
build_done "amf" "1.4.29"
execute cp -r "${PACKAGES}"/AMF-1.4.30/AMF-1.4.30/amf/public/include/* "${WORKSPACE}/include/AMF/"
build_done "amf" "1.4.30"
fi
CONFIGURE_OPTIONS+=("--enable-amf")
fi
Expand Down

0 comments on commit 326e6ec

Please sign in to comment.