Skip to content

Commit

Permalink
Fixed runtime libraries and errors with HandBrake 1.8.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlesage committed May 26, 2024
1 parent d7455d5 commit 6f36c3f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,20 @@ WORKDIR /tmp
RUN \
add-pkg \
libstdc++ \
gtk+3.0 \
gtk4.0 \
mesa-dri-gallium \
libgudev \
dbus-glib \
libnotify \
libsamplerate \
libass \
libdrm \
jansson \
xz \
numactl \
libturbojpeg \
# Media codecs:
libtheora \
lame \
lame-libs \
opus \
libvorbis \
speex \
Expand All @@ -117,7 +118,10 @@ RUN \
bash \
coreutils \
findutils \
expect
expect \
&& \
# Save some space by removing unused DRI drivers.
find /usr/lib/xorg/modules/dri/ -type f ! -name swrast_dri.so ! -name libgallium_dri.so -exec echo "Removing {}..." ';' -delete

# Generate and install favicons.
RUN \
Expand Down
5 changes: 5 additions & 0 deletions rootfs/startapp.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/bin/sh

export GTK_A11Y=none
export LIBGL_ALWAYS_SOFTWARE=true

COMMON_ARGS="--config /config"

cd /storage
Expand All @@ -7,3 +11,4 @@ if [ "${HANDBRAKE_DEBUG:-0}" -eq 1 ]; then
else
exec /usr/bin/ghb $COMMON_ARGS
fi
# vim:ft=sh:ts=4:sw=4:et:sts=4

0 comments on commit 6f36c3f

Please sign in to comment.