Github messages for voidlinux
 help / color / mirror / Atom feed
From: Yuyu <Yuyu@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: spotify-adblock-1.0.0
Date: Wed, 06 Oct 2021 12:42:58 +0200	[thread overview]
Message-ID: <20211006104258.CDR6OgNnQcIp_4NstpOsESy0W8vrX47UTkK7Ds0n4ro@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33348@inbox.vuxu.org>

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

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

https://github.com/Yuyu/void-packages master
https://github.com/void-linux/void-packages/pull/33348

New package: spotify-adblock-1.0.0
#### 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

#### Notes
This theoretically replaces [spotify-adblock-linux](https://github.com/void-linux/void-packages/tree/master/srcpkgs/spotify-adblock-linux), which has been deprecated by its creator (see https://github.com/abba23/spotify-adblock-linux) and replaced with this implementation in Rust.

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

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

From a4b9b3311c7036ac14ceab7228cba11621bc1da5 Mon Sep 17 00:00:00 2001
From: Yuyu <yuyu@yyzr.de>
Date: Tue, 5 Oct 2021 17:34:45 +0200
Subject: [PATCH] New package: spotify-adblock-1.0.0

---
 .../files/spotify-adblock.desktop              | 11 +++++++++++
 srcpkgs/spotify-adblock/template               | 18 ++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 100644 srcpkgs/spotify-adblock/files/spotify-adblock.desktop
 create mode 100644 srcpkgs/spotify-adblock/template

diff --git a/srcpkgs/spotify-adblock/files/spotify-adblock.desktop b/srcpkgs/spotify-adblock/files/spotify-adblock.desktop
new file mode 100644
index 000000000000..7a1f4cffe2fd
--- /dev/null
+++ b/srcpkgs/spotify-adblock/files/spotify-adblock.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Type=Application
+Name=Spotify (adblock)
+GenericName=Music Player
+Icon=spotify-client
+TryExec=spotify
+Exec=env LD_LIBRARY_PATH=/usr/libexec/spotify env LD_PRELOAD=/usr/lib/libspotifyadblock.so /usr/libexec/spotify/spotify %U
+Terminal=false
+MimeType=x-scheme-handler/spotify;
+Categories=Audio;Music;Player;AudioVideo;
+StartupWMClass=spotify
diff --git a/srcpkgs/spotify-adblock/template b/srcpkgs/spotify-adblock/template
new file mode 100644
index 000000000000..dd157b5c7241
--- /dev/null
+++ b/srcpkgs/spotify-adblock/template
@@ -0,0 +1,18 @@
+# Template file for 'spotify-adblock'
+pkgname=spotify-adblock
+version=1.0.0
+revision=1
+build_style=cargo
+conf_files="/etc/spotify-adblock/config.toml"
+short_desc="Spotify adblocker for Linux"
+maintainer="Yuyu <yuyu@yyzr.de>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/abba23/spotify-adblock"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=f1a150f6f31becf7e0de4f993a346285fc3b4669516b63649c128c932c32e7f0
+
+do_install() {
+	vinstall target/${XBPS_RUST_TARGET}/release/libspotifyadblock.so 644 usr/lib
+	vinstall config.toml 644 etc/spotify-adblock/
+	vinstall ${FILESDIR}/spotify-adblock.desktop 644 usr/share/applications/
+}

  parent reply	other threads:[~2021-10-06 10:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-05 16:12 [PR PATCH] " Yuyu
2021-10-06 10:42 ` [PR PATCH] [Updated] " Yuyu
2021-10-06 10:42 ` Yuyu [this message]
2022-06-07  2:12 ` github-actions
2022-06-08 13:12 ` [PR PATCH] [Closed]: " Yuyu

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=20211006104258.CDR6OgNnQcIp_4NstpOsESy0W8vrX47UTkK7Ds0n4ro@z \
    --to=yuyu@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).