parent
89af3f6071
commit
5bb7ae047f
3 changed files with 9 additions and 40 deletions
|
@ -1,24 +0,0 @@
|
|||
related issue: https://github.com/pwsafe/pwsafe/issues/563
|
||||
|
||||
Also:
|
||||
|
||||
https://github.com/pwsafe/pwsafe/commit/412458d281f98ea7649d2957f88ebad701b6cd18
|
||||
|
||||
--- src/os/unix/pws_time.h
|
||||
+++ src/os/unix/pws_time.h
|
||||
@@ -14,9 +14,11 @@
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
||||
-typedef time_t __time32_t;
|
||||
-#ifndef __time64_t
|
||||
-typedef uint64_t __time64_t;
|
||||
+#ifndef __TIME64_T_TYPE
|
||||
+#define __TIME64_T_TYPE uint64_t
|
||||
+#endif
|
||||
+#ifndef time64_t
|
||||
+typedef __TIME64_T_TYPE __time64_t;
|
||||
#endif
|
||||
|
||||
extern int localtime64_r(const __time64_t *timep, struct tm *result);
|
||||
|
|
@ -1,33 +1,26 @@
|
|||
# Template file for 'passwordsafe'
|
||||
pkgname=passwordsafe
|
||||
version=1.08.1BETA
|
||||
version=1.12.0
|
||||
revision=1
|
||||
wrksrc="pwsafe-${version}"
|
||||
build_style=cmake
|
||||
build_helper=cmake-wxWidgets-gtk3
|
||||
# testing disabled: want to build gtest from source (package gtest-devel useless)
|
||||
configure_args="-DNO_GTEST=ON"
|
||||
# build process uses perl to generate core_st.cpp and zip to generate help files
|
||||
hostmakedepends="perl zip pkg-config gettext"
|
||||
makedepends="wxWidgets-gtk3-devel libXt-devel libXtst-devel libxerces-c-devel libuuid-devel
|
||||
libykpers-devel gtest-devel qrencode-devel libressl-devel libcurl-devel"
|
||||
libykpers-devel qrencode-devel libressl-devel libcurl-devel file-devel"
|
||||
short_desc="Simple & Secure Password Management"
|
||||
maintainer="Rui Abreu Ferreira <raf-ep@gmx.com>"
|
||||
license="Artistic-2.0"
|
||||
homepage="https://pwsafe.org"
|
||||
distfiles="https://github.com/pwsafe/pwsafe/archive/${version}.tar.gz>pwsafe-${version}.tar.gz"
|
||||
checksum=2c3648e8189a32c107c7d7bc0527c919db36b3940f19b0e58b37f0f992ea42a7
|
||||
|
||||
# wx-config-gtk3 crossbuild handled via wrapper
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
|
||||
|
||||
fi
|
||||
distfiles="https://github.com/pwsafe/pwsafe/archive/${version}.tar.gz"
|
||||
checksum=8d331019170f2920a28ccda08ae420c78e016f41d3ccedb7b4dba1f5f7f25bcb
|
||||
|
||||
pre_configure() {
|
||||
# ykpers-1 includes are hardcoded, add cross base
|
||||
sed -i -e "s|-I\(/usr/include/ykpers-1\)|-I${XBPS_CROSS_BASE}\1|" CMakeLists.txt
|
||||
|
||||
# icons in right place
|
||||
sed -i -e "s|share/pixmaps|share/icons/hicolor/48x48/apps|" CMakeLists.txt
|
||||
vsed -e "s|-I\(/usr/include/ykpers-1\)|-I${XBPS_CROSS_BASE}\1|" -i CMakeLists.txt
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
# Passwordsafe linux port uses "BETA" in release name
|
||||
pattern="\K[\d.]+BETA(?=)"
|
||||
# 1.x for linux, 3.x for windows
|
||||
ignore="3.*"
|
||||
|
|
Loading…
Reference in a new issue