fsphil / fswebcam

A neat and simple webcam app
http://www.sanslogic.co.uk/fswebcam/
GNU General Public License v2.0
416 stars 87 forks source link

Ability to build snap of fswebcam #30

Open philroche opened 8 years ago

philroche commented 8 years ago

snapcraft.yaml added for producing snap of fswebcam

Using the Snapcraft packaging tool for snappy and the snapcraft.yaml file you can now build an fswebcam snap and install on any OS with snappy installed. See http://snapcraft.io/ for more details on snappy.

I have pushed the resulting snap to the snap store - https://myapps.developer.ubuntu.com/dev/click-apps/5794/ . I am currently the owner of that snap but I am happy to transfer to you.

Steps to install from store: $ sudo snap login %YOURLAUNCHPADUSERSEMAILADDRESS% $ snap install fswebcam $ sudo snap connect fswebcam:camera ubuntu-core:camera

Steps to build and install from local: $ sudo apt install snapcraft $ git clone git@github.com:philroche/fswebcam.git $ git checkout snap $ snapcraft $ snapcraft install fswebcam_0_amd64.snap --devmode $ /snap/bin/fswebcam photo.jpg