-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcom.xnview.XnConvert.yaml
103 lines (100 loc) · 3.31 KB
/
com.xnview.XnConvert.yaml
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
app-id: com.xnview.XnConvert
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
command: xnconvert
finish-args:
# X11 + XShm access
- --share=ipc
- --socket=x11
# Filesystem access
- --filesystem=home
# OpenGL access
- --device=dri
tags:
- proprietary
modules:
- name: ImageMagick
config-opts:
- --enable-shared
- --disable-static
- --disable-docs
- --with-modules
- --with-threads
- --with-png
sources:
- type: archive
url: https://github.com/ImageMagick/ImageMagick/archive/7.1.1-43.tar.gz
sha256: ceb972266b23dc7c1cfce0da5a7f0c9acfb4dc81f40eb542a49476fedbc2618f
x-checker-data:
type: anitya
project-id: 1372
url-template: https://github.com/ImageMagick/ImageMagick/archive/$version.tar.gz
cleanup: ['*']
- name: ghostscript
config-opts:
- --disable-cups
- --disable-dbus
- --disable-gtk
- --with-system-libtiff
- --with-drivers=FILES
sources:
- type: archive
url: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10040/ghostscript-10.04.0.tar.xz
sha256: 527eef0b6cd04ecf1c8d7a11796c69a52d34ffe36afca86a400729a2fc01c887
x-checker-data:
type: anitya
project-id: 1157
url-template: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${major}0$minor$patch/ghostscript-$version.tar.xz
- type: shell
commands:
- rm -rf tesseract leptonica gpdl cups/libs jpeg libpng openjpeg tiff zlib
cleanup:
- /share/doc
- name: krb5
subdir: src
config-opts:
- --localstatedir=/var/lib
- --sbindir=${FLATPAK_DEST}/bin
- --disable-static
- --disable-rpath
sources:
- type: archive
url: https://kerberos.org/dist/krb5/1.21/krb5-1.21.3.tar.gz
sha256: b7a4cd5ead67fb08b980b21abd150ff7217e85ea320c9ed0c6dadd304840ad35
x-checker-data:
type: html
url: https://kerberos.org/dist/
version-pattern: Kerberos V5 Release ([\d\.-]*) - current release
url-template: https://kerberos.org/dist/krb5/$version0.$version1/krb5-$version.tar.gz
cleanup:
- /bin
- name: XnConvert
buildsystem: simple
sources:
- type: archive
url: https://download.xnview.com/XnConvert-linux-x64.tgz
sha256: a1500dd37d0f7596773af8db1b80ec59027e25c98f2d3e221cf8703df80ee156
strip-components: 0
x-checker-data:
type: rotating-url
url: https://download.xnview.com/XnConvert-linux-x64.tgz
- type: file
path: com.xnview.XnConvert.desktop
- type: file
path: xnconvert.svg
- type: file
path: com.xnview.XnConvert.appdata.xml
build-commands:
- cp -a "XnConvert" "${FLATPAK_DEST}/"
- ln -s "${FLATPAK_DEST}/XnConvert/xnconvert.sh" "${FLATPAK_DEST}/bin/xnconvert"
post-install:
- install -Dm0644 "com.xnview.XnConvert.desktop" -t "${FLATPAK_DEST}/share/applications/"
- install -Dm0644 "com.xnview.XnConvert.appdata.xml" -t "${FLATPAK_DEST}/share/appdata/"
- install -Dm0644 "xnconvert.svg" "${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg"
cleanup:
- /include
- /lib/pkgconfig
- /share/et
- /share/examples
- /share/man