summaryrefslogtreecommitdiffstats
path: root/third_party/dav1d/package/snap/snapcraft.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/dav1d/package/snap/snapcraft.yaml')
-rw-r--r--third_party/dav1d/package/snap/snapcraft.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/third_party/dav1d/package/snap/snapcraft.yaml b/third_party/dav1d/package/snap/snapcraft.yaml
new file mode 100644
index 0000000000..cecd0bd453
--- /dev/null
+++ b/third_party/dav1d/package/snap/snapcraft.yaml
@@ -0,0 +1,24 @@
+name: dav1d
+base: core18
+version: git
+version-script: git describe HEAD --always
+summary: AV1 decoder from VideoLAN
+description: |
+ A small and fast AV1 decoder from the people who brought you VLC.
+
+grade: stable
+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