shithub: dav1d

Download patch

ref: 3e0f1508ad17b181b9252423655a15602497bd49
parent: 61442bee60f45b05da627ddbac10a9a63e243f47
author: Jean-Baptiste Kempf <jb@videolan.org>
date: Tue Oct 8 04:37:21 EDT 2019

Move snap to package/ subfolder

diff: cannot open b/package/snap//null: file does not exist: 'b/package/snap//null' diff: cannot open b/package//null: file does not exist: 'b/package//null' diff: cannot open a/snap//null: file does not exist: 'a/snap//null'
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -241,7 +241,7 @@
         - debian
         - amd64
     script:
-        - snapcraft snap
+        - cd package/snap && snapcraft snap
         - |
            if [ "$CI_PROJECT_NAMESPACE" = "videolan" ]; then
             echo $SNAP_LOGIN | base64 --decode | snapcraft login --with -
@@ -251,7 +251,7 @@
     artifacts:
         name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
         paths:
-            - dav1d_*.snap
+            - package/snap/dav1d_*.snap
         expire_in: 1 week
     allow_failure: true
 
--- /dev/null
+++ b/package/snap/snapcraft.yaml
@@ -1,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: 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
--- a/snap/snapcraft.yaml
+++ /dev/null
@@ -1,24 +1,0 @@
-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: 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