-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
com.github.muriloventuroso.pdftricks.yml
102 lines (95 loc) · 2.55 KB
/
com.github.muriloventuroso.pdftricks.yml
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
app-id: com.github.muriloventuroso.pdftricks
runtime: io.elementary.Platform
runtime-version: '6'
sdk: io.elementary.Sdk
command: com.github.muriloventuroso.pdftricks
finish-args:
- '--share=ipc'
- '--socket=fallback-x11'
- '--socket=wayland'
- '--system-talk-name=org.freedesktop.Accounts'
- '--filesystem=/tmp'
- '--filesystem=host'
modules:
- name: libpng
config-opts:
- '--disable-static'
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /share
sources:
- __comment: Must be version 1.2.x
type: archive
url: https://downloads.sourceforge.net/project/libpng/libpng12/1.2.59/libpng-1.2.59.tar.xz
sha256: b4635f15b8adccc8ad0934eea485ef59cc4cae24d0f0300a9a941e51974ffcc7
- name: ghostscript
config-opts:
- '--disable-cups'
build-options:
arch:
aarch64:
cppflags: '-DPNG_ARM_NEON_OPT=0'
make-args:
- so
make-install-args:
- soinstall
cleanup:
- /share/ghostscript/9.26/doc/
- /share/ghostscript/9.26/examples
- /share/man/
- /bin/dvipdf
- /bin/font2c
- /bin/gsbj
- /bin/gsdj500
- /bin/gslp
- /bin/lprsetup.sh
- /bin/pdf2ps
- /bin/pf2afm
- /bin/printafm
- /bin/ps2epsi
- /bin/ps2pdfwr
- /bin/ps2pdf13
- /bin/wftopfa
- /bin/eps2eps
- /bin/gsdj
- /bin/gslj
- /bin/gsnd
- /bin/pdf2dsc
- /bin/pfbtopfa
- /bin/pphs
- /bin/ps2ascii
- /bin/ps2pdf
- /bin/ps2pdf12
- /bin/ps2pdf14
- /bin/ps2ps2
- /bin/unix-lpr.sh
sources:
- type: archive
url: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9540/ghostscript-9.54.0.tar.xz
sha256: c2b7b43cde600f4e70efb2cd95865f6d884a67315c3de235914697d8ccde6e3b
- type: shell
commands:
- rm -rf libpng/pngread.c
- name: imagemagick
config-opts:
- '--enable-static=yes'
- '--disable-docs'
- '--with-png'
- '--with-jpeg'
- '--with-zlib'
- '--enable-zero-configuration'
sources:
- type: archive
url: https://download.imagemagick.org/ImageMagick/download/ImageMagick-7.1.0-10.tar.xz
sha256: b6b242e89ed7b2f681a2e83340d95a0cc97c1077f189dc1b675ec93f7e05ac7d
- type: shell
commands:
- sed -i '32a <policy domain=\\"coder\\" rights=\\"read | write\\"
pattern=\\"PDF\\"/> \\' MagickCore/policy-private.h
- name: pdftricks
buildsystem: meson
sources:
- type: dir
path: .