Github messages for voidlinux
 help / color / mirror / Atom feed
From: Animeshz <Animeshz@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] uhubctl: update to 2.4.0
Date: Mon, 14 Mar 2022 07:02:29 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36128@inbox.vuxu.org> (raw)

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

There is a new pull request by Animeshz against master on the void-packages repository

https://github.com/Animeshz/void-packages uhubctl
https://github.com/void-linux/void-packages/pull/36128

uhubctl: update to 2.4.0
#### Testing the changes
- I tested the changes in this PR: **YES**


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

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

From 3719492790dd42f3d0d679e59fdbfc3bab577a40 Mon Sep 17 00:00:00 2001
From: Animesh Sahu <animeshsahu19@yahoo.com>
Date: Mon, 21 Feb 2022 13:19:55 +0530
Subject: [PATCH] uhubctl: update to 2.4.0

---
 srcpkgs/uhubctl/patches/Makefile.patch | 15 ++-------------
 srcpkgs/uhubctl/template               |  6 ++++--
 2 files changed, 6 insertions(+), 15 deletions(-)

diff --git a/srcpkgs/uhubctl/patches/Makefile.patch b/srcpkgs/uhubctl/patches/Makefile.patch
index 429a805e354c..cd24ad3870a3 100644
--- a/srcpkgs/uhubctl/patches/Makefile.patch
+++ b/srcpkgs/uhubctl/patches/Makefile.patch
@@ -1,21 +1,10 @@
-diff --git Makefile Makefile
-index f6d69d3..58a9d98 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -4,7 +4,7 @@ UNAME_S := $(shell uname -s)
- 
- DESTDIR ?=
- prefix  ?= /usr
--sbindir ?= $(prefix)/sbin
-+sbindir ?= $(prefix)/bin
- 
- INSTALL		:= install
- INSTALL_DIR	:= $(INSTALL) -m 755 -d
-@@ -14,7 +14,7 @@ RM		:= rm -rf
+@@ -14,7 +14,7 @@
  CC ?= gcc
  CFLAGS ?= -g -O0
  CFLAGS += -Wall -Wextra -std=c99 -pedantic
--GIT_VERSION := $(shell git describe --abbrev=8 --dirty --always --tags)
+-GIT_VERSION := $(shell git describe --match "v[0-9]*" --abbrev=8 --dirty --tags | cut -c2-)
 +GIT_VERSION := $(shell basename "$(CURDIR)" | cut -d '-' -f 2)
  ifeq ($(GIT_VERSION),)
      GIT_VERSION := $(shell cat VERSION)
diff --git a/srcpkgs/uhubctl/template b/srcpkgs/uhubctl/template
index 748b10a9b32a..8f14794092e5 100644
--- a/srcpkgs/uhubctl/template
+++ b/srcpkgs/uhubctl/template
@@ -1,13 +1,15 @@
 # Template file for 'uhubctl'
 pkgname=uhubctl
-version=2.1.0
+version=2.4.0
 revision=1
 build_style=gnu-makefile
 make_use_env=yes
+make_install_args="sbindir=/usr/bin"
+hostmakedepends="pkg-config which"
 makedepends="libusb-devel"
 short_desc="USB hub per-port power control"
 maintainer="Pavel Fatin <mail@pavelfatin.com>"
 license="GPL-2.0-only"
 homepage="https://github.com/mvp/uhubctl"
 distfiles="https://github.com/mvp/uhubctl/archive/v${version}.tar.gz"
-checksum=227fdd541067b84eaa0e15cdc171458a56de7591f7a1deaff3e6d42d2809450b
+checksum=391f24fd1f89cacce801df38ecc289b34c3627bc08ee69eec515af7e1a283d97

             reply	other threads:[~2022-03-14  6:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-14  6:02 Animeshz [this message]
2022-06-28  2:16 ` github-actions
2022-06-28 14:48 ` [PR PATCH] [Merged]: " Duncaen

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36128@inbox.vuxu.org \
    --to=animeshz@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).