diff --git a/multimedia/lms/Makefile b/multimedia/lms/Makefile index 7eacaefe410d..2fea87dc9a4f 100644 --- a/multimedia/lms/Makefile +++ b/multimedia/lms/Makefile @@ -1,69 +1,69 @@ PORTNAME= lms DISTVERSIONPREFIX= v -DISTVERSION= 3.67.0 +DISTVERSION= 3.68.1 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_system.so:devel/boost-libs \ libconfig++.so:devel/libconfig \ 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 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 cf340db335b4..f5a1f18c6685 100644 --- a/multimedia/lms/distinfo +++ b/multimedia/lms/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1751064198 -SHA256 (epoupon-lms-v3.67.0_GH0.tar.gz) = e6ba4ee7ad67d28a763d038fd227bf126c194351d6f82ad90dfaefd03f330175 -SIZE (epoupon-lms-v3.67.0_GH0.tar.gz) = 534828 +TIMESTAMP = 1753241425 +SHA256 (epoupon-lms-v3.68.1_GH0.tar.gz) = 97247ccea9c7baeeecaf2c4bb81a809a4d616c16353887bed12cfc37329eeffd +SIZE (epoupon-lms-v3.68.1_GH0.tar.gz) = 544716 diff --git a/multimedia/lms/pkg-plist b/multimedia/lms/pkg-plist index 747ba00a3d43..0f469d4f4f7c 100644 --- a/multimedia/lms/pkg-plist +++ b/multimedia/lms/pkg-plist @@ -1,47 +1,49 @@ bin/lms bin/lms-metadata @sample etc/lms.conf.sample etc/pam.d/lms +%%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