-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcom.github._4lex4.ScanTailor-Advanced.yaml
More file actions
62 lines (61 loc) · 2.12 KB
/
Copy pathcom.github._4lex4.ScanTailor-Advanced.yaml
File metadata and controls
62 lines (61 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
app-id: com.github._4lex4.ScanTailor-Advanced
runtime: org.kde.Platform
runtime-version: 5.15-25.08
sdk: org.kde.Sdk
command: scantailor
rename-desktop-file: scantailor.desktop
rename-icon: ScanTailor
rename-mime-file: scantailor-project.xml
finish-args:
- --socket=x11
- --share=ipc
- --device=dri
- --filesystem=host
cleanup:
- '*.a'
- '*.la'
- /include
- /lib/cmake
- /lib/pkgconfig
- /share/doc
- /share/man
modules:
- name: boost
sources:
- type: archive
url: https://archives.boost.io/release/1.68.0/source/boost_1_68_0.tar.bz2
sha256: 7f6130bc3cf65f56a618888ce9d5ea704fa10b462be126ad053e80e553d6d8b7
buildsystem: simple
build-commands:
- ./bootstrap.sh --prefix=/app --with-libraries=test,system,signals
- ./b2 -j "${FLATPAK_BUILDER_N_JOBS}" install
- name: scantailor-advanced
sources:
- type: git
url: https://github.com/4lex4/scantailor-advanced.git
tag: v1.0.16
commit: 5e0068f5139575bce07d2284f12e1d3cf4609e9c
x-checker-data:
type: json
url: https://api.github.com/repos/4lex4/scantailor-advanced/releases
tag-query: '[.[] | select(.draft == false and (.prerelease == false or (.tag_name
| startswith("v"))))][0].tag_name'
- type: file
path: com.github._4lex4.ScanTailor-Advanced.metainfo.xml.in
- type: patch
path: scantailor-square-appicon.patch
- type: patch
path: scantailor-qt5.15.patch
- type: patch
path: scantailor-tiffsave-fix.patch
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
post-install:
- |
# Set version and release data in our custom Metainfo and install it
set -e
version="$(git describe --tags --exact-match)"
date="$(git log -1 --date=short --format=%cd)"
sed -e "s/{RELEASE_VERSION}/${version}/g" -e "s/{RELEASE_DATE}/${date}/g" com.github._4lex4.ScanTailor-Advanced.metainfo.xml.in >com.github._4lex4.ScanTailor-Advanced.metainfo.xml
install -Dm0644 -t /app/share/metainfo com.github._4lex4.ScanTailor-Advanced.metainfo.xml