cmus: add elogind option to interface with MPRIS
Note: I couldn't adopt this package
This commit is contained in:
parent
7af6efb3be
commit
2867149d8d
1 changed files with 7 additions and 12 deletions
|
@ -1,18 +1,23 @@
|
||||||
# Template file for 'cmus'
|
# Template file for 'cmus'
|
||||||
pkgname=cmus
|
pkgname=cmus
|
||||||
version=2.8.0
|
version=2.8.0
|
||||||
revision=1
|
revision=2
|
||||||
|
build_style=configure
|
||||||
|
configure_args="prefix=/usr LD=$CC"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="ncurses-devel faad2-devel libflac-devel libao-devel libmad-devel
|
makedepends="ncurses-devel faad2-devel libflac-devel libao-devel libmad-devel
|
||||||
libmodplug-devel libmp4v2-devel libmpcdec-devel pulseaudio-devel
|
libmodplug-devel libmp4v2-devel libmpcdec-devel pulseaudio-devel
|
||||||
opusfile-devel wavpack-devel alsa-lib-devel libvorbis-devel ffmpeg-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"
|
short_desc="Small, fast and powerful console music player"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://cmus.github.io"
|
homepage="https://cmus.github.io"
|
||||||
distfiles="https://github.com/cmus/cmus/archive/v${version}.tar.gz"
|
distfiles="https://github.com/cmus/cmus/archive/v${version}.tar.gz"
|
||||||
checksum=756ce2c6241b2104dc19097488225de559ac1802a175be0233cfb6fbc02f3bd2
|
checksum=756ce2c6241b2104dc19097488225de559ac1802a175be0233cfb6fbc02f3bd2
|
||||||
|
build_options="elogind"
|
||||||
|
build_options_default="elogind"
|
||||||
|
desc_option_elogind="Support MPRIS interface via elogind"
|
||||||
|
|
||||||
case $XBPS_TARGET_MACHINE in
|
case $XBPS_TARGET_MACHINE in
|
||||||
armv6*)
|
armv6*)
|
||||||
|
@ -22,16 +27,6 @@ case $XBPS_TARGET_MACHINE in
|
||||||
;;
|
;;
|
||||||
esac
|
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() {
|
cmus-libao_package() {
|
||||||
short_desc+=" - libao output plugin"
|
short_desc+=" - libao output plugin"
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
|
Loading…
Reference in a new issue