Use libraspberrypi-dev instead of building the libraries ourselves
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -1,6 +1,3 @@
|
||||
[submodule "userland"]
|
||||
path = userland
|
||||
url = https://github.com/raspberrypi/userland.git
|
||||
[submodule "FFmpeg"]
|
||||
path = FFmpeg
|
||||
url = https://github.com/cgutman/FFmpeg.git
|
||||
|
||||
@@ -3,12 +3,15 @@ FROM arm32v7/debian:buster
|
||||
RUN set -ex && \
|
||||
export DEBIAN_FRONTEND=noninteractive && \
|
||||
apt-get update && \
|
||||
apt-get install -y g++ make devscripts debhelper coreutils git wget nasm cmake libv4l-dev && \
|
||||
apt-get install -y libssl-dev qtbase5-dev qtquickcontrols2-5-dev qtdeclarative5-dev libqt5svg5-dev libgl1-mesa-dev libegl1-mesa-dev libxkbcommon-dev wayland-protocols libopus-dev libva-dev libvdpau-dev libsdl2-dev libsdl2-ttf-dev && \
|
||||
apt-get install -y --no-install-recommends gnupg && \
|
||||
echo "deb http://archive.raspberrypi.org/debian/ buster main" >> /etc/apt/sources.list && \
|
||||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 82B129927FA3303E && \
|
||||
apt-get update && \
|
||||
apt-get install -y g++ make devscripts fakeroot debhelper git nasm && \
|
||||
apt-get install -y --no-install-recommends libraspberrypi-dev libssl-dev qtbase5-dev qtquickcontrols2-5-dev qtdeclarative5-dev libqt5svg5-dev libgl1-mesa-dev libegl1-mesa-dev libxkbcommon-dev wayland-protocols libopus-dev libva-dev libvdpau-dev libsdl2-dev libsdl2-ttf-dev && \
|
||||
apt-get clean -y && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY userland /opt/userland
|
||||
COPY FFmpeg /opt/FFmpeg
|
||||
|
||||
COPY scripts/build-deps.sh /opt/scripts/
|
||||
|
||||
2
debian/control
vendored
2
debian/control
vendored
@@ -3,7 +3,7 @@ Maintainer: Cameron Gutman <aicommander@gmail.com>
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Standards-Version: 4.3.0
|
||||
Build-Depends: debhelper (>= 10), libssl-dev, qtbase5-dev, qtquickcontrols2-5-dev, qtdeclarative5-dev, libqt5svg5-dev, libgl1-mesa-dev, libegl1-mesa-dev, libxkbcommon-dev, wayland-protocols, libopus-dev, libva-dev, libvdpau-dev, libsdl2-dev, libsdl2-ttf-dev
|
||||
Build-Depends: debhelper (>= 10), libssl-dev, qtbase5-dev, qtquickcontrols2-5-dev, qtdeclarative5-dev, libqt5svg5-dev, libgl1-mesa-dev, libegl1-mesa-dev, libxkbcommon-dev, wayland-protocols, libopus-dev, libva-dev, libvdpau-dev, libsdl2-dev, libsdl2-ttf-dev, libraspberrypi-dev [armhf] | rbp-userland-dev-osmc [armhf]
|
||||
|
||||
Package: moonlight
|
||||
Architecture: any
|
||||
|
||||
@@ -5,14 +5,6 @@ BASE_FFMPEG_ARGS="--enable-pic --enable-static --disable-shared --disable-all --
|
||||
ARCH=`uname -m`
|
||||
echo "Building dependencies for $ARCH"
|
||||
if [ "$ARCH" == "armv7l" ]; then
|
||||
# We need to link against some Raspberry Pi userland binaries
|
||||
cd /opt/userland
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DARM64=0 -DVMCS_INSTALL_PREFIX=/usr ..
|
||||
make -j$(nproc)
|
||||
make install
|
||||
|
||||
# Enable MMAL decoders
|
||||
EXTRA_FFMPEG_ARGS="--enable-mmal --enable-decoder=h264_mmal"
|
||||
elif [ "$ARCH" == "aarch64" ]; then
|
||||
|
||||
1
userland
1
userland
Submodule userland deleted from 06bc6daa02
Reference in New Issue
Block a user