Github messages for voidlinux
 help / color / mirror / Atom feed
From: ram02z <ram02z@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: ncspot-0.9.0
Date: Sun, 17 Oct 2021 14:36:15 +0200	[thread overview]
Message-ID: <20211017123615.ySnfRAlWcW_yNDAXfSQmuUFXC-sJTC_7evCGKs_Xgv0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33600@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1636 bytes --]

There is an updated pull request by ram02z against master on the void-packages repository

https://github.com/ram02z/void-packages ncspot
https://github.com/void-linux/void-packages/pull/33600

New package: ncspot-0.9.0
<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

Using the termion as the backend instead of ncurses which doesn't crosscompile. See https://github.com/void-linux/void-packages/pull/23415

Opted to optimize the binary size (taken from alpine's APKBUILD).

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
#### Does it build and run successfully? 
- [x] I built this PR locally for my native architecture, (x86_64)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64
-->

A patch file from https://github.com/void-linux/void-packages/pull/33600.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ncspot-33600.patch --]
[-- Type: text/x-diff, Size: 2642 bytes --]

From da19572e47478ee322738bf7d34e322e704cde84 Mon Sep 17 00:00:00 2001
From: Omar Zeghouani <omarzeghouanii@gmail.com>
Date: Sun, 17 Oct 2021 10:38:19 +0100
Subject: [PATCH] New package: ncspot-0.9.0

---
 .../patches/0001-remove-pancurses.patch       | 14 ++++++++
 srcpkgs/ncspot/template                       | 35 +++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 srcpkgs/ncspot/patches/0001-remove-pancurses.patch
 create mode 100644 srcpkgs/ncspot/template

diff --git a/srcpkgs/ncspot/patches/0001-remove-pancurses.patch b/srcpkgs/ncspot/patches/0001-remove-pancurses.patch
new file mode 100644
index 000000000000..b86abab05490
--- /dev/null
+++ b/srcpkgs/ncspot/patches/0001-remove-pancurses.patch
@@ -0,0 +1,14 @@
+pancurses pulls ncurses-rs which breaks cross (termion used instead)
+
+diff --git a/Cargo.toml b/Cargo.toml
+index 576332a..8023123 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -47,7 +47,6 @@ strum_macros = "0.22.0"
+ regex = "1"
+ ioctl-rs = { version = "0.2", optional = true }
+ serde_cbor = "0.11.2"
+-pancurses = { version = "0.17.0", features = ["win32"] }
+
+ [dependencies.cursive]
+ version = "0.16.3"
diff --git a/srcpkgs/ncspot/template b/srcpkgs/ncspot/template
new file mode 100644
index 000000000000..1d74fbc0c028
--- /dev/null
+++ b/srcpkgs/ncspot/template
@@ -0,0 +1,35 @@
+# Template file for 'ncspot'
+pkgname=ncspot
+version=0.9.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 <omarzeghouanii@gmail.com>"
+license="BSD-2-Clause"
+homepage="https://github.com/hrkfdn/ncspot"
+distfiles="https://github.com/hrkfdn/ncspot/archive/v${version}.tar.gz"
+checksum=81655d9fab4903c6ac22321f1a6801aaedfbd88d4f5f768ae8303104fa904a53
+
+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
+}

  reply	other threads:[~2021-10-17 12:36 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-17  9:42 [PR PATCH] " ram02z
2021-10-17 12:36 ` ram02z [this message]
2021-10-29  2:04 ` [PR REVIEW] " abenson
2021-10-29 10:13 ` [PR PATCH] [Updated] " ram02z
2021-10-30  9:49 ` ram02z
2021-11-30  0:43 ` ram02z
2021-12-12  1:39 ` pfr-dev
2021-12-15  7:13 ` 0323pin
2022-01-04 18:40 ` [PR PATCH] [Updated] " ram02z
2022-01-05  0:46 ` New package: ncspot-0.9.4 ram02z
2022-01-20 12:12 ` ram02z
2022-01-20 13:23 ` 0323pin
2022-01-20 13:41 ` 0323pin
2022-01-20 13:42 ` ram02z
2022-01-20 13:50 ` 0323pin
2022-02-19 12:40 ` [PR PATCH] [Updated] " ram02z
2022-03-10 10:36 ` [PR PATCH] [Updated] New package: ncspot-0.9.5 ram02z
2022-03-10 12:30 ` New package: ncspot-0.9.6 ram02z
2022-03-28 14:22 ` [PR PATCH] [Updated] " ram02z
2022-03-28 14:23 ` ram02z
2022-04-05  9:51 ` pfr-dev
2022-04-05  9:53 ` pfr-dev
2022-04-05  9:53 ` pfr-dev
2022-04-05  9:53 ` pfr-dev
2022-04-05 20:18 ` New package: ncspot-0.9.7 abenson
2022-05-26 10:02 ` [PR PATCH] [Updated] " ram02z
2022-05-26 10:03 ` [PR PATCH] [Updated] New package: ncspot-0.9.8 ram02z
2022-06-11 15:13 ` ram02z
2022-07-01  3:55 ` New package: ncspot-0.10.0 wael444
2022-09-19 21:44 ` [PR PATCH] [Updated] " ram02z
2022-09-19 21:46 ` [PR PATCH] [Updated] New package: ncspot-0.11.1 ram02z
2022-12-19  1:54 ` github-actions
2022-12-19  1:56 ` ram02z
2022-12-19  1:56 ` ram02z
2022-12-28  9:56 ` [PR REVIEW] " classabbyamp
2022-12-28 10:23 ` 0323pin
2022-12-28 10:38 ` classabbyamp
2022-12-28 12:13 ` 0323pin
2023-01-16 13:42 ` [PR PATCH] [Updated] " ram02z
2023-01-16 13:44 ` [PR REVIEW] " ram02z
2023-01-16 13:44 ` ram02z
2023-01-16 13:44 ` [PR PATCH] [Updated] " ram02z
2023-01-16 15:03 ` [PR REVIEW] New package: ncspot-0.11.2 wael444
2023-01-16 16:42 ` classabbyamp
2023-01-16 16:43 ` [PR PATCH] [Updated] " ram02z
2023-01-16 16:43 ` [PR REVIEW] " classabbyamp
2023-01-16 16:43 ` ram02z
2023-01-16 16:45 ` classabbyamp
2023-01-16 16:46 ` ram02z
2023-01-16 16:47 ` classabbyamp
2023-01-16 16:47 ` 0323pin
2023-01-16 16:56 ` paper42
2023-01-16 17:03 ` 0323pin
2023-01-16 17:22 ` 0323pin
2023-01-16 17:57 ` paper42
2023-01-16 18:15 ` 0323pin
2023-01-16 18:15 ` 0323pin
2023-01-17 17:05 ` [PR PATCH] [Updated] " ram02z
2023-01-17 17:10 ` ram02z
2023-01-17 17:38 ` [PR REVIEW] " ram02z
2023-01-17 17:50 ` [PR PATCH] [Merged]: " classabbyamp
2023-01-17 20:19 ` atweiden
2023-01-17 20:28 ` classabbyamp
2023-01-17 20:41 ` classabbyamp
2023-01-17 21:11 ` 0323pin
2023-01-17 21:13 ` classabbyamp

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=20211017123615.ySnfRAlWcW_yNDAXfSQmuUFXC-sJTC_7evCGKs_Xgv0@z \
    --to=ram02z@users.noreply.github.com \
    --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).