Github messages for voidlinux
 help / color / mirror / Atom feed
From: josegpt <josegpt@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] mkchromecast: update to 0.3.9.c046ba2.
Date: Wed, 19 Jan 2022 01:03:47 +0100	[thread overview]
Message-ID: <20220119000347.Bj7NS4t45ri4c3nnLhjVAUlD7aqjv11VMpucjb8BI8w@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35115@inbox.vuxu.org>

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

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

https://github.com/josegpt/void-packages mkchromecast
https://github.com/void-linux/void-packages/pull/35115

mkchromecast: update to 0.3.9.c046ba2.
Testing the changes
- I tested the changes in this PR: **YES**

Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

resolves #28542

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

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

From 55554e738c983281ba74b567c7e4ef16cdbc8f27 Mon Sep 17 00:00:00 2001
From: Jose G Perez Taveras <josegpt27@gmail.com>
Date: Tue, 18 Jan 2022 16:47:06 -0500
Subject: [PATCH] mkchromecast: update to 0.3.9.c046ba2.

---
 srcpkgs/mkchromecast/template | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/mkchromecast/template b/srcpkgs/mkchromecast/template
index 161210796b90..0d7fa723c736 100644
--- a/srcpkgs/mkchromecast/template
+++ b/srcpkgs/mkchromecast/template
@@ -1,7 +1,9 @@
 # Template file for 'mkchromecast'
+_git_hash=c046ba2f6dffbb4a22f793c6f92e704e7647a01d
+
 pkgname=mkchromecast
-version=0.3.8.1
-revision=4
+version=0.3.9.${_git_hash:0:7}
+revision=1
 pycompile_dirs="/usr/share/mkchromecast/mkchromecast"
 depends="python3-Flask python3-netifaces python3-setuptools python3-requests
  python3-mutagen python3-psutil python3-PyQt5 python3-SoCo python3-chromecast
@@ -10,21 +12,23 @@ short_desc="Cast Linux Audio/Video to Google cast and Sonos devices"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://mkchromecast.com/"
-distfiles="https://github.com/muammar/mkchromecast/archive/${version}.tar.gz"
-checksum=c680a398385d95d51c47eb522b95cf98f932b55caf065ab8b5725e78bf0099b2
+distfiles="https://github.com/muammar/${pkgname}/archive/${_git_hash}.tar.gz>${pkgname}-${version}.tar.gz"
+checksum=d3d6c9d8c0566356aa830671fdac7ce243606b7acfb81ef92da8062e48867456
+wrksrc="${pkgname}-${_git_hash}"
 python_version=3
 
 do_install() {
 	vmkdir usr/bin
+	vmkdir usr/share/mkchromecast
+	vinstall bin/mkchromecast 755 usr/share/mkchromecast mkchromecast.py
 	ln -s /usr/share/mkchromecast/mkchromecast.py "$DESTDIR"/usr/bin/mkchromecast
-	vinstall mkchromecast.py 755 usr/share/mkchromecast
 
 	vman man/mkchromecast.1
 
-	cp -a --parents images/google* mkchromecast "$DESTDIR"/usr/share/mkchromecast
-
 	vinstall mkchromecast.desktop 644 usr/share/applications
 	vinstall images/mkchromecast.xpm 644 usr/share/pixmaps
+	vcopy images/google* usr/share/mkchromecast
+	vcopy mkchromecast usr/share/mkchromecast/
 
 	vlicense LICENSE
 }

  parent reply	other threads:[~2022-01-19  0:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-18 21:50 [PR PATCH] " josegpt
2022-01-18 23:34 ` [PR PATCH] [Updated] " josegpt
2022-01-19  0:03 ` josegpt [this message]
2022-01-19  0:58 ` josegpt
2022-03-15 18:53 ` [PR PATCH] [Closed]: " josegpt

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=20220119000347.Bj7NS4t45ri4c3nnLhjVAUlD7aqjv11VMpucjb8BI8w@z \
    --to=josegpt@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).