Skip to content

Commit

Permalink
added the libzimg support, try 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaek Korneev committed Mar 6, 2024
1 parent 7c6f9e3 commit 779ed18
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions ffmpeg/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,9 @@ case $PLATFORM in
echo ""
cd zimg-release-$ZIMGLIB
autoreconf -iv
./configure --prefix=$INSTALL_PATH ---host=arm-linux
./configure --prefix=$INSTALL_PATH --disable-frontend --disable-shared --with-pic --host=arm-linux
make -j $MAKEJ V=0
make install
cd ..
echo ""
echo "--------------------"
echo "Building zlib"
Expand Down Expand Up @@ -297,16 +296,15 @@ EOF
echo ""
cd zimg-release-$ZIMGLIB
autoreconf -iv
./configure --prefix=$INSTALL_PATH ---host=aarch64-linux
./configure --prefix=$INSTALL_PATH --disable-frontend --disable-shared --with-pic --host=aarch64-linux
make -j $MAKEJ V=0
make install
cd ..
echo ""
echo "--------------------"
echo "Building zlib"
echo "--------------------"
echo ""
cd ../$ZLIB
cd $ZLIB
./configure --prefix=$INSTALL_PATH --static --uname=aarch64-linux
make -j $MAKEJ V=0
make install
Expand Down Expand Up @@ -453,7 +451,7 @@ EOF
echo ""
cd zimg-release-$ZIMGLIB
autoreconf -iv
./configure --prefix=$INSTALL_PATH --host=i686-linux
./configure --prefix=$INSTALL_PATH --disable-frontend --disable-shared --with-pic --host=i686-linux
make -j $MAKEJ V=0
make install
echo ""
Expand Down Expand Up @@ -605,7 +603,7 @@ EOF
echo ""
cd zimg-release-$ZIMGLIB
autoreconf -iv
./configure --prefix=$INSTALL_PATH --host=x86_64-linux
./configure --prefix=$INSTALL_PATH --disable-frontend --disable-shared --with-pic --host=x86_64-linux
make -j $MAKEJ V=0
make install
echo ""
Expand Down Expand Up @@ -896,11 +894,21 @@ EOF
export AS="nasm"
echo ""
echo "--------------------"
echo "Building zimg"
echo "--------------------"
echo ""
cd zimg-release-$ZIMGLIB
autoreconf -iv
./configure --prefix=$INSTALL_PATH --host=x86_64-linux
make -j $MAKEJ V=0
make install
echo ""
echo "--------------------"
echo "Building zlib"
echo "--------------------"
echo ""
cd $ZLIB
CC="gcc -m64 -fPIC" ./configure --prefix=$INSTALL_PATH --static
cd ../$ZLIB
CC="gcc -m64 -fPIC" ./configure --prefix=$INSTALL_PATH --static
make -j $MAKEJ V=0
make install
echo ""
Expand Down

0 comments on commit 779ed18

Please sign in to comment.