From e31d5b39d3994d92f4af23fdc70e1e4414ebfc64 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Mon, 6 Mar 2023 15:34:39 +0100 Subject: [PATCH] OTPClient: update to 3.1.8, adopt --- srcpkgs/OTPClient/patches/fix-cflags.patch | 17 ----------------- srcpkgs/OTPClient/template | 13 +++++++------ 2 files changed, 7 insertions(+), 23 deletions(-) delete mode 100644 srcpkgs/OTPClient/patches/fix-cflags.patch diff --git a/srcpkgs/OTPClient/patches/fix-cflags.patch b/srcpkgs/OTPClient/patches/fix-cflags.patch deleted file mode 100644 index 5474d055d57..00000000000 --- a/srcpkgs/OTPClient/patches/fix-cflags.patch +++ /dev/null @@ -1,17 +0,0 @@ -Index: OTPClient-2.4.4/CMakeLists.txt -=================================================================== ---- OTPClient-2.4.4.orig/CMakeLists.txt -+++ OTPClient-2.4.4/CMakeLists.txt -@@ -11,11 +11,10 @@ option(BUILD_GUI "Build the GUI" ON) - option(BUILD_CLI "Build the CLI" ON) - - set(CMAKE_C_STANDARD 11) --set(CMAKE_C_FLAGS "-Wall -Wextra -O2 -Wformat=2 -Wmissing-format-attribute -fstack-protector-strong -Wundef -Wmissing-format-attribute") -+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wformat=2 -Wmissing-format-attribute -fstack-protector-strong -Wundef -Wmissing-format-attribute") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fdiagnostics-color=always -Wstrict-prototypes -Wunreachable-code") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wchar-subscripts -Wwrite-strings -Wpointer-arith -Wbad-function-cast -Wcast-align") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror=format-security -Werror=implicit-function-declaration -Wno-sign-compare") --set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2") - if(CMAKE_COMPILER_IS_GNUCC) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pie -fPIE") - endif() diff --git a/srcpkgs/OTPClient/template b/srcpkgs/OTPClient/template index a5f068ffa97..9d65d4e0794 100644 --- a/srcpkgs/OTPClient/template +++ b/srcpkgs/OTPClient/template @@ -1,14 +1,15 @@ # Template file for 'OTPClient' pkgname=OTPClient -version=2.4.8 -revision=2 +version=3.1.8 +revision=1 build_style=cmake hostmakedepends="pkg-config" makedepends="gtk+3-devel libglib-devel libgcrypt-devel libpng-devel - libzip-devel libcotp-devel libzbar-devel jansson-devel" + libcotp-devel libzbar-devel jansson-devel protobuf-devel protobuf-c-devel + libuuid-devel libsecret-devel qrencode-devel" short_desc="Highly secure and easy to use GTK+ OTP client" -maintainer="Ulf " +maintainer="Emil Miler " license="GPL-3.0-or-later" homepage="https://github.com/paolostivanin/OTPClient" -distfiles="https://github.com/paolostivanin/OTPClient/archive/v${version}.tar.gz" -checksum=252dd4cad71ea19f26686a8c6cfdb12fb25100cb98694fd36eec1a4d28f39a23 +distfiles="https://github.com/paolostivanin/OTPClient/archive/refs/tags/v${version}.tar.gz" +checksum=5b85aefa4bd10d96c7866a6b77264b416124f272b3082fb7b854e68762129c14