musikcube: update to 0.98.0

This commit is contained in:
Subhaditya Nath 2022-07-06 00:38:18 +05:30 committed by classabbyamp
parent d595b7ee45
commit fde0939fc9
2 changed files with 4 additions and 29 deletions

View file

@ -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)

View file

@ -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 <sn03.general@gmail.com>"
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"