Skip to content

Commit

Permalink
Update Documents;
Browse files Browse the repository at this point in the history
Update debug.yml;
  • Loading branch information
saturneric committed Jun 26, 2021
1 parent c733485 commit f7318ba
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 12 deletions.
31 changes: 26 additions & 5 deletions .github/workflows/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'

Expand Down
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/gpg/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f7318ba

Please sign in to comment.