-
Notifications
You must be signed in to change notification settings - Fork 2
/
net.gwyddion.Gwyddion.json
170 lines (170 loc) · 5.65 KB
/
net.gwyddion.Gwyddion.json
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"app-id": "net.gwyddion.Gwyddion",
"runtime": "org.gnome.Platform",
"runtime-version": "45",
"sdk": "org.gnome.Sdk",
"command": "gwyddion",
"copy-icon": true,
"rename-icon": "gwyddion",
"rename-desktop-file": "gwyddion.desktop",
"finish-args": [
"--share=ipc",
"--socket=x11"
],
"modules": [
"shared-modules/gtk2/gtk2.json",
"shared-modules/python2.7/python-2.7.json",
{
"name": "pycairo",
"buildsystem": "meson",
"config-opts": [
"-Dpython=python2"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/pygobject/pycairo/releases/download/v1.18.1/pycairo-1.18.1.tar.gz",
"sha256": "70172e58b6bad7572a3518c26729b074acdde15e6fee6cbab6d3528ad552b786"
}
],
"cleanup": [
"*.la",
"/include",
"/lib/pkgconfig"
]
},
{
"name": "pygobject",
"config-opts": [
"--disable-introspection"
],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/pygobject/2.28/pygobject-2.28.7.tar.xz",
"sha256": "bb9d25a3442ca7511385a7c01b057492095c263784ef31231ffe589d83a96a5a"
},
{
"type": "shell",
"commands": [
"cp -p /usr/share/automake-*/config.{sub,guess} ."
]
}
],
"cleanup": [
"*.la",
"/bin",
"/include",
"/lib/pkgconfig",
"/share/gtk-doc"
]
},
{
"name": "pygtk",
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/pygtk/2.24/pygtk-2.24.0.tar.gz",
"sha256": "6e3e54fa6e65a69ac60bd58cb2e60a57f3346ac52efe995f3d10b6c38c972fd8"
},
{
"type": "patch",
"path": "pygtk-Drop-the-PangoFont-find_shaper-virtual-method.patch"
},
{
"type": "shell",
"commands": [
"cp -p /usr/share/automake-*/config.{sub,guess} ."
]
}
],
"cleanup": [
"*.la",
"/bin",
"/include",
"/lib/pkgconfig",
"/lib/pygtk/2.0/demos/",
"/share/gtk-doc"
]
},
"shared-modules/glu/glu-9.json",
"shared-modules/intltool/intltool-0.51.json",
{
"name": "pangox-compat",
"sources": [
{
"type": "archive",
"url": "http://ftp.gnome.org/pub/GNOME/sources/pangox-compat/0.0/pangox-compat-0.0.2.tar.xz",
"sha256": "552092b3b6c23f47f4beee05495d0f9a153781f62a1c4b7ec53857a37dfce046"
},
{
"type": "patch",
"path": "pangox-disable-shaper.patch"
}
]
},
{
"name": "gtkglext",
"rm-configure": true,
"build-commands": [
"sed '/AC_PATH_XTRA/d' -i configure.in",
"./configure --prefix=/app --disable-static",
"make",
"make install"
],
"sources": [
{
"type": "archive",
"url": "https://download.gnome.org/sources/gtkglext/1.2/gtkglext-1.2.0.tar.bz2",
"sha256": "16bd736074f6b14180f206b7e91263fc721b49912ea3258ab5f094cfa5497f51"
},
{
"type": "patch",
"path": "gtk2.20.patch"
},
{
"type": "patch",
"path": "gtkglext-gcc8.patch"
},
{
"type": "script",
"dest-filename": "autogen.sh",
"commands": [
"autoreconf -vfi"
]
}
]
},
{
"name": "gwyddion",
"config-opts": [
"--without-ruby",
"--with-python"
],
"sources": [
{
"type": "archive",
"url": "https://sourceforge.net/projects/gwyddion/files/gwyddion/2.66/gwyddion-2.66.tar.gz",
"sha256": "45dcad9e6ee01b5ee6e894f7ff7030a895d47ee1a90179f6878c714813f9c002",
"x-checker-data": {
"type": "html",
"url": "https://sourceforge.net/projects/gwyddion/rss",
"pattern": "<link>(https://sourceforge.net/.+/gwyddion-([\\d\\.]+\\d).tar.gz)/download</link>",
"sort-matches": false
}
},
{
"type": "file",
"path": "gwyddion.png"
},
{
"type": "patch",
"path": "appstream.patch"
}
],
"post-install": [
"install -D gwyddion.png /app/share/icons/hicolor/128x128/apps/net.gwyddion.Gwyddion.png"
]
}
]
}