Skip to content

Commit

Permalink
Add obs-gphoto plugin. Closes #32
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Aug 22, 2020
1 parent fb5e456 commit 81ed686
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ The snap of OBS studio comes pre-loaded with some additions features and plugins
* **[DVD Screensaver](https://github.com/univrsal/dvds3)** plugin; a DVD screen saver source type.
* **[Dynamic Delay](https://github.com/exeldro/obs-dynamic-delay)** plugin; filter for dynamic delaying a video source.
* **[Freeze Filter](https://github.com/exeldro/obs-freeze-filter)** plugin; freeze a source using a filter.
* **[gPhoto](https://github.com/adlerweb/obs-gphoto)** plugin; connect DSLR cameras with obs-studio via gPhoto.
* **[Input Overlay](https://github.com/univrsal/input-overlay)** plugin; show keyboard, gamepad and mouse input on stream.
* **[Move Transition](https://github.com/exeldro/obs-move-transition)** plugin; move source to a new position during scene transition.
* **[NDI](https://github.com/Palakis/obs-ndi)** plugin; Network A/V via NewTek's NDI.
Expand Down
23 changes: 23 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,29 @@ parts:
prime:
- -usr/lib/$SNAPCRAFT_ARCH_TRIPLET/obs-plugins/obs-ndi.so

obs-gphoto:
plugin: cmake
after:
- obs
source: https://github.com/adlerweb/obs-gphoto.git
source-branch: 'adlerweb'
configflags:
- -DCMAKE_C_COMPILER=gcc-8
- -DCMAKE_CXX_COMPILER=g++-8
- -DCMAKE_INSTALL_PREFIX=/usr
- -DCMAKE_BUILD_TYPE=Release
- -DSYSTEM_INSTALL=1
- -DLIBOBS_INCLUDE_DIR=$SNAPCRAFT_STAGE/usr/include/obs/
build-packages:
- libgphoto2-dev
- libjpeg-turbo8-dev
- libudev-dev
stage-packages:
- libgphoto2-6
- libjpeg-turbo8
- libudev1
organize:
root/stage/usr/lib/obs-plugins/obs-gphoto.so: usr/lib/obs-plugins/
launcher:
after: [ obs ]
plugin: dump
Expand Down

0 comments on commit 81ed686

Please sign in to comment.