Created
July 2, 2020 15:31
-
-
Save rw-r-r-0644/fe2fa80651bdc680b6cbb35a61471c83 to your computer and use it in GitHub Desktop.
wiiu ffmpeg config of some kind?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export PATH=$DEVKITPRO/devkitPPC/bin:$PATH | |
export PATH=$DEVKITPRO/tools/bin:$PATH | |
export PATH=$DEVKITPRO/portlibs/wiiu/bin:$DEVKITPRO/portlibs/ppc/bin:$PATH | |
export WUT_ROOT=$DEVKITPRO/wut | |
export RPXSPECS="-specs=$WUT_ROOT/share/wut.specs" | |
export RPLSPECS="-specs=$WUT_ROOT/share/wut.specs -specs=$WUT_ROOT/share/rpl.specs" | |
export MACHDEP="-DESPRESSO -mcpu=750 -meabi -mhard-float" | |
export WIIU_CFLAGS="-g -Wall -ffunction-sections $MACHDEP" | |
export WIIU_CFLAGS="$WIIU_CFLAGS -D__WIIU__ -D__WUT_" | |
export WIIU_CFLAGS="$WIIU_CFLAGS -fomit-frame-pointer -ffast-math -fno-math-errno -funsafe-math-optimizations -ffinite-math-only -fno-trapping-math -O3 -Ofast" | |
export WIIU_CXXFLAGS="$WIIU_CFLAGS -fno-rtti -fno-exceptions -std=gnu++11" | |
export WIIU_LDFLAGS="$RPXSPECS -L$WUT_ROOT/lib -lwut" | |
./configure \ | |
--prefix=$DEVKITPRO/portlibs/ppc/ \ | |
--enable-cross-compile \ | |
--cross-prefix=powerpc-eabi- \ | |
--disable-shared \ | |
--disable-runtime-cpudetect \ | |
--disable-programs \ | |
--disable-doc \ | |
--disable-everything \ | |
--enable-decoder=mpeg4,h264,aac,ac3,mp3 \ | |
--enable-demuxer=mov,h264 \ | |
--enable-filter=rotate,transpose \ | |
--enable-protocol=file \ | |
--enable-static \ | |
--arch=ppc \ | |
--cpu=750 \ | |
--target-os=none \ | |
--extra-cflags="$WIIU_CFLAGS" \ | |
--extra-cxxflags="$WIIU_CXXFLAGS" \ | |
--extra-ldflags="$WIIU_LDFLAGS" \ | |
--disable-debug \ | |
--disable-bzlib \ | |
--disable-iconv \ | |
--disable-lzma \ | |
--disable-securetransport \ | |
--disable-xlib \ | |
--disable-zlib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment