Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2023 04:22:07 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a993ce32573f - main - multimedia/musikcube: enable MPRIS protocol support via basu
Message-ID:  <202305300422.34U4M7Tg059897@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a993ce32573f15593b9f2c31c849320cb3037ce3

commit a993ce32573f15593b9f2c31c849320cb3037ce3
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-05-30 03:20:19 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-05-30 04:20:25 +0000

    multimedia/musikcube: enable MPRIS protocol support via basu
    
    Not a port option for consistency with other plugins.
    
    PR:             271719
    Approved by:    yuri (maintainer)
---
 multimedia/musikcube/Makefile  | 16 +++++++++++-----
 multimedia/musikcube/distinfo  |  4 ++++
 multimedia/musikcube/pkg-plist |  1 +
 3 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/multimedia/musikcube/Makefile b/multimedia/musikcube/Makefile
index ab1ce221f036..15d4677cfb0c 100644
--- a/multimedia/musikcube/Makefile
+++ b/multimedia/musikcube/Makefile
@@ -1,8 +1,12 @@
 PORTNAME=	musikcube
 DISTVERSION=	0.99.8
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	multimedia audio
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	2ee397091946.patch:-p1 # https://github.com/clangen/musikcube/pull/614
+PATCHFILES+=	a9b08fab3be3.patch:-p1 # https://github.com/clangen/musikcube/pull/614
+
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Terminal-based music player, audio engine, metadata indexer, server
 WWW=		https://musikcube.com/
@@ -13,6 +17,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 BUILD_DEPENDS=	asio>0:net/asio
 LIB_DEPENDS=	libasound.so:audio/alsa-lib \
 		libavcodec.so:multimedia/ffmpeg \
+		libbasu.so:devel/basu \
 		libboost_system.so:devel/boost-libs \
 		libcurl.so:ftp/curl \
 		libev.so:devel/libev \
@@ -33,6 +38,7 @@ LIB_DEPENDS=	libasound.so:audio/alsa-lib \
 USES=		cmake:noninja compiler:c++17-lang pkgconfig ssl
 USES+=		localbase # workaround for https://github.com/clangen/musikcube/issues/600
 USE_LDCONFIG=	yes
+CMAKE_ON=	USE_BASU
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	clangen
@@ -48,13 +54,13 @@ post-install:
 
 .if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079
 USES+=		ncurses
-CMAKE_ARGS=	-DNCURSES_DISABLE_LIB_SUFFIXES=false
-CMAKE_ON=	FREEBSD_USE_BASE_NCURSES
+CMAKE_ARGS+=	-DNCURSES_DISABLE_LIB_SUFFIXES=false
+CMAKE_ON+=	FREEBSD_USE_BASE_NCURSES
 .else
 USES+=		ncurses:port
 CFLAGS+=	-I${LOCALBASE}/include/ncurses
-CMAKE_ARGS=	-DNCURSES_DISABLE_LIB_SUFFIXES=true
-CMAKE_OFF=	FREEBSD_USE_BASE_NCURSES
+CMAKE_ARGS+=	-DNCURSES_DISABLE_LIB_SUFFIXES=true
+CMAKE_OFF+=	FREEBSD_USE_BASE_NCURSES
 .endif
 
 .include <bsd.port.mk>
diff --git a/multimedia/musikcube/distinfo b/multimedia/musikcube/distinfo
index 739696ace84d..665780f8c84d 100644
--- a/multimedia/musikcube/distinfo
+++ b/multimedia/musikcube/distinfo
@@ -1,3 +1,7 @@
 TIMESTAMP = 1681526651
 SHA256 (clangen-musikcube-0.99.8_GH0.tar.gz) = 7209a875851e03ce89db3e2150ed3c1fabec5d39c0adfd74e2f37b7b2d180f48
 SIZE (clangen-musikcube-0.99.8_GH0.tar.gz) = 4758875
+SHA256 (2ee397091946.patch) = 5044a1e060cfdd6e70243d5f99d338688a50e3fa579c6f7e14f1994410944c5a
+SIZE (2ee397091946.patch) = 762
+SHA256 (a9b08fab3be3.patch) = ee1f17b28ad2a8ce42d663a42bf6fdfa12964fef8c84d5f4b0532f770ab067a1
+SIZE (a9b08fab3be3.patch) = 2052
diff --git a/multimedia/musikcube/pkg-plist b/multimedia/musikcube/pkg-plist
index 05fd81456c9d..5d0272150ce4 100644
--- a/multimedia/musikcube/pkg-plist
+++ b/multimedia/musikcube/pkg-plist
@@ -62,6 +62,7 @@ include/musikcube/musikcore/sdk/version.h
 %%DATADIR%%/plugins/libalsaout.so
 %%DATADIR%%/plugins/libffmpegdecoder.so
 %%DATADIR%%/plugins/libhttpdatastream.so
+%%DATADIR%%/plugins/libmpris.so
 %%DATADIR%%/plugins/libnullout.so
 %%DATADIR%%/plugins/libopenmptdecoder.so
 %%DATADIR%%/plugins/libpipewireout.so



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305300422.34U4M7Tg059897>