From c9c445acbeeb444d352f862ba4bdcf9646f22b42 Mon Sep 17 00:00:00 2001 From: Mark Shuttleworth Date: Thu, 14 Feb 2019 16:00:42 +0100 Subject: Add snapcraft packaging --- .gitignore | 1 + snap/snapcraft.yaml | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 snap/snapcraft.yaml diff --git a/.gitignore b/.gitignore index e553571..2bbd7c4 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ tags .DS_Store /tests/dav1d-test-data +*.snap diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 0000000..8636677 --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,23 @@ +name: dav1d +base: core18 +version: git +summary: AV1 decoder from VideoLAN +description: | + A small and fast AV1 decoder from the people who brought you VLC. + +grade: devel # must be 'stable' to release into candidate/stable channels +confinement: strict # use 'strict' once you have the right plugs and slots + +apps: + dav1d: + command: usr/bin/dav1d + plugs: [ 'home' ] + +parts: + dav1d: + plugin: meson + source: . + build-packages: [ 'nasm' ] + meson-parameters: + - --prefix=/usr + - --buildtype=release -- cgit v1.2.3