Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Shuttleworth <mark@ubuntu.com>2019-02-14 18:00:42 +0300
committerJean-Baptiste Kempf <jb@videolan.org>2019-02-14 18:00:42 +0300
commitc9c445acbeeb444d352f862ba4bdcf9646f22b42 (patch)
tree7f379b0dc00d4201d77defc4638bea3b93c0c843
parentfd5a950a7d1cedf0b30f5e9f34922bd6fae2f02a (diff)
Add snapcraft packaging
-rw-r--r--.gitignore1
-rw-r--r--snap/snapcraft.yaml23
2 files changed, 24 insertions, 0 deletions
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