From d106a6c6cfa1dd5d01dfaa602ade6e80cb547d58 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sun, 26 Sep 2021 16:57:00 -0400 Subject: [PATCH] Revert "qrcodegen: update to 1.7.0." This release changed not only filenames but API, breaking libreoffice. In notcurses, cmake failed to detect qrcodegen and silently turned it off rather than breaking the build. cc: @mobinmob This reverts commit 2c99f4bf7564911d03ebe0795bb4efe0751b1eb1. --- srcpkgs/qrcodegen/template | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/srcpkgs/qrcodegen/template b/srcpkgs/qrcodegen/template index 4971ca48017..f689ab8e337 100644 --- a/srcpkgs/qrcodegen/template +++ b/srcpkgs/qrcodegen/template @@ -1,14 +1,15 @@ # Template file for 'qrcodegen' pkgname=qrcodegen -version=1.7.0 -revision=1 +reverts="1.7.0_1" +version=1.6.0 +revision=4 wrksrc="QR-Code-generator-${version}" short_desc="QR Code generator library" maintainer="Orphaned " license="MIT" homepage="https://www.nayuki.io/page/qr-code-generator-library" distfiles="https://github.com/nayuki/QR-Code-generator/archive/v${version}.tar.gz" -checksum=a8138d84a2adbc9168bfadfb9db5272c89b69fb87f72a88ecd08ce7f402ee710 +checksum=8acee5a77325e075b910747ad4b1fdb1491b7e22d0b8f1b5a6ea15ea08ba33a8 CXXFLAGS="-fPIC" @@ -22,8 +23,8 @@ do_build() { do_install() { sed -n "/^License/,/xxxx/p" Readme.markdown > LICENSE vlicense LICENSE - vinstall cpp/qrcodegen.hpp 644 usr/include/qrcodegen - vinstall cpp/libqrcodegencpp.a 644 usr/lib libqrcodegencpp.a + vinstall cpp/QrCode.hpp 644 usr/include/qrcodegen + vinstall cpp/libqrcodegen.a 644 usr/lib libqrcodegencpp.a vinstall c/qrcodegen.h 644 usr/include/qrcodegen vinstall c/libqrcodegen.a 644 usr/lib }