From a3e0a572510cd8a0607f49ef54c3ff3fa6541780 Mon Sep 17 00:00:00 2001 From: amak Date: Sun, 4 Sep 2022 19:28:29 +1000 Subject: [PATCH] snapcast: update to 0.26.0 --- .../patches/meta_mpd.py-permission-fix.patch | 19 +++++++++++++++++++ srcpkgs/snapcast/template | 4 ++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/snapcast/patches/meta_mpd.py-permission-fix.patch diff --git a/srcpkgs/snapcast/patches/meta_mpd.py-permission-fix.patch b/srcpkgs/snapcast/patches/meta_mpd.py-permission-fix.patch new file mode 100644 index 000000000000..ebff8013f574 --- /dev/null +++ b/srcpkgs/snapcast/patches/meta_mpd.py-permission-fix.patch @@ -0,0 +1,19 @@ +This patch fixes an issue where meta_mpd.py is installed with executable +permissions only. This results in a 'Permission denied' message for +03-rewrite-python-shebang, and a fatal error for xbps-create when processing +the file hash. Fixed upstream in 7ab3daa. + +https://github.com/badaix/snapcast/issues/1021 + +diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt +index e1271b80..25432cd5 100644 +--- a/server/CMakeLists.txt ++++ b/server/CMakeLists.txt +@@ -117,6 +117,6 @@ else() + install(FILES etc/snapserver.conf COMPONENT server DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}) + install(FILES etc/index.html COMPONENT server DESTINATION ${CMAKE_INSTALL_DATADIR}/snapserver) + install(DIRECTORY etc/snapweb/ DESTINATION ${CMAKE_INSTALL_DATADIR}/snapserver/snapweb) +- install(FILES etc/plug-ins/meta_mpd.py PERMISSIONS OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE DESTINATION ${CMAKE_INSTALL_DATADIR}/snapserver/plug-ins/) ++ install(FILES etc/plug-ins/meta_mpd.py PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE DESTINATION ${CMAKE_INSTALL_DATADIR}/snapserver/plug-ins/) + #install(FILES ../debian/snapserver.service DESTINATION ${SYSTEMD_SERVICES_INSTALL_DIR}) + endif() diff --git a/srcpkgs/snapcast/template b/srcpkgs/snapcast/template index 918f02061082..92c97515624f 100644 --- a/srcpkgs/snapcast/template +++ b/srcpkgs/snapcast/template @@ -1,6 +1,6 @@ # Template file for 'snapcast' pkgname=snapcast -version=0.25.0 +version=0.26.0 revision=1 build_style=cmake configure_args="-DCMAKE_INSTALL_SYSCONFDIR=/etc -DBUILD_WITH_TREMOR=OFF @@ -15,7 +15,7 @@ maintainer="amak " license="GPL-3.0-or-later" homepage="https://github.com/badaix/snapcast" distfiles="https://github.com/badaix/snapcast/archive/v${version}.tar.gz" -checksum=c4e449cb693e091261727421f4965492be049632537e034fa9c59c92d091a846 +checksum=166353267a5c461a3a0e7cbd05d78c4bfdaebeda078801df3b76820b54f27683 build_options="avahi pulseaudio" build_options_default="avahi pulseaudio"