Updated doc and docker builds

This commit is contained in:
emeric
2026-02-17 23:16:52 +01:00
parent 7be4af4585
commit c338521843
5 changed files with 49 additions and 43 deletions
+5 -3
View File
@@ -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 -1
View File
@@ -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
View File
@@ -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
+1 -1
View File
@@ -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;
+2
View File
@@ -8,3 +8,5 @@ target_link_libraries(lms-audioplay PRIVATE
lmscore
Boost::program_options
)
install(TARGETS lms-audioplay DESTINATION bin)