gpt4all

Форк
0
/
io.gpt4all.gpt4all.yml 
165 строк · 5.4 Кб
1
app-id: io.gpt4all.gpt4all
2
default-branch: stable
3
runtime: org.kde.Platform
4
runtime-version: '6.5'
5
sdk: org.kde.Sdk
6
sdk-extensions:
7
  - org.freedesktop.Sdk.Extension.node14
8
finish-args:
9
  - --share=ipc
10
  - --socket=wayland
11
  - --socket=x11
12
  - --share=network
13
  - --device=dri
14
  - --env=LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/app/lib/x86_64-linux-gnu/
15
  - --filesystem=xdg-documents:ro
16
command: chat
17
cleanup:
18
  - /include
19

20
modules:
21
  - name: qthttpserver
22
    buildsystem: cmake
23
    sources:
24
      - type: archive
25
        url: https://invent.kde.org/qt/qt/qthttpserver/-/archive/6.5.2/qthttpserver-6.5.2.zip
26
        sha256: 9fb7b14774b4ed62fe9097e13fa593af06ba75537783fc62f34652bada26abee
27

28
  - name: python-html5lib
29
    buildsystem: simple
30
    build-commands:
31
    - 'pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} "html5lib" --no-build-isolation'
32
    sources:
33
      - type: file
34
        url: https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl
35
        sha256: a0af1213f3c2226497a97e2b3aa01a7e4bee4f403f95be16fc9acd2947514a78
36
        x-checker-data:
37
            type: pypi
38
            name: webencodings
39
            packagetype: bdist_wheel
40
      - type: file
41
        url: https://files.pythonhosted.org/packages/6c/dd/a834df6482147d48e225a49515aabc28974ad5a4ca3215c18a882565b028/html5lib-1.1-py2.py3-none-any.whl
42
        sha256: 0d78f8fde1c230e99fe37986a60526d7049ed4bf8a9fadbad5f00e22e58e041d
43
        x-checker-data:
44
            type: pypi
45
            name: html5lib
46
            packagetype: bdist_wheel
47
    cleanup:
48
    - '*'
49

50
  - name: qtwebengine
51
    buildsystem: cmake
52
    builddir: true
53
    config-opts:
54
      - -DQT_FEATURE_qtwebengine_build=OFF
55
      - -DQT_FEATURE_qtpdf_build=ON
56
    build-options:
57
      append-path: /usr/lib/sdk/node14/bin
58
      env:
59
        - npm_config_nodedir=/usr/lib/sdk/node14
60
    sources:
61
      - type: git
62
        url: https://invent.kde.org/qt/qt/qtwebengine.git
63
        tag: v6.5.2
64
        commit: ac887518e8243828333e923b5a1e61a007babde5
65
  
66
  - name: vulkan-headers
67
    buildsystem: cmake
68
    builddir: true
69
    sources:
70
      - type: git
71
        url: https://github.com/KhronosGroup/Vulkan-Headers.git
72
        tag: v1.3.224
73
        commit: 2b55157592bf4c639b76cc16d64acaef565cc4b5
74

75
  - name: fmt
76
    buildsystem: cmake
77
    builddir: true
78
    sources:
79
      - type: git
80
        url: https://github.com/fmtlib/fmt.git
81
        tag: 10.1.1
82
        commit: f5e54359df4c26b6230fc61d38aa294581393084
83

84
  - name: vulkan-tools
85
    buildsystem: cmake
86
    builddir: true
87
    sources:
88
      - type: git
89
        url: https://github.com/KhronosGroup/Vulkan-Tools.git
90
        tag: v1.3.224
91
        commit: 497f232680b046db34ba9e9da065e6303a125851
92

93
    
94

95
    modules:
96
      - name: shaderc
97
        buildsystem: cmake-ninja
98
        builddir: true
99
        config-opts:
100
          - -DSHADERC_SKIP_COPYRIGHT_CHECK=ON
101
          - -DSHADERC_SKIP_EXAMPLES=ON
102
          - -DSHADERC_SKIP_TESTS=ON
103
          - -DSPIRV_SKIP_EXECUTABLES=ON
104
          - -DENABLE_GLSLANG_BINARIES=OFF
105
        cleanup:
106
          - /bin
107
          - /include
108
          - /lib/cmake
109
          - /lib/pkgconfig
110
        sources:
111
          - type: git
112
            url: https://github.com/google/shaderc.git
113
            tag: v2023.4
114
            commit: 45b735dfddefe26a99b77e5a74e30d860713ac64
115
#           x-checker-data:
116
#             type: git
117
#             tag-pattern: ^v(\d{4}\.\d{1,2})$
118
          - type: git
119
            url: https://github.com/KhronosGroup/SPIRV-Tools.git
120
            tag: v2023.2
121
            commit: 44d72a9b36702f093dd20815561a56778b2d181e
122
            dest: third_party/spirv-tools
123
            x-checker-data:
124
              type: git
125
              tag-pattern: ^v(\d{4}\.\d{1})$
126
          - type: git
127
            url: https://github.com/KhronosGroup/SPIRV-Headers.git
128
            tag: sdk-1.3.250.1
129
            commit: 268a061764ee69f09a477a695bf6a11ffe311b8d
130
            dest: third_party/spirv-headers
131
            x-checker-data:
132
              type: git
133
              tag-pattern: ^sdk-([\d.]+)$
134
          - type: git
135
            url: https://github.com/KhronosGroup/glslang.git
136
            tag: 12.2.0
137
            commit: d1517d64cfca91f573af1bf7341dc3a5113349c0
138
            dest: third_party/glslang
139
          
140
          
141

142

143
  - name: gpt4all
144
    buildsystem: simple
145
    build-commands:
146
      - git submodule update --init --recursive
147
      - mkdir build
148
      - cmake  -S ./gpt4all-chat -B build -DKOMPUTE_OPT_USE_BUILT_IN_VULKAN_HEADER=OFF -DKOMPUTE_OPT_USE_BUILT_IN_FMT=OFF -DCMAKE_INSTALL_PREFIX=/app
149
      - cmake --build build --config Release -- -j
150
      - cmake --install build --prefix "/app"
151
      - install -Dm644 logo.svg /app/share/icons/hicolor/scalable/apps/io.gpt4all.gpt4all.svg
152
      - install -Dm644 io.gpt4all.gpt4all.desktop /app/share/applications/io.gpt4all.gpt4all.desktop
153
      - install -Dm644 io.gpt4all.gpt4all.appdata.xml  /app/share/appdata/io.gpt4all.gpt4all.appdata.xml
154
    sources:
155
      - type: git
156
        url: https://github.com/nomic-ai/gpt4all
157
        tag: v2.4.19
158
        commit: 84905aa28171545542fc653dbeca501ae5af383e
159
      - type: file
160
        url: https://raw.githubusercontent.com/nomic-ai/gpt4all/main/gpt4all-chat/icons/logo.svg
161
        sha256: 4c4e8476d0e2020585b69c6e2fc9e7d0cb12cbb36aa7b83c3a2e48ed4a9a424c
162
      - type: file
163
        path: io.gpt4all.gpt4all.desktop
164
      - type: file
165
        path: io.gpt4all.gpt4all.appdata.xml
166

167

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.