Skip to content

Commit

Permalink
Drop the rkmpp patch
Browse files Browse the repository at this point in the history
Signed-off-by: nyanmisaka <[email protected]>
  • Loading branch information
nyanmisaka committed Jul 24, 2024
1 parent ef2c9ae commit 1f2b02a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 164 deletions.
154 changes: 0 additions & 154 deletions builder/patches/rkmpp/0000-fix-vpx-collisions.patch

This file was deleted.

11 changes: 1 addition & 10 deletions builder/scripts.d/50-rkmpp.sh
Original file line number Diff line number Diff line change
@@ -1,26 +1,17 @@
#!/bin/bash

SCRIPT_REPO="https://github.com/nyanmisaka/mpp.git"
SCRIPT_COMMIT="2218dc0fc57062c0d33d06d350aea73d9fef5d57"
SCRIPT_COMMIT="66af270e1e54432d0767cf929a5c4aee2b456d8c"

ffbuild_enabled() {
[[ $TARGET == linux* ]] && [[ $TARGET == *arm64 ]] && return 0
return -1
}

ffbuild_dockerstage() {
to_df "RUN --mount=src=${SELF},dst=/stage.sh --mount=src=patches/rkmpp,dst=/patches run_stage /stage.sh"
}

ffbuild_dockerbuild() {
git-mini-clone "$SCRIPT_REPO" "$SCRIPT_COMMIT" rkmpp
cd rkmpp

for patch in /patches/*.patch; do
echo "Applying $patch"
patch -p1 < "$patch"
done

mkdir rkmpp_build && cd rkmpp_build

cmake -GNinja \
Expand Down

0 comments on commit 1f2b02a

Please sign in to comment.