mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2024-12-25 15:52:44 +01:00
Merge remote-tracking branch 'remotes/origin/branches/linuxinstall'
This commit is contained in:
commit
8406fd0c47
40
.github/workflows/LinuxInstall.yml
vendored
40
.github/workflows/LinuxInstall.yml
vendored
@ -1,6 +1,10 @@
|
||||
name: LinuxInstall
|
||||
|
||||
on:
|
||||
create:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@ -8,11 +12,23 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libxcb-cursor0
|
||||
sudo apt-get install -y libspeechd2
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: pdf4qt
|
||||
|
||||
- name: Set up GCC
|
||||
uses: egor-tensin/setup-gcc@v1
|
||||
with:
|
||||
version: 11
|
||||
platform: x64
|
||||
|
||||
- name: 'VCPKG: Set up VCPKG'
|
||||
run: |
|
||||
git clone --depth=1 https://github.com/microsoft/vcpkg.git
|
||||
@ -50,9 +66,17 @@ jobs:
|
||||
- name: Build project
|
||||
working-directory: pdf4qt
|
||||
run: |
|
||||
cmake -B build -S . -DPDF4QT_INSTALL_QT_DEPENDENCIES=0 -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release -DVCPKG_OVERLAY_PORTS=vcpkg/overlays
|
||||
cmake -B build -S . -DPDF4QT_INSTALL_QT_DEPENDENCIES=0 -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release -DVCPKG_OVERLAY_PORTS=vcpkg/overlays -DPDF4QT_INSTALL_TO_USR=ON
|
||||
cmake --build build -j6
|
||||
cmake --install build
|
||||
cp -rp build/install build/install_appimage
|
||||
|
||||
- name: 'Linux Deploy Qt'
|
||||
working-directory: pdf4qt/build
|
||||
run: |
|
||||
wget -O deploy.AppImage https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
|
||||
chmod +x deploy.AppImage
|
||||
./deploy.AppImage install/usr/share/applications/io.github.JakubMelka.Pdf4qt.desktop -executable-dir=install/usr/bin -extra-plugins=iconengines,imageformats,texttospeech
|
||||
|
||||
- name: Make DEB package
|
||||
working-directory: pdf4qt/build
|
||||
@ -65,3 +89,17 @@ jobs:
|
||||
name: ubuntu-deb-package
|
||||
path: ./pdf4qt/build/*.deb
|
||||
retention-days: 30
|
||||
|
||||
- name: 'Make AppImage'
|
||||
working-directory: pdf4qt/build
|
||||
run: |
|
||||
cp install_appimage/usr/share/icons/hicolor/scalable/apps/io.github.JakubMelka.Pdf4qt.svg install_appimage/io.github.JakubMelka.Pdf4qt.svg
|
||||
./deploy.AppImage install_appimage/usr/share/applications/io.github.JakubMelka.Pdf4qt.desktop -appimage -executable-dir=install_appimage/usr/bin -always-overwrite -extra-plugins=iconengines,imageformats,texttospeech
|
||||
|
||||
- name: Upload AppImage package
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ubuntu-appimage
|
||||
path: ./pdf4qt/build/*.AppImage
|
||||
retention-days: 30
|
||||
|
||||
|
@ -4,7 +4,7 @@ Type=Application
|
||||
Name=PDF4QT DocDiff
|
||||
Comment=Compare PDF documents
|
||||
Exec=Pdf4QtDocDiff
|
||||
Icon=io.github.JakubMelka.Pdf4qt.Pdf4QtDocDiff.svg
|
||||
Icon=io.github.JakubMelka.Pdf4qt.Pdf4QtDocDiff
|
||||
Terminal=false
|
||||
Categories=Office
|
||||
MimeType=application/pdf
|
||||
Categories=Office;
|
||||
MimeType=application/pdf;
|
||||
|
@ -4,7 +4,7 @@ Type=Application
|
||||
Name=PDF4QT DocPage Organizer
|
||||
Comment=Organize, merge, split, and duplicate pages in PDF files
|
||||
Exec=Pdf4QtDocPageOrganizer
|
||||
Icon=io.github.JakubMelka.Pdf4qt.Pdf4QtDocPageOrganizer.svg
|
||||
Icon=io.github.JakubMelka.Pdf4qt.Pdf4QtDocPageOrganizer
|
||||
Terminal=false
|
||||
Categories=Office
|
||||
MimeType=application/pdf
|
||||
Categories=Office;
|
||||
MimeType=application/pdf;
|
||||
|
@ -4,7 +4,7 @@ Type=Application
|
||||
Name=PDF4QT Viewer Lite
|
||||
Comment=View and navigate PDF documents
|
||||
Exec=Pdf4QtViewerLite
|
||||
Icon=io.github.JakubMelka.Pdf4qt.Pdf4QtViewerLite.svg
|
||||
Icon=io.github.JakubMelka.Pdf4qt.Pdf4QtViewerLite
|
||||
Terminal=false
|
||||
Categories=Office
|
||||
MimeType=application/pdf
|
||||
Categories=Office;
|
||||
MimeType=application/pdf;
|
||||
|
@ -4,7 +4,7 @@ Type=Application
|
||||
Name=PDF4QT Viewer Profi
|
||||
Comment=Edit and modify PDF files
|
||||
Exec=Pdf4QtViewerProfi
|
||||
Icon=io.github.JakubMelka.Pdf4qt.svg
|
||||
Icon=io.github.JakubMelka.Pdf4qt
|
||||
Terminal=false
|
||||
Categories=Office
|
||||
MimeType=application/pdf
|
||||
Categories=Office;
|
||||
MimeType=application/pdf;
|
||||
|
Loading…
Reference in New Issue
Block a user