Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: spotify-adblock-linux-1.0
@ 2019-09-27 18:58 voidlinux-github
  2019-09-27 19:03 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: voidlinux-github @ 2019-09-27 18:58 UTC (permalink / raw)
  To: ml

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

There is a new 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: 1972 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] 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/
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-09-28 22:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-27 18:58 [PR PATCH] New package: spotify-adblock-linux-1.0 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
2019-09-28 22:39 ` [PR PATCH] [Closed]: " voidlinux-github

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).