Skip to content

Commit

Permalink
@nyanmisaka's suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
tandy-1000 committed Jun 23, 2022
1 parent c085098 commit 4de4a3f
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,16 +136,18 @@ prepare_extra_arm() {
pushd ${SOURCE_DIR}
git clone https://github.com/rockchip-linux/mpp
pushd mpp
case ${ARCH} in
'armhf')
pushd build/linux/arm
;;
'arm64')
pushd build/linux/aarch64
;;
esac
./make-Makefiles.bash
make -j$(nproc) && make install && make install
mkdir build_mpp
pushd build_mpp
cmake \
${CMAKE_TOOLCHAIN_OPT} \
-DCMAKE_INSTALL_PREFIX=${TARGET_DIR} \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_TEST=OFF \
-DHAVE_DRM=ON \
..
make -j$(nproc) && make install && make install DESTDIR=${SOURCE_DIR}/rkmpp
echo "rkmpp${TARGET_DIR}/lib/librockchip* usr/lib/jellyfin-ffmpeg/lib" >> ${DPKG_INSTALL_LIST}
popd
popd
popd
Expand Down

0 comments on commit 4de4a3f

Please sign in to comment.