[arch-commits] Commit in libgusb/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Mon Jan 20 11:10:22 UTC 2020


    Date: Monday, January 20, 2020 @ 11:10:21
  Author: heftig
Revision: 373729

0.3.2-2: Fix battery drain

Modified:
  libgusb/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-20 10:58:47 UTC (rev 373728)
+++ PKGBUILD	2020-01-20 11:10:21 UTC (rev 373729)
@@ -3,7 +3,7 @@
 
 pkgname=libgusb
 pkgver=0.3.2
-pkgrel=1
+pkgrel=2
 pkgdesc='GObject wrapper for libusb1'
 url=https://github.com/hughsie/libgusb
 arch=(x86_64)
@@ -22,6 +22,13 @@
 source=(git+https://github.com/hughsie/libgusb#tag=bda40aca1f11f841524ad6ed16c352329b8a8d41)
 sha256sums=(SKIP)
 
+prepare() {
+  cd libgusb
+
+  # https://github.com/hughsie/libgusb/issues/24
+  git cherry-pick -n 3813921b7248a5f8a340f3395ff0ddf304bcf64e
+}
+
 pkgver() {
   cd libgusb
 



More information about the arch-commits mailing list