version: 1

AppDir:
  path: ./AppDir

  app_info:
    id: minetest
    name: Minetest
    icon: minetest
    version: !ENV ${VERSION}
    exec: usr/bin/minetest
    exec_args: $@
  runtime:
    env:
      APPDIR_LIBRARY_PATH: $APPDIR/usr/lib/x86_64-linux-gnu

  apt:
    arch: amd64
    sources:
      - sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic main universe
        key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32'
      - sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-updates main universe
      - sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-backports main universe
      - sourceline: deb http://archive.ubuntu.com/ubuntu/ bionic-security main universe

    include:
      - libc6
      - libcurl3-gnutls
      - libfreetype6
      - libgl1
      - libjpeg-turbo8
      - libjsoncpp1
      - libleveldb1v5
      - libopenal1
      - libpng16-16
      - libsqlite3-0
      - libstdc++6
      - libvorbisfile3
      - libx11-6
      - libxxf86vm1
      - zlib1g

  files:
    exclude:
      - usr/share/man
      - usr/share/doc/*/README.*
      - usr/share/doc/*/changelog.*
      - usr/share/doc/*/NEWS.*
      - usr/share/doc/*/TODO.*

AppImage:
  update-information: None
  sign-key: None
  arch: x86_64
