From 43b39199a0f204088d2ffc4f7b4518f8f1b12016 Mon Sep 17 00:00:00 2001 From: Omar Zeghouani Date: Sun, 17 Oct 2021 10:38:19 +0100 Subject: [PATCH 1/2] New package: ncspot-0.10.0 --- srcpkgs/ncspot/template | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 srcpkgs/ncspot/template diff --git a/srcpkgs/ncspot/template b/srcpkgs/ncspot/template new file mode 100644 index 000000000000..c2f36ff406da --- /dev/null +++ b/srcpkgs/ncspot/template @@ -0,0 +1,35 @@ +# Template file for 'ncspot' +pkgname=ncspot +version=0.10.0 +revision=1 +build_style=cargo +configure_args="--no-default-features" +hostmakedepends="pkg-config python3" +makedepends="openssl-devel $(vopt_if libxcb libxcb-devel) + $(vopt_if dbus dbus-devel) $(vopt_if alsa alsa-lib-devel) + $(vopt_if pulseaudio pulseaudio-devel)" +short_desc="Cross-platform ncurses Spotify client" +maintainer="Omar Zeghouani " +license="BSD-2-Clause" +homepage="https://github.com/hrkfdn/ncspot" +distfiles="https://github.com/hrkfdn/ncspot/archive/v${version}.tar.gz" +checksum=18617de29ba4d96b3c4b17139fc3b0fcdfa0adb205cbec96afb817b7981a33d2 + +build_options="libxcb dbus alsa pulseaudio notify cover" +build_options_default="libxcb dbus alsa pulseaudio notify" +desc_option_libxcb="Enable support for X clipboard access" +desc_option_cover="Enable support for cover art" + +_features="cursive/termion-backend" +_features+="$(vopt_if libxcb ',share_clipboard,share_selection')" +_features+="$(vopt_if dbus ',mpris')" +_features+="$(vopt_if alsa ',alsa_backend')" +_features+="$(vopt_if pulseaudio ',pulseaudio_backend')" +_features+="$(vopt_if notify ',notify')" +_features+="$(vopt_if cover ',cover')" + +configure_args+=" --features $_features" + +post_install() { + vlicense LICENSE +} From 8f5612f8248d9d26b073c6b4f8a8cea1381b7548 Mon Sep 17 00:00:00 2001 From: Omar Zeghouani Date: Mon, 19 Sep 2022 22:43:59 +0100 Subject: [PATCH 2/2] ncspot: update to 0.11.1. --- srcpkgs/ncspot/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/ncspot/template b/srcpkgs/ncspot/template index c2f36ff406da..08d4b1e6d935 100644 --- a/srcpkgs/ncspot/template +++ b/srcpkgs/ncspot/template @@ -1,6 +1,6 @@ # Template file for 'ncspot' pkgname=ncspot -version=0.10.0 +version=0.11.1 revision=1 build_style=cargo configure_args="--no-default-features" @@ -13,7 +13,7 @@ maintainer="Omar Zeghouani " license="BSD-2-Clause" homepage="https://github.com/hrkfdn/ncspot" distfiles="https://github.com/hrkfdn/ncspot/archive/v${version}.tar.gz" -checksum=18617de29ba4d96b3c4b17139fc3b0fcdfa0adb205cbec96afb817b7981a33d2 +checksum=cfd8d0ea65321652cd00c91b47aaa52bd073bc4afa7e971b8f0e84e0f80eb9ff build_options="libxcb dbus alsa pulseaudio notify cover" build_options_default="libxcb dbus alsa pulseaudio notify"