Skip to content

Commit

Permalink
Fix build fail.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Nov 20, 2023
1 parent bec1682 commit c05f7b8
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ harfbuzz-8.3.0
expat-2.5.0
fontconfig-2.14.2
libpng-1.6.40
*.ttf
*.srt
*.txt
ffmpeg-5.0.2
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ RUN echo "BUILDPLATFORM: $BUILDPLATFORM, TARGETPLATFORM: $TARGETPLATFORM, TARGET
WORKDIR /tmp/srs

# See https://fonts.google.com/noto/specimen/Noto+Sans+TC
ADD NotoSansTC-Regular.tar.bz2 /usr/local/share/fonts/
ADD NotoSansTC-Regular.ttf /usr/local/share/fonts/
# See https://fonts.google.com/specimen/Roboto
ADD Roboto-Regular.tar.bz2 /usr/local/share/fonts/
ADD Roboto-Regular.ttf /usr/local/share/fonts/

# Copy all FFmpeg versions and cmake and other tools in /usr/local.
COPY --from=build /usr/local /usr/local
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.base3
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,4 @@ RUN cd /tmp/fontconfig-2.14.2 && ./configure --disable-shared --enable-static &&
# For libass, which depends on libfreetype6-dev, libfribidi-dev, libharfbuzz-dev, libfontconfig1-dev.
ADD libass-0.17.1.tar.gz /tmp
RUN cd /tmp/libass-0.17.1 && ./configure --disable-shared --enable-static && make -j${JOBS} && make install

Binary file removed NotoSansTC-Regular.tar.bz2
Binary file not shown.
Binary file added NotoSansTC-Regular.ttf
Binary file not shown.
Binary file removed Roboto-Regular.tar.bz2
Binary file not shown.
Binary file added Roboto-Regular.ttf
Binary file not shown.

0 comments on commit c05f7b8

Please sign in to comment.