Compare commits

...

2 Commits

Author SHA1 Message Date
a09d1e0279 Restore original toolchain dockerfile 2026-02-13 12:13:23 +01:00
d68e1d0f22 Enable FFmpeg and SDL2 in Buildroot cross-compilation config
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 12:11:23 +01:00
2 changed files with 51 additions and 29 deletions

View File

@ -5,39 +5,36 @@ ENV TZ=Europe/Brussels
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get -y update && apt-get -y install \ RUN apt-get -y update && apt-get -y install \
build-essential \ bc \
# bc \ build-essential \
# bzip2 \ bzip2 \
# bzr \ bzr \
# cmake \ cmake \
# cmake-curses-gui \ cmake-curses-gui \
# cpio \ cpio \
# device-tree-compiler \ device-tree-compiler \
git \ git \
# imagemagick \ imagemagick \
# libncurses5-dev \ libncurses5-dev \
# locales \ locales \
# make \ make \
# p7zip-full \ p7zip-full \
# rsync \ rsync \
# sharutils \ sharutils \
# scons \ scons \
# tree \ tree \
# unzip \ unzip \
# vim \ vim \
# wget \ wget \
# zip \ zip \
libsdl2-dev \
libsdl2-image-dev \
libavformat-dev \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN mkdir -p /root/workspace RUN mkdir -p /root/workspace
WORKDIR /root WORKDIR /root
# COPY support . COPY support .
# RUN ./build-toolchain.sh RUN ./build-toolchain.sh
# RUN cat ./setup-env.sh >> .bashrc RUN cat ./setup-env.sh >> .bashrc
VOLUME /root/workspace VOLUME /root/workspace
WORKDIR /root/workspace WORKDIR /root/workspace

View File

@ -366,7 +366,26 @@ BR2_PACKAGE_SKELETON_INIT_SYSV=y
# BR2_PACKAGE_ESPEAK is not set # BR2_PACKAGE_ESPEAK is not set
# BR2_PACKAGE_FAAD2 is not set # BR2_PACKAGE_FAAD2 is not set
BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS=y BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS=y
# BR2_PACKAGE_FFMPEG is not set BR2_PACKAGE_FFMPEG=y
# BR2_PACKAGE_FFMPEG_GPL is not set
BR2_PACKAGE_FFMPEG_NONFREE=y
# BR2_PACKAGE_FFMPEG_FFMPEG is not set
# BR2_PACKAGE_FFMPEG_FFPLAY is not set
# BR2_PACKAGE_FFMPEG_FFSERVER is not set
# BR2_PACKAGE_FFMPEG_FFPROBE is not set
BR2_PACKAGE_FFMPEG_AVRESAMPLE=y
BR2_PACKAGE_FFMPEG_SWSCALE=y
BR2_PACKAGE_FFMPEG_ENCODERS="all"
BR2_PACKAGE_FFMPEG_DECODERS="all"
BR2_PACKAGE_FFMPEG_MUXERS="all"
BR2_PACKAGE_FFMPEG_DEMUXERS="all"
BR2_PACKAGE_FFMPEG_PARSERS="all"
BR2_PACKAGE_FFMPEG_BSFS="all"
BR2_PACKAGE_FFMPEG_PROTOCOLS="all"
BR2_PACKAGE_FFMPEG_FILTERS="all"
BR2_PACKAGE_FFMPEG_INDEVS=y
BR2_PACKAGE_FFMPEG_OUTDEVS=y
BR2_PACKAGE_FFMPEG_EXTRACONF=""
# BR2_PACKAGE_FLAC is not set # BR2_PACKAGE_FLAC is not set
# BR2_PACKAGE_FLITE is not set # BR2_PACKAGE_FLITE is not set
# BR2_PACKAGE_GMRENDER_RESURRECT is not set # BR2_PACKAGE_GMRENDER_RESURRECT is not set
@ -675,7 +694,13 @@ BR2_PACKAGE_SDL_IMAGE_PNG=y
# BR2_PACKAGE_SDL_NET is not set # BR2_PACKAGE_SDL_NET is not set
# BR2_PACKAGE_SDL_SOUND is not set # BR2_PACKAGE_SDL_SOUND is not set
BR2_PACKAGE_SDL_TTF=y BR2_PACKAGE_SDL_TTF=y
# BR2_PACKAGE_SDL2 is not set BR2_PACKAGE_SDL2=y
BR2_PACKAGE_SDL2_KMSDRM=y
BR2_PACKAGE_SDL2_GFX=y
BR2_PACKAGE_SDL2_IMAGE=y
BR2_PACKAGE_SDL2_MIXER=y
BR2_PACKAGE_SDL2_NET=y
BR2_PACKAGE_SDL2_TTF=y
# #
# Other GUIs # Other GUIs