From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] cmus: add elogind option to interface with MPRIS
Date: Wed, 16 Oct 2019 03:31:17 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15509@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 338 bytes --]
There is a new pull request by zdtcd against master on the void-packages repository
https://github.com/zdtcd/void-packages cmus
https://github.com/void-linux/void-packages/pull/15509
cmus: add elogind option to interface with MPRIS
Fix: #15371
A patch file from https://github.com/void-linux/void-packages/pull/15509.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-cmus-15509.patch --]
[-- Type: text/x-diff, Size: 1839 bytes --]
From be3e5f2929c0fae8043ded31380b04399aa5a1ca Mon Sep 17 00:00:00 2001
From: Doan Tran Cong Danh <congdanhqx@gmail.com>
Date: Wed, 16 Oct 2019 08:30:08 +0700
Subject: [PATCH] cmus: add elogind option to interface with MPRIS
---
srcpkgs/cmus/template | 21 ++++++++-------------
1 file changed, 8 insertions(+), 13 deletions(-)
diff --git a/srcpkgs/cmus/template b/srcpkgs/cmus/template
index 811a16d7a82..6474bc07f73 100644
--- a/srcpkgs/cmus/template
+++ b/srcpkgs/cmus/template
@@ -1,18 +1,23 @@
# Template file for 'cmus'
pkgname=cmus
version=2.8.0
-revision=1
+revision=2
+build_style=configure
+configure_args="prefix=/usr LD=$CC"
hostmakedepends="pkg-config"
makedepends="ncurses-devel faad2-devel libflac-devel libao-devel libmad-devel
libmodplug-devel libmp4v2-devel libmpcdec-devel pulseaudio-devel
opusfile-devel wavpack-devel alsa-lib-devel libvorbis-devel ffmpeg-devel
- sndio-devel"
+ sndio-devel $(vopt_if elogind elogind-devel)"
short_desc="Small, fast and powerful console music player"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Doan Tran Cong Danh <congdanhqx@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://cmus.github.io"
distfiles="https://github.com/cmus/cmus/archive/v${version}.tar.gz"
checksum=756ce2c6241b2104dc19097488225de559ac1802a175be0233cfb6fbc02f3bd2
+build_options="elogind"
+build_options_default="elogind"
+desc_option_elogind="Support MPRIS interface via elogind"
case $XBPS_TARGET_MACHINE in
armv6*)
@@ -22,16 +27,6 @@ case $XBPS_TARGET_MACHINE in
;;
esac
-do_configure() {
- ./configure prefix=/usr
-}
-do_build() {
- make GCC=$CC CC=$CC LD=$CC LDFLAGS="$LDFLAGS" ${makejobs}
-}
-do_install() {
- make DESTDIR=${DESTDIR} install
-}
-
cmus-libao_package() {
short_desc+=" - libao output plugin"
depends="${sourcepkg}>=${version}_${revision}"
next reply other threads:[~2019-10-16 1:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-16 1:31 voidlinux-github [this message]
2019-10-16 3:10 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-16 3:10 ` voidlinux-github
2019-10-17 11:04 ` [PR PATCH] [Merged]: " voidlinux-github
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15509@inbox.vuxu.org \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).