[vlc-commits] snap: exclude unneeded development files.

Konstantin Pavlov git at videolan.org
Wed Feb 21 21:28:05 CET 2018


vlc/vlc-3.0 | branch: master | Konstantin Pavlov <thresh at videolan.org> | Wed Feb 21 16:15:42 2018 +0300| [efd841e77309321e7a7416884224419917620fdc] | committer: Konstantin Pavlov

snap: exclude unneeded development files.

(cherry picked from commit 9e426c2bede9d079e9cf4fc9c18afbc719a262ac)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=efd841e77309321e7a7416884224419917620fdc
---

 extras/package/snap/snapcraft.yaml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/extras/package/snap/snapcraft.yaml b/extras/package/snap/snapcraft.yaml
index 8f927c5839..ba0ba95b02 100644
--- a/extras/package/snap/snapcraft.yaml
+++ b/extras/package/snap/snapcraft.yaml
@@ -227,6 +227,19 @@ parts:
       - zlib1g
       - libprojectm2v5
       - projectm-data
+    filesets:
+      exclusion:
+      - "-usr/lib/*/cmake/*"
+      - "-usr/include/*"
+      - "-usr/share/ECM/*"
+      - "-usr/share/doc/*"
+      - "-usr/share/man/*"
+      - "-usr/share/icons/breeze-dark*"
+      - "-usr/bin/X11"
+      - "-usr/lib/gcc/x86_64-linux-gnu/6.0.0"
+      - "-usr/lib/aspell/*"
+    prime:
+      - "$exclusion"
 
   wrapper:
     plugin: dump



More information about the vlc-commits mailing list