aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/debug.yml31
-rw-r--r--README.md7
-rw-r--r--src/gpg/CMakeLists.txt2
3 files changed, 28 insertions, 12 deletions
diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml
index 4432237c..ace0bc4c 100644
--- a/.github/workflows/debug.yml
+++ b/.github/workflows/debug.yml
@@ -69,16 +69,37 @@ jobs:
run: |
pacman --noconfirm -S --needed mingw-w64-x86_64-gcc mingw-w64-x86_64-make mingw-w64-x86_64-cmake autoconf automake mingw-w64-x86_64-qt-creator mingw-w64-x86_64-gpgme
pacman --noconfirm -S --needed make texinfo
-
if: matrix.os == 'windows-latest'
- - name: Build GpgME
+ - name: Build gpg-error (Linux)
+ run: |
+ cd ${{github.workspace}}/..
+ git clone https://github.com/saturneric/libgpg-error
+ cd libgpg-error
+ ./autogen.sh
+ ./configure --enable-maintainer-mode --enable-static=yes && make -j2
+ sudo make install
+ cd ${{github.workspace}}
+ if: matrix.os == 'ubuntu-latest'
+
+ - name: Build assuan (Linux)
+ run: |
+ cd ${{github.workspace}}/..
+ git clone https://github.com/saturneric/libassuan
+ cd libassuan
+ ./autogen.sh
+ ./configure --enable-maintainer-mode --enable-static=yes && make -j2
+ sudo make install
+ cd ${{github.workspace}}
+ if: matrix.os == 'ubuntu-latest'
+
+ - name: Build GpgME (Linux)
run: |
- cd ..
+ cd ${{github.workspace}}/..
git clone https://github.com/saturneric/gpgme
cd gpgme
./autogen.sh
- ./configure && make -j2
+ ./configure --enable-maintainer-mode --enable-static=yes --enable-languages=cpp && make -j2
sudo make install
cd ${{github.workspace}}
if: matrix.os == 'ubuntu-latest'
@@ -89,7 +110,7 @@ jobs:
git clone https://github.com/saturneric/gpgme
cd gpgme
./autogen.sh
- ./configure --enable-static=true --enable-languages=cpp LDFLAGS="-static" && make -j2
+ ./configure --enable-maintainer-mode --enable-static=yes --enable-languages=cpp LDFLAGS="-static" && make -j2
make install
if: matrix.os == 'windows-latest'
diff --git a/README.md b/README.md
index a03dc4af..7f6b66c8 100644
--- a/README.md
+++ b/README.md
@@ -59,13 +59,8 @@ the delivery process.**
## Features
- Can run on **Windows, Linux and macOS**.
-
- Open source, free, no need to install.
-
-- For Windows user, just double-click, and then you can use it freely.
-
-- For macOS and Linux user, just type few command before running it.
-
+- For Windows and macOS user, just double-click, and then you can use it freely.
- Supports multiple languages. Don’t forget to help me translate this software.
## Usage
diff --git a/src/gpg/CMakeLists.txt b/src/gpg/CMakeLists.txt
index b9385549..49e98b23 100644
--- a/src/gpg/CMakeLists.txt
+++ b/src/gpg/CMakeLists.txt
@@ -14,7 +14,7 @@ if (MINGW)
Qt5::Network Qt5::PrintSupport Qt5::Widgets Qt5::Test Qt5::Core
wsock32)
elseif(APPLE)
- message(STATUS "Link GPG Static Library For Unix")
+ message(STATUS "Link GPG Static Library For macOS")
target_link_libraries(gpg
/usr/local/lib/libgpgme.a /usr/local/lib/libgpg-error.a /usr/local/lib/libassuan.a
Qt5::Network Qt5::PrintSupport Qt5::Widgets Qt5::Test Qt5::Core)