2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2016 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
13 # Copyright 2019 Andreas Wacknitz <a.wacknitz@gmx.de>
14 # Copyright 2022 Carsten Grzemba
18 USE_DEFAULT_TEST_TRANSFORMS
= yes
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= keepassxc
22 COMPONENT_VERSION
= 2.7.7
23 COMPONENT_SUMMARY
= Cross-platform community-driven port of Keepass password manager
24 COMPONENT_PROJECT_URL
= https
://keepassxc.org
/
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
)-src.
tar.xz
27 COMPONENT_ARCHIVE_HASH
= sha256
:58fc45ae98e4b3ffb052103014f5b97a41fefd17102c7f56073934dd3a82ee67
28 COMPONENT_ARCHIVE_URL
= https
://github.com
/keepassxreboot
/keepassxc
/releases
/download
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
29 COMPONENT_FMRI
= desktop
/$(COMPONENT_NAME
)
30 COMPONENT_CLASSIFICATION
=Applications
/System Utilities
31 COMPONENT_LICENSE
= GPL
32 COMPONENT_LICENSE_FILE
= COPYING
34 include $(WS_MAKE_RULES
)/common.mk
38 CMAKE_OPTIONS
+= -DCMAKE_VERBOSE_MAKEFILE
=ON
39 CMAKE_OPTIONS
+= -DKEEPASSXC_BUILD_TYPE
=Release
40 CMAKE_OPTIONS
+= -DCMAKE_BUILD_TYPE
=Release
41 CMAKE_OPTIONS
+= -DWITH_XC_UPDATECHECK
=OFF
42 CMAKE_OPTIONS
+= -DWITH_XC_BROWSER
=ON
43 CMAKE_OPTIONS
+= -DWITH_XC_FDOSECRETS
=ON
44 CMAKE_OPTIONS
+= -DWITH_XC_DOCS
=off
45 CMAKE_OPTIONS
+= -DQt5_DIR
=$(QT5_LIBDIR
)/cmake
/Qt5
/
46 CMAKE_OPTIONS
+= -DCMAKE_INSTALL_RPATH
=$(QT5_LIBDIR
)
47 CMAKE_OPTIONS
+= -DCMAKE_LIBRARY_PATH
=$(QT5_LIBDIR
)
49 # Auto-generated dependencies
50 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
51 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
52 REQUIRED_PACKAGES
+= library
/libqrencode
53 REQUIRED_PACKAGES
+= library
/minizip-ng
54 REQUIRED_PACKAGES
+= library
/qt5
55 REQUIRED_PACKAGES
+= library
/readline
56 REQUIRED_PACKAGES
+= library
/security
/botan
57 REQUIRED_PACKAGES
+= library
/zlib
58 REQUIRED_PACKAGES
+= security
/argon2
59 REQUIRED_PACKAGES
+= system
/library
60 REQUIRED_PACKAGES
+= system
/library
/math
61 REQUIRED_PACKAGES
+= x11
/library
/libx11
62 REQUIRED_PACKAGES
+= x11
/library
/libxtst