# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
version: 1
AppDir:
  path: ./AppDir
  app_info:
    id: nheko
    name: nheko
    icon: nheko
    version: latest
    exec: usr/bin/nheko
    exec_args: $@
  runtime:
    env:
      APPDIR_LIBRARY_PATH: $APPDIR/usr/lib/x86_64-linux-gnu:$APPDIR/usr/lib/x86_64-linux-gnu/gstreamer-1.0:$APPDIR/usr/lib/x86_64-linux-gnu/gconv:$APPDIR/lib/x86_64-linux-gnu:$APPDIR/usr/lib/x86_64-linux-gnu/pulseaudio
  apt:
    arch: amd64
    allow_unauthenticated: true
    sources:
    - sourceline: deb http://de.archive.ubuntu.com/ubuntu/ bionic main restricted
    - sourceline: deb http://de.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
    - sourceline: deb http://de.archive.ubuntu.com/ubuntu/ bionic universe
    - sourceline: deb http://de.archive.ubuntu.com/ubuntu/ bionic-updates universe
    - sourceline: deb http://de.archive.ubuntu.com/ubuntu/ bionic multiverse
    - sourceline: deb http://de.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
    - sourceline: deb http://de.archive.ubuntu.com/ubuntu/ bionic-backports main restricted
        universe multiverse
    - sourceline: deb http://security.ubuntu.com/ubuntu bionic-security main restricted
    - sourceline: deb http://security.ubuntu.com/ubuntu bionic-security universe
    - sourceline: deb http://security.ubuntu.com/ubuntu bionic-security multiverse
    - sourceline: deb http://archive.neon.kde.org/user/ bionic main
    include:
    - gstreamer1.0-libav
    - gstreamer1.0-plugins-bad
    - gstreamer1.0-plugins-base
    - gstreamer1.0-plugins-good
    - gstreamer1.0-pulseaudio
    - gstreamer1.0-x
    - kimageformat-plugins
    - libbs2b0
    - libbz2-1.0
    - libelf1
    - libexpat1
    - libhogweed4
    - libjpeg-turbo8
    - libkf5archive5
    - libllvm10
    - liblmdb0
    - liblz4-1
    - libnorm1
    - libnss-mdns
    - libopenexr22
    - libpcre3
    - libqt5keychain1
    - libqt5multimedia5-plugins
    - libqt5multimediagsttools5
    - libqt5multimediawidgets5
    - libqt5quickcontrols2-5
    - libqt5quicktemplates2-5
    - libqt5quickwidgets5
    - libqt5svg5
    - librubberband2
    - libsensors4
    - libsm6
    - libsnappy1v5
    - libsystemd0
    - libwayland-server0
    - libx264-152
    - libxau6
    - libxcb-render-util0
    - libxcb-sync1
    - libxcb-xinerama0
    - libxcb-xkb1
    - libxcursor1
    - libxdmcp6
    - libxext6
    - libxfixes3
    - libxrender1
    - libxshmfence1
    - libxv1
    - libxxf86vm1
    - libzstd1
    - qml-module-qtgraphicaleffects
    - qml-module-qtmultimedia
    - qml-module-qtquick-controls2
    - qml-module-qtquick-layouts
    - qml-module-qtquick-templates2
    - qml-module-qtquick-window2
    - qml-module-qtquick2
    - qt5-image-formats-plugins
    exclude: []
  files:
    exclude:
    - usr/share/man
    - usr/share/doc/*/README.*
    - usr/share/doc/*/changelog.*
    - usr/share/doc/*/NEWS.*
    - usr/share/doc/*/TODO.*
  test:
    fedora:
      image: appimagecrafters/tests-env:fedora-30
      command: ./AppRun
      use_host_x: true
    debian:
      image: appimagecrafters/tests-env:debian-stable
      command: ./AppRun
      use_host_x: true
    arch:
      image: appimagecrafters/tests-env:archlinux-latest
      command: ./AppRun
      use_host_x: true
    centos:
      image: appimagecrafters/tests-env:centos-7
      command: ./AppRun
      use_host_x: true
    ubuntu:
      image: appimagecrafters/tests-env:ubuntu-xenial
      command: ./AppRun
      use_host_x: true
AppImage:
  arch: x86_64
  update-information: None
  sign-key: None
