diff --git a/multimedia/lms/Makefile b/multimedia/lms/Makefile index cbb6f8ae410b..e7731f37be69 100644 --- a/multimedia/lms/Makefile +++ b/multimedia/lms/Makefile @@ -1,76 +1,76 @@ PORTNAME= lms DISTVERSIONPREFIX= v -DISTVERSION= 3.68.1 -PORTREVISION= 2 +DISTVERSION= 3.71.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 f5a1f18c6685..6d2b1e78f36e 100644 --- a/multimedia/lms/distinfo +++ b/multimedia/lms/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1753241425 -SHA256 (epoupon-lms-v3.68.1_GH0.tar.gz) = 97247ccea9c7baeeecaf2c4bb81a809a4d616c16353887bed12cfc37329eeffd -SIZE (epoupon-lms-v3.68.1_GH0.tar.gz) = 544716 +TIMESTAMP = 1762757153 +SHA256 (epoupon-lms-v3.71.0_GH0.tar.gz) = 126c61e32be3f8e925e686e468b621088ee7cbcc49ab539186b7ea8dcff8311e +SIZE (epoupon-lms-v3.71.0_GH0.tar.gz) = 578246 diff --git a/multimedia/lms/pkg-plist b/multimedia/lms/pkg-plist index 0f469d4f4f7c..8c1d227f2d58 100644 --- a/multimedia/lms/pkg-plist +++ b/multimedia/lms/pkg-plist @@ -1,49 +1,50 @@ bin/lms bin/lms-metadata @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