media-libs/zxing-cpp: Fix actual version as well
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 9 Apr 2020 17:20:23 +0000 (19:20 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 9 Apr 2020 21:36:23 +0000 (23:36 +0200)
Bug: https://bugs.gentoo.org/716818
Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-libs/zxing-cpp/files/zxing-cpp-1.0.8-version.patch [new file with mode: 0644]
media-libs/zxing-cpp/zxing-cpp-1.0.8-r1.ebuild

diff --git a/media-libs/zxing-cpp/files/zxing-cpp-1.0.8-version.patch b/media-libs/zxing-cpp/files/zxing-cpp-1.0.8-version.patch
new file mode 100644 (file)
index 0000000..12f379e
--- /dev/null
@@ -0,0 +1,22 @@
+From 66cc26b25633cb7f1e20f2bf7711960c321e3a7b Mon Sep 17 00:00:00 2001
+From: Huy Cuong Nguyen <huycn@users.noreply.github.com>
+Date: Thu, 19 Mar 2020 13:58:48 -0400
+Subject: [PATCH] Pump version to 1.0.8
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d851580..c996e4a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 3.1.3)
+ set (ZXING_VERSION_MAJOR 1)
+ set (ZXING_VERSION_MINOR 0)
+-set (ZXING_VERSION_PATCH 7)
++set (ZXING_VERSION_PATCH 8)
+ project (ZXingCpp VERSION ${ZXING_VERSION_MAJOR}.${ZXING_VERSION_MINOR}.${ZXING_VERSION_PATCH})
index 4d6ad244fdde189bcc31ac3b12b2693f6067d327..fb0c6d9f4284cb6c04f9d077c25ef64006534a20 100644 (file)
@@ -14,4 +14,7 @@ SLOT="0"
 KEYWORDS="amd64 arm64 x86"
 IUSE=""
 
-PATCHES=( "${FILESDIR}/${P}-pkgconfig.patch" ) # bug 716818
+PATCHES=(
+       "${FILESDIR}/${P}-pkgconfig.patch" # bug 716818
+       "${FILESDIR}/${P}-version.patch" # bug 716818
+)