ref: c9c445acbeeb444d352f862ba4bdcf9646f22b42
parent: fd5a950a7d1cedf0b30f5e9f34922bd6fae2f02a
author: Mark Shuttleworth <mark@ubuntu.com>
date: Thu Feb 14 11:00:42 EST 2019
Add snapcraft packaging
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
tags
.DS_Store
/tests/dav1d-test-data
+*.snap
--- /dev/null
+++ b/snap/snapcraft.yaml
@@ -1,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