Github messages for voidlinux
 help / color / mirror / Atom feed
From: DragonGhost7 <DragonGhost7@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: blockify-3.6.3
Date: Thu, 14 Jan 2021 08:31:30 +0100	[thread overview]
Message-ID: <20210114073130.U0YSUbFWkvPyU7ZEBuWgdPILKY_8Bwc4j8AX4cGKbiU@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27909@inbox.vuxu.org>

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

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

https://github.com/DragonGhost7/void-packages blockify
https://github.com/void-linux/void-packages/pull/27909

New package: blockify-3.6.3
Ad blocker for spotify, 
source: https://github.com/serialoverflow/blockify

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

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

From fed1ea1acd999d5e788fb986e64e43964b1fc027 Mon Sep 17 00:00:00 2001
From: DragonGhost7 <darkiridiumghost@gmail.com>
Date: Tue, 12 Jan 2021 21:10:21 -0500
Subject: [PATCH] New package: blockify-3.6.3

---
 srcpkgs/blockify/INSTALL.msg            |  3 +++
 srcpkgs/blockify/files/spotify_blockify | 11 +++++++++++
 srcpkgs/blockify/template               | 19 +++++++++++++++++++
 3 files changed, 33 insertions(+)
 create mode 100644 srcpkgs/blockify/INSTALL.msg
 create mode 100755 srcpkgs/blockify/files/spotify_blockify
 create mode 100644 srcpkgs/blockify/template

diff --git a/srcpkgs/blockify/INSTALL.msg b/srcpkgs/blockify/INSTALL.msg
new file mode 100644
index 00000000000..3f72f73f1e3
--- /dev/null
+++ b/srcpkgs/blockify/INSTALL.msg
@@ -0,0 +1,3 @@
+New script `spotify_blockify` was installed in /usr/bin/
+if you want to rename it to just `spotify`, please move it to
+/usr/local/bin, or anywhere before that in your $PATH
diff --git a/srcpkgs/blockify/files/spotify_blockify b/srcpkgs/blockify/files/spotify_blockify
new file mode 100755
index 00000000000..b1ca0d372bb
--- /dev/null
+++ b/srcpkgs/blockify/files/spotify_blockify
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+spotify=/usr/bin/spotify
+
+if [[ -x $spotify && -x /bin/blockify ]] ;
+then
+  blockify &
+  block_pid=$!
+  $spotify
+  trap "kill -9 $block_pid" SIGINT SIGTERM EXIT
+fi
diff --git a/srcpkgs/blockify/template b/srcpkgs/blockify/template
new file mode 100644
index 00000000000..a1cf5c9e555
--- /dev/null
+++ b/srcpkgs/blockify/template
@@ -0,0 +1,19 @@
+# Template file for 'blockify'
+pkgname=blockify
+version=3.6.3
+revision=1
+archs="x86_64"
+wrksrc=blockify-master
+build_style=python3-module
+hostmakedepends="python3 python3-gobject alsa-utils python3-setuptools gtk+3 gst1-python3 python3-dbus python3-docopt"
+depends="spotify alsa-utils gtk+3 pulseaudio gstreamer1 python3-docopt wmctrl"
+short_desc="Mutes Spotify advertisements"
+maintainer="DragonGhost7 <darkiridiumghost@gmail.com>"
+license="MIT"
+homepage="https://github.com/serialoverflow/blockify"
+distfiles="https://github.com/serialoverflow/blockify/archive/master.tar.gz"
+checksum=7930017fb0e5a2651e8e425a06d46c7aa9ac68ad0c59ba59efb975037786fde6
+post_install() {
+	vlicense LICENSE.txt
+	vbin ${FILESDIR}/spotify_blockify
+}

  parent reply	other threads:[~2021-01-14  7:31 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-14  1:06 [PR PATCH] " DragonGhost7
2021-01-14  6:27 ` kawaiiamber
2021-01-14  7:16 ` [PR PATCH] [Updated] " DragonGhost7
2021-01-14  7:22 ` kawaiiamber
2021-01-14  7:23 ` DragonGhost7
2021-01-14  7:25 ` DragonGhost7
2021-01-14  7:28 ` [PR REVIEW] " kawaiiamber
2021-01-14  7:31 ` DragonGhost7 [this message]
2021-01-14  7:31 ` DragonGhost7
2021-01-14  7:33 ` DragonGhost7
2021-01-14  7:35 ` [PR REVIEW] " kawaiiamber
2021-01-14  7:35 ` kawaiiamber
2021-01-14  7:35 ` kawaiiamber
2021-01-14  7:38 ` [PR REVIEW] " kawaiiamber
2021-01-14  7:38 ` DragonGhost7
2021-01-14  7:41 ` [PR REVIEW] " kawaiiamber
2021-01-14 18:53 ` [PR PATCH] [Updated] " DragonGhost7
2021-01-14 19:23 ` kawaiiamber
2021-01-14 19:29 ` DragonGhost7
2021-01-14 19:32 ` kawaiiamber
2021-01-14 19:45 ` [PR REVIEW] " kawaiiamber
2021-01-14 19:52 ` DragonGhost7
2021-01-14 19:55 ` kawaiiamber
2021-01-14 20:02 ` DragonGhost7
2021-01-14 20:12 ` [PR PATCH] [Updated] " DragonGhost7
2021-01-14 20:48 ` DragonGhost7
2021-01-15  2:08 ` DragonGhost7
2021-01-18 17:50 ` Chocimier
2021-01-18 17:56 ` ericonr
2021-01-20 23:11 ` DragonGhost7
2021-01-20 23:11 ` [PR PATCH] [Closed]: " DragonGhost7

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=20210114073130.U0YSUbFWkvPyU7ZEBuWgdPILKY_8Bwc4j8AX4cGKbiU@z \
    --to=dragonghost7@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).