-
Notifications
You must be signed in to change notification settings - Fork 0
/
wxGTK2.yaml
61 lines (61 loc) · 2.34 KB
/
wxGTK2.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
name: wxGTK2
buildsystem: simple
sources:
# Source0
- type: archive
url: https://github.com/wxWidgets/wxWidgets/releases/download/v2.8.12/wxGTK-2.8.12.tar.gz
sha256: 13cf89f2c29bcb90bb56a31ac1af10f23003d3d43c3e4b24991518f5dc4e5abe
# Patch0
- type: patch
path: wxGTK-2.8.12-test.patch
# Patch1
- type: patch
path: wxGTK-2.8.12-abicheck.patch
# Patch2
- type: patch
path: wxGTK-2.8.12-char.patch
build-commands:
- export GDK_USE_XFT='1';
configure_args=( );
configure_args+=( "--with-sdl" );
configure_args+=( "--without-gnomeprint" );
configure_args+=( "--enable-shared" );
configure_args+=( "--enable-soname" );
configure_args+=( "--disable-optimise" );
configure_args+=( "--enable-debug_info" );
configure_args+=( "--enable-intl" );
configure_args+=( "--enable-unicode" );
configure_args+=( "--enable-no_deps" );
configure_args+=( "--disable-rpath" );
configure_args+=( "--enable-geometry" );
configure_args+=( "--enable-graphics_ctx" );
configure_args+=( "--enable-sound" );
configure_args+=( "--enable-mediactrl" );
configure_args+=( "--enable-display" );
configure_args+=( "--enable-timer" );
configure_args+=( "--enable-compat24" );
configure_args+=( "--disable-catch_segvs" );
configure_args+=( "--with-gtk=2" );
configure_args+=( "--with-libpng" );
configure_args+=( "--with-libjpeg" );
configure_args+=( "--with-libtiff" );
configure_args+=( "--with-libxpm" );
configure_args+=( "--with-zlib" );
configure_args+=( "--with-expat" );
configure_args+=( "--with-libiconv-prefix=/usr" );
configure_args+=( "--enable-mediactrl" );
configure_args+=( "--enable-grid" );
configure_args+=( "--prefix=${FLATPAK_DEST}" );
configure_args+=( "--exec-prefix=${FLATPAK_DEST}" );
./configure "${configure_args[@]}";
- make -j"${FLATPAK_BUILDER_N_JOBS}";
make -j"${FLATPAK_BUILDER_N_JOBS}" -C "contrib/src/stc";
make -j"${FLATPAK_BUILDER_N_JOBS}" -C "contrib/src/ogl";
make -j"${FLATPAK_BUILDER_N_JOBS}" -C "contrib/src/gizmos";
make -j"${FLATPAK_BUILDER_N_JOBS}" -C "contrib/src/svg";
make -j"${FLATPAK_BUILDER_N_JOBS}" -C "locale" "allmo";
- make install;
make install -C "contrib/src/stc";
make install -C "contrib/src/ogl";
make install -C "contrib/src/gizmos";
make install -C "contrib/src/svg";