diff --git a/multimedia/lms/Makefile b/multimedia/lms/Makefile index 2d2ad6fb61b4..fdb9122ee820 100644 --- a/multimedia/lms/Makefile +++ b/multimedia/lms/Makefile @@ -1,76 +1,76 @@ PORTNAME= lms DISTVERSIONPREFIX= v -DISTVERSION= 3.74.0 +DISTVERSION= 3.75.0 CATEGORIES= multimedia MAINTAINER= yuri@FreeBSD.org COMMENT= Lightweight Music Server to access music using a web interface WWW= https://github.com/epoupon/lms LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= googletest>0:devel/googletest LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \ libboost_program_options.so:devel/boost-libs \ libconfig++.so:devel/libconfig \ libpugixml.so:textproc/pugixml \ libtag.so:audio/taglib \ libwthttp.so:www/wt \ libxxhash.so:devel/xxhash RUN_DEPENDS= ffmpeg:multimedia/ffmpeg USES= cmake compiler:c++20-lang cpe libarchive pkgconfig USE_GITHUB= yes GH_ACCOUNT= epoupon CMAKE_OFF= ENABLE_TESTS USER= nobody GROUP= nobody SUB_LIST= USER=${USER} USE_RC_SUBR= ${PORTNAME} PLIST_SUB= USER="${USER}" GROUP="${GROUP}" OPTIONS_RADIO= IMAGE_LIB OPTIONS_RADIO_IMAGE_LIB= STB MAGICK OPTIONS_DEFAULT= STB # STB is prefered by the upstream STB_DESC= Use STB as image library (uses less memory) STB_BUILD_DEPENDS= ${LOCALBASE}/include/stb/stb_image.h:devel/stb STB_CMAKE_CMAKE_ON= -DLMS_IMAGE_BACKEND:STRING=stb MAGICK_DESC= Use GraphicsMagick++ as image library MAGICK_LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick MAGICK_CMAKE_ON= -DLMS_IMAGE_BACKEND:STRING=graphicsmagick .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400000 USES+= llvm:17 # fix the build failure on 13: error: object of type 'const lms::core::LiteralString' cannot be compared because its 'operator<=>' is implicitly deleted .else USES+= compiler:c++20-lang .endif post-patch: @${REINPLACE_CMD} -e 's|"/etc"|"${PREFIX}/etc"|' \ ${WRKSRC}/src/libs/core/include/core/SystemPaths.hpp @${REINPLACE_CMD} -e 's|"/usr/|"${PREFIX}/|; s|"/var/lms/"|"/var/db/lms/"|' \ ${WRKSRC}/conf/lms.conf @${REINPLACE_CMD} -e '/find_package/s| system||' \ -e '/target_link_libraries/s| Boost::system||' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e '/Boost::system/d' \ ${WRKSRC}/src/libs/core/CMakeLists.txt \ ${WRKSRC}/src/libs/services/auth/CMakeLists.txt post-install: # link sample ${RLN} ${STAGEDIR}${DATADIR}/lms.conf ${STAGEDIR}${PREFIX}/etc/lms.conf.sample # create the DB directory ${MKDIR} ${STAGEDIR}/var/db/lms # install the PAM config file # PAM breaks, see https://github.com/epoupon/lms/issues/210 ${RLN} ${STAGEDIR}${DATADIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/etc/pam.d/${PORTNAME} .include diff --git a/multimedia/lms/distinfo b/multimedia/lms/distinfo index 6b9d1007346b..6ed8b3fac921 100644 --- a/multimedia/lms/distinfo +++ b/multimedia/lms/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1767594944 -SHA256 (epoupon-lms-v3.74.0_GH0.tar.gz) = c10dd361d6167b21918e0539c1046a3505066fdcbcf23ef67ee8bcd1aab3cac6 -SIZE (epoupon-lms-v3.74.0_GH0.tar.gz) = 614736 +TIMESTAMP = 1772475460 +SHA256 (epoupon-lms-v3.75.0_GH0.tar.gz) = c85a3b73e8500353daeab8793087f8997ab4b78bf9f910301b9ea6df0193a947 +SIZE (epoupon-lms-v3.75.0_GH0.tar.gz) = 639715 diff --git a/multimedia/lms/files/patch-src_libs_audio_impl_utils_PcmDecodeStreamer.hpp b/multimedia/lms/files/patch-src_libs_audio_impl_utils_PcmDecodeStreamer.hpp new file mode 100644 index 000000000000..34b17ff2fc36 --- /dev/null +++ b/multimedia/lms/files/patch-src_libs_audio_impl_utils_PcmDecodeStreamer.hpp @@ -0,0 +1,17 @@ +--- src/libs/audio/impl/utils/PcmDecodeStreamer.hpp.orig 2026-03-02 18:25:37 UTC ++++ src/libs/audio/impl/utils/PcmDecodeStreamer.hpp +@@ -20,6 +20,7 @@ + #pragma once + + #include ++#include + #include + + #include +@@ -78,4 +79,4 @@ namespace lms::audio::utils + + DecodeCompleteCallback _decodeCompleteCallback; + }; +-} // namespace lms::audio::utils +\ No newline at end of file ++} // namespace lms::audio::utils diff --git a/multimedia/lms/pkg-plist b/multimedia/lms/pkg-plist index 89453589fe67..8f1a98bc14af 100644 --- a/multimedia/lms/pkg-plist +++ b/multimedia/lms/pkg-plist @@ -1,50 +1,51 @@ bin/lms bin/lms-audioinfo +bin/lms-audioplay @sample etc/lms.conf.sample etc/pam.d/lms %%DATADIR%%/approot/admin-about.xml %%DATADIR%%/approot/admin-db.xml %%DATADIR%%/approot/admin-debugtools.xml %%DATADIR%%/approot/admin-initwizard.xml %%DATADIR%%/approot/admin-medialibraries.xml %%DATADIR%%/approot/admin-medialibrary.xml %%DATADIR%%/approot/admin-scannercontroller.xml %%DATADIR%%/approot/admin-scansettings.xml %%DATADIR%%/approot/admin-tracing.xml %%DATADIR%%/approot/admin-user.xml %%DATADIR%%/approot/admin-users.xml %%DATADIR%%/approot/artist.xml %%DATADIR%%/approot/artists.xml %%DATADIR%%/approot/error.xml %%DATADIR%%/approot/explore.xml %%DATADIR%%/approot/images/unknown-artist.svg %%DATADIR%%/approot/images/unknown-cover.svg %%DATADIR%%/approot/login.xml %%DATADIR%%/approot/main.xml %%DATADIR%%/approot/mediaplayer.xml %%DATADIR%%/approot/messages.xml %%DATADIR%%/approot/messages_en-US.xml %%DATADIR%%/approot/messages_es.xml %%DATADIR%%/approot/messages_fr.xml %%DATADIR%%/approot/messages_it.xml %%DATADIR%%/approot/messages_pl.xml %%DATADIR%%/approot/messages_zh.xml %%DATADIR%%/approot/misc.xml %%DATADIR%%/approot/notifications.xml %%DATADIR%%/approot/playqueue.xml %%DATADIR%%/approot/%%CMAKE_BUILD_TYPE%%.xml %%DATADIR%%/approot/%%CMAKE_BUILD_TYPE%%s.xml %%DATADIR%%/approot/settings.xml %%DATADIR%%/approot/tracklist.xml %%DATADIR%%/approot/tracklists.xml %%DATADIR%%/approot/tracks.xml %%DATADIR%%/default.service %%DATADIR%%/docroot/css/bootstrap.solar.min.css %%DATADIR%%/docroot/css/lms.css %%DATADIR%%/docroot/js/bootstrap.bundle.min.js %%DATADIR%%/docroot/js/mediaplayer.js %%DATADIR%%/lms %%DATADIR%%/lms.conf @owner %%USER%% @group %%GROUP%% @dir /var/db/lms