From nobody Mon Dec 20 12:20:59 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1BDF218E9BFA; Mon, 20 Dec 2021 12:21:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JHdwW5rHzz4lbc; Mon, 20 Dec 2021 12:20:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A9F1C161CD; Mon, 20 Dec 2021 12:20:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BKCKxnP005684; Mon, 20 Dec 2021 12:20:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BKCKxbd005683; Mon, 20 Dec 2021 12:20:59 GMT (envelope-from git) Date: Mon, 20 Dec 2021 12:20:59 GMT Message-Id: <202112201220.1BKCKxbd005683@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 0d52a1007da8 - main - audio/cmus: enable MPRIS support List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0d52a1007da8e2731e07900b906a7450574a8630 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640002859; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4v3UKlRdJB6/Z4jxUmL/p+NEihB/U15FqhPFxw3er38=; b=OeRpA5tdopa/jaUHx+0ZxDoYVoi6cHBexsCddKloxXfVaoa3RUoAOitWZQBJQQyQ8wUAYD SASPnLt25OEVg0yEnAvZKnMda+26cm81AojINQ9/CRjd7TjDiAPdCcVXLBtE/0EyF21fI0 6FufM3tXLADGfDS4AA7H4bvjVHyx60kljDKhpx5ROWiDV6lbz+yD+zTsflkdRbJThwff/i CPgtDSxlnoeccANDYEmr4M6Ks0Bn2UDwbfld4krKE3mW5vIbbHkn90oVVIbr25r48mfB93 5Ws/xWL8+BWou1/dYJwIt2zyOtzIlmVKkdTWTqFLWLz94P4MwuWW2BCHhS9vmQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640002859; a=rsa-sha256; cv=none; b=B60Y4yw0NjZLwrd7W+ViTA91KBGcrQIa6XOpsS1VmBSErTUtSAoCCChMAb60J0P9YqABoN x8CDOc0XILtYu6IlKAjAs833hfK1Fx6oI3c8Tq6I4lVWtxmqrxYogBPRCBgrwIdA0iadDA taa5pH+T9P+E++KJkabONZALXTYdRkGfmYt4yghMVdpM2iwevN/f2Avw7qy4cBowWiiAhc Mvqov+50Ui8bqL6foCCswmtpvwRcXiZNSh1rQJZSbV645Yi0mD7y8DZbsCZcUbbChJ6zLt +m1GeNtNMYujuchzDagv1mb25/DJuFUltvgo+ONKTuxo8qxFDJiodtdnN2hJXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=0d52a1007da8e2731e07900b906a7450574a8630 commit 0d52a1007da8e2731e07900b906a7450574a8630 Author: Jan Beich AuthorDate: 2021-12-20 12:14:02 +0000 Commit: Jan Beich CommitDate: 2021-12-20 12:20:35 +0000 audio/cmus: enable MPRIS support Obtained from: Gentoo --- audio/cmus/Makefile | 10 +++++++--- audio/cmus/files/patch-basu | 24 ++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 3 deletions(-) diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile index 27d120436710..63b2215b80a6 100644 --- a/audio/cmus/Makefile +++ b/audio/cmus/Makefile @@ -3,7 +3,7 @@ PORTNAME= cmus DISTVERSIONPREFIX= v DISTVERSION= 2.9.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MAINTAINER= ports@FreeBSD.org @@ -39,8 +39,8 @@ _CMUS_CONFIGURE_OPTS= AAC ALSA AO ARTS CDDB CDIO COREAUDIO CUE DISCID \ CONFIGURE_ARGS+= CONFIG_${opt}=n .endfor -OPTIONS_DEFINE= EXAMPLES -OPTIONS_DEFAULT= AAC FFMPEG FLAC MODPLUG MP4 OPUS OSS SNDIO VORBIS WAV +OPTIONS_DEFINE= BASU EXAMPLES +OPTIONS_DEFAULT= AAC BASU FFMPEG FLAC MODPLUG MP4 OPUS OSS SNDIO VORBIS WAV OPTIONS_SUB= yes OPTIONS_GROUP= OUT IN @@ -49,6 +49,7 @@ OPTIONS_GROUP_IN= AAC CDDB CDIO CUE DISCID FFMPEG FLAC MAD MIKMOD \ MODPLUG MP4 MUSEPACK OPUS SAMPLERATE TREMOR \ VORBIS WAV WAVPACK +BASU_DESC= MPRIS protocol support via basu DISCID_DESC= libdiscid CDDA identification support IN_DESC= Input plugins OUT_DESC= Output plugins @@ -59,6 +60,9 @@ AAC_LIB_DEPENDS= libfaad.so:audio/faad AO_CONFIGURE_ON= CONFIG_AO=y AO_LIB_DEPENDS= libao.so:audio/libao +BASU_CONFIGURE_ON= CONFIG_MPRIS=y +BASU_LIB_DEPENDS= libbasu.so:devel/basu + CDDB_CONFIGURE_ON= CONFIG_CDDB=y CDDB_LIB_DEPENDS= libcddb.so:audio/libcddb diff --git a/audio/cmus/files/patch-basu b/audio/cmus/files/patch-basu new file mode 100644 index 000000000000..cdd89e83f7e3 --- /dev/null +++ b/audio/cmus/files/patch-basu @@ -0,0 +1,24 @@ +https://github.com/cmus/cmus/issues/1133 + +--- configure.orig 2021-01-22 19:34:38 UTC ++++ configure +@@ -289,7 +289,7 @@ check_vorbis() + + check_libsystemd() + { +- pkg_config LIBSYSTEMD "libsystemd" || pkg_config LIBSYSTEMD "libelogind >= 239.3" ++ pkg_config LIBSYSTEMD "libsystemd" || pkg_config LIBSYSTEMD "libelogind >= 239.3" || pkg_config LIBSYSTEMD "basu" + return $? + } + +--- mpris.c.orig 2021-01-22 19:34:38 UTC ++++ mpris.c +@@ -15,7 +15,7 @@ + * along with this program; if not, see . + */ + +-#include ++#include + + #include "mpris.h" + #include "ui_curses.h"