Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: blockify-3.6.3
@ 2021-01-14  1:06 DragonGhost7
  2021-01-14  6:27 ` kawaiiamber
                   ` (29 more replies)
  0 siblings, 30 replies; 31+ messages in thread
From: DragonGhost7 @ 2021-01-14  1:06 UTC (permalink / raw)
  To: ml

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

There is a new 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


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: 2306 bytes --]

From 711c7e85e4421428ed621b88a2b08f482f05e889 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               | 20 ++++++++++++++++++++
 3 files changed, 34 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..7b74f5cbe0e
--- /dev/null
+++ b/srcpkgs/blockify/template
@@ -0,0 +1,20 @@
+# Template file for 'blockify'
+pkgname=blockify
+version=3.6.3
+revision=1
+#archs="i686 x86_64"
+wrksrc=blockify-master
+#create_wrksrc=yes
+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
+}

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

end of thread, other threads:[~2021-01-20 23:11 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-14  1:06 [PR PATCH] New package: blockify-3.6.3 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 ` [PR PATCH] [Updated] " DragonGhost7
2021-01-14  7:31 ` [PR REVIEW] " 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

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