diff --git a/.gitignore b/.gitignore index 0ab185a..543feca 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,7 @@ config.log config.status *.cache +/parts/ +/prime/ +/stage/ +*.snap diff --git a/snapcraft.yaml b/snapcraft.yaml new file mode 100644 index 0000000..f94140a --- /dev/null +++ b/snapcraft.yaml @@ -0,0 +1,30 @@ +name: fswebcam # the name of the snap +version: 1 # the version of the snap +summary: Snap of fswebcam # 79 char long summary +description: Snap of fswebcam # a longer description for the snap +confinement: strict # use "strict" to enforce system access only via declared interfaces + +apps: + fswebcam: + command: fswebcam + plugs: + - home + - camera + +parts: + fswebcam: # Replace with a part name of your liking + # Get more information about plugins by running + # snapcraft help plugins + # and more information about the available plugins + # by running + # snapcraft list-plugins + plugin: autotools + source: . + build-packages: + # Here for the plugins-- they're not linked in automatically. + - libgd-dev + - libgd3 + stage-packages: + # Here for the plugins-- they're not linked in automatically. + - libgd3 + \ No newline at end of file