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

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


    Date: Monday, January 20, 2020 @ 11:11:07
  Author: heftig
Revision: 553208

0.3.2-3: Fix battery drain

Modified:
  lib32-libgusb/trunk/PKGBUILD	(contents, properties)

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-20 10:41:30 UTC (rev 553207)
+++ PKGBUILD	2020-01-20 11:11:07 UTC (rev 553208)
@@ -4,10 +4,10 @@
 
 pkgname=lib32-libgusb
 pkgver=0.3.2
-pkgrel=2
+pkgrel=3
 pkgdesc='GObject wrapper for libusb1'
+url=https://github.com/hughsie/libgusb
 arch=(x86_64)
-url=https://github.com/hughsie/libgusb
 license=(LGPL2.1)
 depends=(
   lib32-glib2
@@ -24,6 +24,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
 
@@ -33,7 +40,7 @@
 build() {
   export CC='gcc -m32'
   export CXX='g++ -m32'
-  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+  export PKG_CONFIG='i686-pc-linux-gnu-pkg-config'
 
   arch-meson libgusb build \
     --libdir='/usr/lib32'


Property changes on: lib32-libgusb/trunk/PKGBUILD
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property



More information about the arch-commits mailing list