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

Jan Steffens heftig at archlinux.org
Thu Sep 10 01:50:21 UTC 2020


    Date: Thursday, September 10, 2020 @ 01:50:21
  Author: heftig
Revision: 395674

1.1.0-3: Fix library in pkg-config file (used by GStreamer)

Modified:
  zxing-cpp/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-10 00:27:45 UTC (rev 395673)
+++ PKGBUILD	2020-09-10 01:50:21 UTC (rev 395674)
@@ -3,7 +3,7 @@
 
 pkgname=zxing-cpp
 pkgver=1.1.0
-pkgrel=2
+pkgrel=3
 pkgdesc="A C++ library to decode QRCode"
 arch=(x86_64)
 url="https://github.com/nu-book/zxing-cpp"
@@ -16,8 +16,12 @@
 prepare() {
   cd $pkgname-$pkgver
 
-  # Fix version in pkg-config file
-  sed -i 's/@VERSION@/@PROJECT_VERSION@/g' zxing.pc.in
+  # Fix pkg-config file
+  # https://github.com/nu-book/zxing-cpp/commit/877b6db1613ddae58e570801920f089c0f64b97f
+  # https://github.com/nu-book/zxing-cpp/issues/156
+  sed -e 's/@VERSION@/@PROJECT_VERSION@/' \
+      -e 's/@TARGET_ZXING@/ZXing/' \
+      -i zxing.pc.in
 }
 
 build() {



More information about the arch-commits mailing list