Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: spotify-adblock-linux-1.0
Date: Fri, 27 Sep 2019 22:04:28 +0200	[thread overview]
Message-ID: <20190927200428.I2aXguRGl2ETQyx9blQiPUzpegrb6BmabcKgRdQb6gg@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-14768@inbox.vuxu.org>

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

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

https://github.com/LinArcX/void-packages spotify-adblock
https://github.com/void-linux/void-packages/pull/14768

New package: spotify-adblock-linux-1.0
Related to:
https://github.com/void-linux/void-packages/issues/14683

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

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

From 4b8bcc5a1bfbab9b74d409f05c7a027b988adaeb Mon Sep 17 00:00:00 2001
From: linarcx <linarcx@riseup.net>
Date: Fri, 27 Sep 2019 23:04:58 +0330
Subject: [PATCH] New package: spotify-adblock-linux-1.0

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

diff --git a/srcpkgs/spotify-adblock-linux/files/spotify-adblock.desktop b/srcpkgs/spotify-adblock-linux/files/spotify-adblock.desktop
new file mode 100644
index 00000000000..074ba5775a5
--- /dev/null
+++ b/srcpkgs/spotify-adblock-linux/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_PRELOAD=/usr/lib/spotify-adblock.so spotify %U
+Terminal=false
+MimeType=x-scheme-handler/spotify;
+Categories=Audio;Music;Player;AudioVideo;
+StartupWMClass=spotify
diff --git a/srcpkgs/spotify-adblock-linux/template b/srcpkgs/spotify-adblock-linux/template
new file mode 100644
index 00000000000..fc61feb19c3
--- /dev/null
+++ b/srcpkgs/spotify-adblock-linux/template
@@ -0,0 +1,20 @@
+# Template file for 'spotify-adblock-linux'
+pkgname=spotify-adblock-linux
+version=1.0
+revision=1
+build_style=gnu-makefile
+makedepends="libcurl-devel"
+short_desc="Spotify adblocker for Linux"
+maintainer="linarcx <linarcx@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/abba23/spotify-adblock-linux"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=811358fd2da2ca83e76e3a0dd5ce03ddab39fc19ae9831dd0ccaf4b74abd0804
+
+CFLAGS+=" -shared -fPIC"
+
+do_install() {
+	vmkdir usr/lib
+	vcopy "*.so" usr/lib
+	vinstall ${FILESDIR}/spotify-adblock.desktop 644 usr/share/applications/
+}

  parent reply	other threads:[~2019-09-27 20:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-27 18:58 [PR PATCH] " voidlinux-github
2019-09-27 19:03 ` [PR PATCH] [Updated] " voidlinux-github
2019-09-27 19:03 ` voidlinux-github
2019-09-27 19:35 ` voidlinux-github
2019-09-27 19:35 ` voidlinux-github
2019-09-27 19:41 ` voidlinux-github
2019-09-27 19:41 ` voidlinux-github
2019-09-27 20:04 ` voidlinux-github
2019-09-27 20:04 ` voidlinux-github [this message]
2019-09-28 22:39 ` [PR PATCH] [Closed]: " 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=20190927200428.I2aXguRGl2ETQyx9blQiPUzpegrb6BmabcKgRdQb6gg@z \
    --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).