Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to build snap of fswebcam #30

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ config.log
config.status
*.cache

/parts/
/prime/
/stage/
*.snap
30 changes: 30 additions & 0 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -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