Skip to content
Snippets Groups Projects
Forked from gajim / gajim
6400 commits behind the upstream repository.
org.gajim.Gajim.yaml 7.14 KiB
app-id: org.gajim.Gajim
runtime: org.gnome.Platform
runtime-version: 3.30
sdk: org.gnome.Sdk
command: gajim
tags: nightly
desktop-file-name-prefix: '(Nightly) '
finish-args:
  - --share=ipc
  - --share=network
  - --socket=x11
  - --socket=wayland
  - --socket=pulseaudio
  - --system-talk-name=org.freedesktop.GeoClue2
  - --system-talk-name=org.freedesktop.login1
  - --talk-name=org.gnome.ScreenSaver
  - --talk-name=org.mpris.MediaPlayer2.*
  # Keyring
  - --talk-name=org.freedesktop.secrets
  # dconf
  - --filesystem=xdg-run/dconf
  - --filesystem=~/.config/dconf:ro
  - --talk-name=ca.desrt.dconf
  - --env=DCONF_USER_CONFIG_DIR=.config/dconf
  # extensions
  - --env=PYTHONPATH=/app/plugins/lib/python3.7/site-packages

add-extensions:
  org.gajim.Gajim.Plugin:
    directory: plugins
    merge-dirs: lib/python3.7/site-packages
    subdirectories: true
    no-autodownload: true
    autodelete: true

build-options:
  cflags: -O2 -g
  cxxflags: -O2 -g

cleanup:
  - '/bin/easy*'
  - /include
  - /lib/debug
  - /lib/pkgconfig
  - /lib/python2.7
  - /share/aclocal
  - /share/doc
  - /share/gtk-doc
  - /share/man
  - '*.a'
  - '*.la'

modules:
  - name: python3-pycparser
    buildsystem: simple
    build-commands:
      - python3 setup.py install --prefix=/app
    sources:
      - type: archive
        url: https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz
        sha256: a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3

  - name: python3-cffi
    buildsystem: simple
    build-commands:
      - python3 setup.py install --prefix=/app
    sources:
      - type: archive
        url: https://files.pythonhosted.org/packages/e7/a7/4cd50e57cc6f436f1cc3a7e8fa700ff9b8b4d471620629074913e3735fb2/cffi-1.11.5.tar.gz
        sha256: e90f17980e6ab0f3c2f3730e56d1fe9bcba1891eeea58966e89d352492cc74f4