view snap/snapcraft.yaml @ 698:020e73192fe2 default tip

Update debian urls
author Neil Muller <drnlmuller@gmail.com>
date Tue, 17 Mar 2020 22:38:52 +0200
parents 5bba86df5860
children
line wrap: on
line source

name: werewolf-sonata
base: core18
version: 0.1+hg696  # TODO: Automate
summary: "Werewolf Sonata: Adventure Puzzler Game"
description: |
 Being a werewolf has many advantages, but it isn't great for paying the bills.
 Insurance claims assesors willing to go the extra mile (to Saturn's moons, for
 example) are, however, paid exceedingly well.
 Money, and plentiful moonlight. What more could one ask for?
 Werewolf Sonata was a PyWeek.org entry, a game written in a week.
license: MIT

grade: stable
confinement: strict

parts:
  game:
    plugin: python
    python-version: python2
    source: .
    stage-packages:
      - libslang2
      - python-numpy
      - python-pygame

  launcher:
    plugin: dump
    source-type: local
    source: snap/local
    stage:
      - werewolf-sonata.desktop

apps:
  werewolf-sonata:
    command: bin/nagslang
    desktop: werewolf-sonata.desktop
    environment:
      LD_LIBRARY_PATH: "$LD_LIBRARY_PATH:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio"
    plugs:
      - audio-playback
      - x11