Updated doc and docker builds
This commit is contained in:
@@ -14,17 +14,19 @@ RUN apk add --no-cache ${BUILD_PACKAGES}
|
||||
ARG LMS_BUILD_PACKAGES=" \
|
||||
gcc \
|
||||
g++ \
|
||||
musl-dev \
|
||||
alsa-lib-dev \
|
||||
benchmark-dev \
|
||||
boost-dev \
|
||||
ffmpeg-dev \
|
||||
gtest-dev \
|
||||
libarchive-dev \
|
||||
libconfig-dev \
|
||||
musl-dev \
|
||||
pugixml-dev \
|
||||
taglib-dev \
|
||||
pulseaudio-dev \
|
||||
stb \
|
||||
taglib-dev \
|
||||
wt-dev \
|
||||
gtest-dev \
|
||||
xxhash-dev"
|
||||
|
||||
COPY --from=xx / /
|
||||
|
||||
@@ -2,14 +2,15 @@ FROM archlinux:latest
|
||||
|
||||
ARG BUILD_PACKAGES="\
|
||||
benchmark \
|
||||
boost \
|
||||
clang \
|
||||
cmake \
|
||||
boost \
|
||||
ffmpeg \
|
||||
gtest \
|
||||
graphicsmagick \
|
||||
libarchive \
|
||||
libconfig \
|
||||
libpulse \
|
||||
make \
|
||||
pkgconfig \
|
||||
pugixml \
|
||||
|
||||
+36
-35
@@ -5,40 +5,40 @@ WORKDIR /tmp/workdir
|
||||
ENV PREFIX="/tmp/install"
|
||||
|
||||
ARG BUILD_PACKAGES=" \
|
||||
ca-certificates \
|
||||
curl \
|
||||
bzip2 \
|
||||
pkgconfig \
|
||||
coreutils \
|
||||
autoconf \
|
||||
automake \
|
||||
libtool \
|
||||
g++ \
|
||||
make \
|
||||
openjpeg-dev \
|
||||
libpng-dev \
|
||||
nasm \
|
||||
yasm \
|
||||
curl \
|
||||
libogg-dev \
|
||||
opus-dev \
|
||||
pugixml-dev \
|
||||
libvorbis-dev \
|
||||
lame-dev \
|
||||
cmake \
|
||||
zlib-dev \
|
||||
openssl-dev \
|
||||
boost-dev \
|
||||
bzip2 \
|
||||
ca-certificates \
|
||||
cmake \
|
||||
coreutils \
|
||||
curl \
|
||||
g++ \
|
||||
gtest-dev \
|
||||
lame-dev \
|
||||
libarchive-dev \
|
||||
libconfig-dev \
|
||||
utfcpp \
|
||||
libogg-dev \
|
||||
libpng-dev \
|
||||
libtool \
|
||||
libvorbis-dev \
|
||||
make \
|
||||
openjpeg-dev \
|
||||
openssl-dev \
|
||||
opus-dev \
|
||||
pkgconfig \
|
||||
pugixml-dev \
|
||||
pulseaudio-dev \
|
||||
nasm \
|
||||
sqlite-dev \
|
||||
gtest-dev \
|
||||
xxhash-dev"
|
||||
utfcpp \
|
||||
xxhash-dev \
|
||||
yasm \
|
||||
zlib-dev"
|
||||
|
||||
RUN apk add --no-cache --update ${BUILD_PACKAGES}
|
||||
|
||||
# ffmpeg
|
||||
# FFmpeg
|
||||
ARG FFMPEG_VERSION=6.1.3
|
||||
RUN \
|
||||
DIR=/tmp/ffmpeg && mkdir -p ${DIR} && cd ${DIR} && \
|
||||
@@ -150,23 +150,24 @@ FROM alpine:3.22 AS release
|
||||
LABEL maintainer="Emeric Poupon <itmfr@yahoo.fr>"
|
||||
|
||||
ARG RUNTIME_PACKAGES=" \
|
||||
libssl3 \
|
||||
libcrypto3 \
|
||||
openjpeg \
|
||||
libpng \
|
||||
libogg \
|
||||
opus \
|
||||
libvorbis \
|
||||
lame-libs \
|
||||
zlib \
|
||||
boost-filesystem \
|
||||
boost-iostreams \
|
||||
boost-program_options \
|
||||
boost-thread \
|
||||
lame-libs \
|
||||
libarchive \
|
||||
libconfig++ \
|
||||
libcrypto3 \
|
||||
libogg \
|
||||
libpng \
|
||||
libpulse \
|
||||
libvorbis \
|
||||
libssl3 \
|
||||
openjpeg \
|
||||
opus \
|
||||
pugixml \
|
||||
sqlite-libs"
|
||||
sqlite-libs \
|
||||
zlib"
|
||||
|
||||
ARG LMS_USER=lms
|
||||
ARG LMS_GROUP=lms
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace lms::audio
|
||||
return buildAudioOutputBackends();
|
||||
}
|
||||
|
||||
std::unique_ptr<IAudioOutputContext> createAudioOutputContext(boost::asio::io_context& ioContext, std::string_view name, AudioOutputBackend backend)
|
||||
std::unique_ptr<IAudioOutputContext> createAudioOutputContext([[maybe_unused]] boost::asio::io_context& ioContext, [[maybe_unused]] std::string_view name, AudioOutputBackend backend)
|
||||
{
|
||||
std::unique_ptr<IAudioOutputContext> context;
|
||||
|
||||
|
||||
@@ -8,3 +8,5 @@ target_link_libraries(lms-audioplay PRIVATE
|
||||
lmscore
|
||||
Boost::program_options
|
||||
)
|
||||
|
||||
install(TARGETS lms-audioplay DESTINATION bin)
|
||||
Reference in New Issue
Block a user