~igor-cali/bilancio/packaging

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
# Last_change: 23/02/2023
app-id: com.igisw.openmoneybox
appdata-license: GNU GPL v3
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
command: openmoneybox
finish-args:
  - '--socket=x11'
modules:
  - name: wxWidgets
    config-opts:
      - '--with-gtk=3'
      - '--enable-unicode'
      - '--enable-display'
      - '--enable-propgrid'
      - '--disable-webview'
      - '--disable-webviewwebkit'
      - '--with-libiconv=/usr'
    build-options:
      cxxflags: '-std=c++11'
    sources:
      - type: archive
        url: >-
          https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.4/wxWidgets-3.2.4.tar.bz2
        sha1: 1fa54302c7ef6c86fa4311d303abd79a85b127a5
    cleanup:
      - /bin/wx*
      - /lib/wx
      - /include/wx-3.2
  - name: tcl
    config-opts:
      - '--prefix=${FLATPAK_DEST}'
    subdir: unix
    sources:
      - type: archive
        url: 'https://prdownloads.sourceforge.net/tcl/tcl8.6.12-src.tar.gz'
        sha256: 26c995dd0f167e48b11961d891ee555f680c175f7173ff8cb829f4ebcde4c1a6
    post-install:
      - chmod 755 /app/lib/libtcl8.6.so
    cleanup:
      - /bin/tclsh8.6
      - /include/*
      - /lib
      - /man
  - name: sqlcipher
    buildsystem: simple
    build-commands:
      - mkdir build
      - >-
        cd build; ../configure --prefix=${FLATPAK_DEST} --enable-tempstore=yes
        CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"; make; make sqlite3.c
      - 'cd build; make install prefix=${FLATPAK_DEST}'
    sources:
      - type: archive
        url: 'https://github.com/sqlcipher/sqlcipher/archive/v4.4.3.tar.gz'
        sha1: 7b097e75d38e338806d4bde7092304d137e3b27b
    cleanup:
      - /bin/sqlite3_analyzer
      - /include/sqlcipher
      - /lib/tcl8.6
      - /lib/pkgconfig
  - name: openmoneybox
    buildsystem: simple
    build-commands:
      - make FLATPAK=1
      - 'make install FLATPAK=1 DESTDIR=${FLATPAK_DEST}'
    sources:
      - type: bzr
        url: 'lp:bilancio/trunk'