mirror of
https://github.com/QRouland/UTPass.git
synced 2025-02-11 15:07:16 +00:00
Add rnp lib
This commit is contained in:
parent
630d707190
commit
c01fae0c58
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "libs/rnp"]
|
||||||
|
path = libs/rnp
|
||||||
|
url = https://github.com/rnpgp/rnp
|
@ -6,34 +6,37 @@ scripts:
|
|||||||
style: >-
|
style: >-
|
||||||
echo 'Running Astyle :' && astyle --options=.astylerc --recursive '*.cpp,*.h' --exclude=build && echo 'Running QmlFormat' && find . -name "*.qml" -exec qmlformat -i {} \; && echo 'Success'
|
echo 'Running Astyle :' && astyle --options=.astylerc --recursive '*.cpp,*.h' --exclude=build && echo 'Running QmlFormat' && find . -name "*.qml" -exec qmlformat -i {} \; && echo 'Success'
|
||||||
|
|
||||||
skip_review: true
|
|
||||||
|
|
||||||
|
|
||||||
dependencies_target:
|
dependencies_target:
|
||||||
- libgpgmepp-dev
|
|
||||||
- libgpgme-dev
|
|
||||||
- libgit2-dev
|
- libgit2-dev
|
||||||
- libquazip5-dev
|
- libquazip5-dev
|
||||||
- gpg-agent
|
- libgpgmepp-dev
|
||||||
- gpgconf
|
- libgpgme-dev
|
||||||
- gpg
|
- gpg
|
||||||
- fakechroot:all
|
|
||||||
|
libraries:
|
||||||
|
rnp:
|
||||||
|
builder: cmake
|
||||||
|
make_jobs: 2
|
||||||
|
dependencies_target:
|
||||||
|
- libbz2-dev
|
||||||
|
- zlib1g-dev
|
||||||
|
- libjson-c-dev
|
||||||
|
build_args: [
|
||||||
|
-DCRYPTO_BACKEND=openssl
|
||||||
|
]
|
||||||
|
|
||||||
install_lib:
|
install_lib:
|
||||||
- "libgpg-error.so.0.28.0"
|
|
||||||
- "libassuan.so*"
|
|
||||||
- "libgpgme.so*"
|
|
||||||
- "libgpgmepp.so*"
|
|
||||||
- "libqgpgme.so*"
|
|
||||||
- "libgit2.so*"
|
- "libgit2.so*"
|
||||||
- "libquazip5.so*"
|
|
||||||
- "libmbedtls.so*"
|
- "libmbedtls.so*"
|
||||||
- "libmbedx509.so*"
|
- "libmbedx509.so*"
|
||||||
- "libmbedcrypto.so*"
|
- "libmbedcrypto.so*"
|
||||||
- "libhttp_parser.so*"
|
- "libhttp_parser.so*"
|
||||||
- "libssh2.so*"
|
- "libssh2.so*"
|
||||||
|
- "libquazip5.so*"
|
||||||
|
- "libgpg-error.so.0.28.0"
|
||||||
|
- "libassuan.so*"
|
||||||
|
- "libgpgme.so*"
|
||||||
|
- "libgpgmepp.so*"
|
||||||
|
- "libqgpgme.so*"
|
||||||
|
|
||||||
install_bin:
|
|
||||||
- "fakechroot"
|
|
||||||
- "gpg-agent"
|
|
||||||
- "gpg"
|
|
||||||
|
1
libs/rnp
Submodule
1
libs/rnp
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit c41cef116443d1572118844ecff0292f3ed4e55b
|
@ -28,6 +28,14 @@ set_target_properties(${PLUGIN} PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PLUGIN})
|
|||||||
qt5_use_modules(${PLUGIN} Qml Quick DBus)
|
qt5_use_modules(${PLUGIN} Qml Quick DBus)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(RNP_BUILD_DIR "${CMAKE_SOURCE_DIR}/build/${ARCH_TRIPLET}/rnp/install")
|
||||||
|
|
||||||
|
INCLUDE_DIRECTORIES(${RNP_BUILD_DIR}/include)
|
||||||
|
|
||||||
|
add_library(rnp STATIC IMPORTED)
|
||||||
|
set_property(TARGET rnp PROPERTY IMPORTED_LOCATION "${RNP_BUILD_DIR}/lib/librnp.a")
|
||||||
|
|
||||||
add_library(gpgerror SHARED IMPORTED)
|
add_library(gpgerror SHARED IMPORTED)
|
||||||
set_property(TARGET gpgerror PROPERTY IMPORTED_LOCATION "/usr/lib/${ARCH_TRIPLET}/libgpg-error.so.0.28.0")
|
set_property(TARGET gpgerror PROPERTY IMPORTED_LOCATION "/usr/lib/${ARCH_TRIPLET}/libgpg-error.so.0.28.0")
|
||||||
|
|
||||||
@ -44,7 +52,7 @@ add_library(libqgpgme SHARED IMPORTED)
|
|||||||
set_property(TARGET libqgpgme PROPERTY IMPORTED_LOCATION "/usr/lib/${ARCH_TRIPLET}/libqgpgme.so")
|
set_property(TARGET libqgpgme PROPERTY IMPORTED_LOCATION "/usr/lib/${ARCH_TRIPLET}/libqgpgme.so")
|
||||||
|
|
||||||
|
|
||||||
target_link_libraries(${PLUGIN} gpgerror libassuan libgpgme libgpgmepp libqgpgme)
|
target_link_libraries(${PLUGIN} rnp gpgerror libassuan libgpgme libgpgmepp libqgpgme)
|
||||||
|
|
||||||
|
|
||||||
set(QT_IMPORTS_DIR "/lib/${ARCH_TRIPLET}")
|
set(QT_IMPORTS_DIR "/lib/${ARCH_TRIPLET}")
|
||||||
|
@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: utpass.qrouland\n"
|
"Project-Id-Version: utpass.qrouland\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2025-01-28 09:40+0100\n"
|
"POT-Creation-Date: 2025-01-28 12:44+0100\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user