From 992a3aa65c9a98c727dd8971c8f40cf8698a11e3 Mon Sep 17 00:00:00 2001 From: Subhaditya Nath Date: Wed, 6 Jul 2022 00:38:18 +0530 Subject: [PATCH] musikcube: update to 0.98.0 --- .../patches/fix-mpris-detection.patch | 25 ------------------- srcpkgs/musikcube/template | 8 +++--- 2 files changed, 4 insertions(+), 29 deletions(-) delete mode 100644 srcpkgs/musikcube/patches/fix-mpris-detection.patch diff --git a/srcpkgs/musikcube/patches/fix-mpris-detection.patch b/srcpkgs/musikcube/patches/fix-mpris-detection.patch deleted file mode 100644 index dc7035d06693..000000000000 --- a/srcpkgs/musikcube/patches/fix-mpris-detection.patch +++ /dev/null @@ -1,25 +0,0 @@ -In Void linux, elogind provides libsystemd - -diff --git a/.cmake/AddOsSpecificPlugins.cmake b/.cmake/AddOsSpecificPlugins.cmake -index ce0eea9b..5b067671 100644 ---- a/.cmake/AddOsSpecificPlugins.cmake -+++ b/.cmake/AddOsSpecificPlugins.cmake -@@ -6,7 +6,7 @@ endif() - - # systemd / MPRIS detection - if (NOT ENABLE_MPRIS MATCHES "false") -- find_library(LIB_SYSTEMD NAMES systemd) -+ find_library(LIB_SYSTEMD NAMES elogind) - if (NOT LIB_SYSTEMD MATCHES "LIB_SYSTEMD-NOTFOUND") - message(STATUS "[mpris] systemd found at " ${LIB_SYSTEMD}) - message(STATUS "[mpris] setting ENABLE_MPRIS=true") -diff --git a/src/plugins/mpris/CMakeLists.txt b/src/plugins/mpris/CMakeLists.txt -index fdee62d2..7a941d08 100644 ---- a/src/plugins/mpris/CMakeLists.txt -+++ b/src/plugins/mpris/CMakeLists.txt -@@ -6,4 +6,4 @@ find_package(PkgConfig) - pkg_check_modules (SYSTEMD REQUIRED libsystemd) - - add_library(mpris SHARED ${mpris_SOURCES}) --target_link_libraries(mpris systemd) -+target_link_libraries(mpris elogind) diff --git a/srcpkgs/musikcube/template b/srcpkgs/musikcube/template index 01afa616123a..2b75cbd976ea 100644 --- a/srcpkgs/musikcube/template +++ b/srcpkgs/musikcube/template @@ -1,11 +1,10 @@ # Template file for 'musikcube' pkgname=musikcube -version=0.97.0 +version=0.98.0 revision=1 build_style=cmake make_cmd=make -configure_args="-DNO_NCURSESW=1 -DENABLE_SNDIO=true -DENABLE_PIPEWIRE=true - -DENABLE_BUNDLED_TAGLIB=false" +configure_args="-DNO_NCURSESW=1 -DENABLE_BUNDLED_TAGLIB=false" hostmakedepends="pkg-config" makedepends="boost-devel libogg-devel libmicrohttpd-devel ffmpeg-devel openssl-devel pulseaudio-devel lame-devel zlib-devel alsa-lib-devel @@ -16,8 +15,9 @@ short_desc="Terminal-based music player in c++" maintainer="Subhaditya Nath " license="BSD-3-Clause" homepage="https://musikcube.com/" +changelog="https://raw.githubusercontent.com/clangen/musikcube/master/CHANGELOG.txt" distfiles="https://github.com/clangen/musikcube/archive/${version}.tar.gz" -checksum=ab170c5100251fcd6c8fd3c32eea45e9854c6c6272c6b0970bffbfc55d0b2ec5 +checksum=a4ae9d6d0fa5ce99de2e7bbc1de75cc8638704a2284b38a51178e23bbe55499c build_options="elogind" desc_option_elogind="Support MPRIS interface via elogind" build_options_default="elogind"