Skip to content

Commit

Permalink
Merge pull request #230 from rhuts/master
Browse files Browse the repository at this point in the history
Use minimal AMF-headers tarball instead of downloading full repo
  • Loading branch information
markus-perl authored Nov 25, 2024
2 parents 4a608b4 + fb8ff05 commit e1a4d6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-ffmpeg
Original file line number Diff line number Diff line change
Expand Up @@ -1025,10 +1025,10 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
fi

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

0 comments on commit e1a4d6d

Please sign in to comment.