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