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 21:35:16 +0200	[thread overview]
Message-ID: <20190927193516.VDBCww7BqqWyXiTV7gJlm9LKmqUkOL2_f3O7CgNqcPY@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: 3708 bytes --]

From 4a249a8fe31fdb99b02e70f3f7fa73a75dfa2f99 Mon Sep 17 00:00:00 2001
From: linarcx <linarcx@riseup.net>
Date: Fri, 27 Sep 2019 22:26:50 +0330
Subject: [PATCH 1/3] New package: spotify-adblock-linux-1.0

---
 .../files/spotify-adblock.desktop             | 11 ++++++++++
 srcpkgs/spotify-adblock-linux/template        | 21 +++++++++++++++++++
 2 files changed, 32 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..d7c43c38cc1
--- /dev/null
+++ b/srcpkgs/spotify-adblock-linux/template
@@ -0,0 +1,21 @@
+# 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() {
+    vlicense LICENSE
+    vmkdir usr/lib
+    vcopy "*.so" usr/lib
+    vinstall ${FILESDIR}/spotify-adblock.desktop 644 usr/share/applications/
+}

From 1d0cdcde30ca2bdb33607b7800a8cc0e5a9269ff Mon Sep 17 00:00:00 2001
From: linarcx <linarcx@riseup.net>
Date: Fri, 27 Sep 2019 22:33:04 +0330
Subject: [PATCH 2/3] New package: spotify-adblock-linux-1.0

---
 srcpkgs/spotify-adblock-linux/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/spotify-adblock-linux/template b/srcpkgs/spotify-adblock-linux/template
index d7c43c38cc1..b62c626c2e4 100644
--- a/srcpkgs/spotify-adblock-linux/template
+++ b/srcpkgs/spotify-adblock-linux/template
@@ -14,8 +14,8 @@ checksum=811358fd2da2ca83e76e3a0dd5ce03ddab39fc19ae9831dd0ccaf4b74abd0804
 CFLAGS+=" -shared -fPIC"
 
 do_install() {
-    vlicense LICENSE
-    vmkdir usr/lib
-    vcopy "*.so" usr/lib
-    vinstall ${FILESDIR}/spotify-adblock.desktop 644 usr/share/applications/
+	vlicense LICENSE
+	vmkdir usr/lib
+	vcopy "*.so" usr/lib
+	vinstall ${FILESDIR}/spotify-adblock.desktop 644 usr/share/applications/
 }

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

---
 srcpkgs/spotify-adblock-linux/template | 1 -
 1 file changed, 1 deletion(-)

diff --git a/srcpkgs/spotify-adblock-linux/template b/srcpkgs/spotify-adblock-linux/template
index b62c626c2e4..fc61feb19c3 100644
--- a/srcpkgs/spotify-adblock-linux/template
+++ b/srcpkgs/spotify-adblock-linux/template
@@ -14,7 +14,6 @@ checksum=811358fd2da2ca83e76e3a0dd5ce03ddab39fc19ae9831dd0ccaf4b74abd0804
 CFLAGS+=" -shared -fPIC"
 
 do_install() {
-	vlicense LICENSE
 	vmkdir usr/lib
 	vcopy "*.so" usr/lib
 	vinstall ${FILESDIR}/spotify-adblock.desktop 644 usr/share/applications/

  parent reply	other threads:[~2019-09-27 19:35 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 [this message]
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
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=20190927193516.VDBCww7BqqWyXiTV7gJlm9LKmqUkOL2_f3O7CgNqcPY@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).