mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-01-04 20:39:52 +01:00
Issue #212: Update Flatpak
This commit is contained in:
parent
c70063e4c5
commit
e2c3f88936
34
.github/workflows/LinuxFlatpak.yml
vendored
34
.github/workflows/LinuxFlatpak.yml
vendored
@ -5,9 +5,27 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_ubuntu:
|
build_ubuntu:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install -y ninja-build libglib2.0-dev libxml2-dev libyaml-dev gettext libarchive-dev gperf pkg-config libstemmer-dev python3-dev python3-pip libcurl4-openssl-dev libsystemd-dev gobject-introspection libgirepository1.0-dev itstool xsltproc
|
||||||
|
sudo pip3 install meson
|
||||||
|
|
||||||
|
- name: Install AppStream
|
||||||
|
run: |
|
||||||
|
git clone https://github.com/ximion/appstream.git
|
||||||
|
cd appstream
|
||||||
|
meson build
|
||||||
|
ninja -C build
|
||||||
|
sudo ninja -C build install
|
||||||
|
|
||||||
|
- name: Verify AppStream Version
|
||||||
|
run: |
|
||||||
|
appstreamcli --version
|
||||||
|
|
||||||
- name: Setup Flatpak
|
- name: Setup Flatpak
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
@ -15,14 +33,24 @@ jobs:
|
|||||||
|
|
||||||
- name: Add Flatpak repository
|
- name: Add Flatpak repository
|
||||||
run: |
|
run: |
|
||||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
|
|
||||||
|
- name: Install KDE SDK and Runtime
|
||||||
|
run: |
|
||||||
|
sudo flatpak install -y flathub org.kde.Sdk/x86_64/6.8 org.kde.Platform/x86_64/6.8
|
||||||
|
|
||||||
|
- name: List Flatpak Installed Packages and Version
|
||||||
|
run: |
|
||||||
|
flatpak --version
|
||||||
|
appstreamcli --version
|
||||||
|
flatpak list
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Build Flatpak
|
- name: Build Flatpak
|
||||||
run: |
|
run: |
|
||||||
flatpak-builder --repo=repo --sandbox --force-clean build-dir ./pdf4qt/Flatpak/io.github.JakubMelka.Pdf4qt.json
|
flatpak-builder --repo=repo --sandbox --force-clean build-dir ./Flatpak/io.github.JakubMelka.Pdf4qt.json
|
||||||
|
|
||||||
- name: Build Flatpak Package
|
- name: Build Flatpak Package
|
||||||
run: |
|
run: |
|
||||||
|
@ -38,10 +38,12 @@
|
|||||||
<release version="1.0.0" date="2021-09-19"/>
|
<release version="1.0.0" date="2021-09-19"/>
|
||||||
</releases>
|
</releases>
|
||||||
<screenshots>
|
<screenshots>
|
||||||
<screenshot><caption>Browse PDF files easily and efficiently</caption><image>https://jakubmelka.github.io/assets/flatpak/profi-default.png</image></screenshot>
|
<screenshot default="true"><caption>Edit content of PDF documents</caption><image>https://jakubmelka.github.io/assets/flatpak/profi-editor.png</image></screenshot>
|
||||||
|
<screenshot><caption>Browse PDF files easily and efficiently</caption><image>https://jakubmelka.github.io/assets/flatpak/profi-default.png</image></screenshot>
|
||||||
<screenshot><caption>Utilize the 'magnifying glass' feature to zoom in on specific sections of the page</caption><image>https://jakubmelka.github.io/assets/flatpak/profi-magnifier.png</image></screenshot>
|
<screenshot><caption>Utilize the 'magnifying glass' feature to zoom in on specific sections of the page</caption><image>https://jakubmelka.github.io/assets/flatpak/profi-magnifier.png</image></screenshot>
|
||||||
<screenshot><caption>Display statistics for various content types within the PDF file</caption><image>https://jakubmelka.github.io/assets/flatpak/profi-object-statistics.png</image></screenshot>
|
<screenshot><caption>Display statistics for various content types within the PDF file</caption><image>https://jakubmelka.github.io/assets/flatpak/profi-object-statistics.png</image></screenshot>
|
||||||
<screenshot><caption>View the document details</caption><image>https://jakubmelka.github.io/assets/flatpak/profi-properties.png</image></screenshot>
|
<screenshot><caption>View the document details</caption><image>https://jakubmelka.github.io/assets/flatpak/profi-properties.png</image></screenshot>
|
||||||
<screenshot><caption>List of add-ons available for the PDF editor</caption><image>https://jakubmelka.github.io/assets/flatpak/profi-addons.png</image></screenshot>
|
<screenshot><caption>List of add-ons available for the PDF editor</caption><image>https://jakubmelka.github.io/assets/flatpak/profi-addons.png</image></screenshot>
|
||||||
|
<screenshot><caption>Search PDF documents using regular expressions</caption><image>https://jakubmelka.github.io/assets/flatpak/profi-search-regex.png</image></screenshot>
|
||||||
</screenshots>
|
</screenshots>
|
||||||
</component>
|
</component>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"runtime": "org.kde.Sdk",
|
"runtime": "org.kde.Sdk",
|
||||||
"runtime-version": "6.8",
|
"runtime-version": "6.8",
|
||||||
"sdk": "org.kde.Sdk",
|
"sdk": "org.kde.Sdk",
|
||||||
"command": "Pdf4QtLaunchPad",
|
"command": "Pdf4QtEditor",
|
||||||
"finish-args": [
|
"finish-args": [
|
||||||
"--socket=fallback-x11",
|
"--socket=fallback-x11",
|
||||||
"--socket=wayland",
|
"--socket=wayland",
|
||||||
@ -11,8 +11,6 @@
|
|||||||
"--share=ipc"
|
"--share=ipc"
|
||||||
],
|
],
|
||||||
"cleanup": [
|
"cleanup": [
|
||||||
"/pdf4qt",
|
|
||||||
"/vcpkg"
|
|
||||||
],
|
],
|
||||||
"build-options": {
|
"build-options": {
|
||||||
"env": {
|
"env": {
|
||||||
@ -71,7 +69,8 @@
|
|||||||
"name": "openjpeg",
|
"name": "openjpeg",
|
||||||
"buildsystem": "cmake-ninja",
|
"buildsystem": "cmake-ninja",
|
||||||
"config-opts": [
|
"config-opts": [
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
"-DCMAKE_BUILD_TYPE=Release",
|
||||||
|
"-DBUILD_CODEC=OFF"
|
||||||
],
|
],
|
||||||
"sources": [
|
"sources": [
|
||||||
{
|
{
|
||||||
@ -82,38 +81,6 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "freetype",
|
|
||||||
"buildsystem": "cmake-ninja",
|
|
||||||
"builddir": true,
|
|
||||||
"config-opts": [
|
|
||||||
"-DCMAKE_BUILD_TYPE=Release",
|
|
||||||
"-DBUILD_SHARED_LIBS=true"
|
|
||||||
],
|
|
||||||
"sources": [
|
|
||||||
{
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/freetype/freetype.git",
|
|
||||||
"tag": "VER-2-13-3",
|
|
||||||
"commit": "42608f77f20749dd6ddc9e0536788eaad70ea4b5"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "libjpegturbo",
|
|
||||||
"buildsystem": "cmake-ninja",
|
|
||||||
"config-opts": [
|
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
],
|
|
||||||
"sources": [
|
|
||||||
{
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/libjpeg-turbo/libjpeg-turbo.git",
|
|
||||||
"tag": "3.0.90",
|
|
||||||
"commit": "a9f7490cda6f6840ff3662b4d67ce0a91de5c9a5"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "asmjit",
|
"name": "asmjit",
|
||||||
"buildsystem": "cmake-ninja",
|
"buildsystem": "cmake-ninja",
|
||||||
|
Loading…
Reference in New Issue
Block a user