Package Details: obs-gphoto 0.3.0-1

Git Clone URL: https://aur.archlinux.org/obs-gphoto.git (read-only, click to copy)
Package Base: obs-gphoto
Description: Allows connect DSLR cameras with obs-studio through gPhoto on Linux
Upstream URL: https://github.com/Atterratio/obs-gphoto
Keywords: gphoto obs photo plugin video
Licenses: GPL2
Submitter: Atterratio
Maintainer: Atterratio
Last Packager: Atterratio
Votes: 6
Popularity: 0.21
First Submitted: 2017-10-22 18:54
Last Updated: 2017-10-24 15:49

Latest Comments

adambrinek commented on 2021-01-21 18:37

I got this package working with imagemagick 7. I had to only apply thist patch before building package from AUR.

diff --unified --recursive --text obs-gphoto-0.3.0/src/gphoto-preview.c obs-gphoto-0.3.0-patched/src/gphoto-preview.c
--- obs-gphoto-0.3.0/src/gphoto-preview.c   2017-10-24 17:29:31.000000000 +0200
+++ obs-gphoto-0.3.0-patched/src/gphoto-preview.c   2021-01-21 19:19:03.212192386 +0100
@@ -1,4 +1,4 @@
-#include <magick/MagickCore.h>
+#include <MagickCore/MagickCore.h>

 #include "gphoto-preview.h"
 #include "gphoto-utils.h"
@@ -383,4 +383,4 @@
     .hide           = capture_hide,
     .get_width      = capture_getwidth,
     .get_height     = capture_getheight,
-};
\ No newline at end of file
+};
diff --unified --recursive --text obs-gphoto-0.3.0/src/gphoto-utils.c obs-gphoto-0.3.0-patched/src/gphoto-utils.c
--- obs-gphoto-0.3.0/src/gphoto-utils.c 2017-10-24 17:29:31.000000000 +0200
+++ obs-gphoto-0.3.0-patched/src/gphoto-utils.c 2021-01-21 19:19:15.005310869 +0100
@@ -1,7 +1,7 @@
 #include <obs-module.h>
 #include <obs-internal.h>
 #include <gphoto2/gphoto2-camera.h>
-#include <magick/MagickCore.h>
+#include <MagickCore/MagickCore.h>

 #include "gphoto-preview.h"

@@ -539,4 +539,4 @@
         gp_widget_free(widget);
     }
     return ret;
-}
\ No newline at end of file
+}
diff --unified --recursive --text obs-gphoto-0.3.0/src/timelapse.c obs-gphoto-0.3.0-patched/src/timelapse.c
--- obs-gphoto-0.3.0/src/timelapse.c    2017-10-24 17:29:31.000000000 +0200
+++ obs-gphoto-0.3.0-patched/src/timelapse.c    2021-01-21 19:19:25.108460498 +0100
@@ -1,4 +1,4 @@
-#include <magick/MagickCore.h>
+#include <MagickCore/MagickCore.h>

 #include "timelapse.h"
 #include "gphoto-utils.h"
@@ -513,4 +513,4 @@
         .get_height     = timelapse_getheight,
         .video_render   = timelapse_render,
         .video_tick     = timelapse_tick,
-};
\ No newline at end of file
+};

tauboga commented on 2020-08-27 15:25

Install libmagick6 and edit the PKGBUILD between line 15 and 16: ln -s /usr/include/ImageMagick-6/magick ${srcdir}/${pkgname}-${pkgver}/src/magick

Works like a charm.

archmylinux commented on 2020-03-17 18:43

Am-I mistaken or is there no imagemagick6 package available ? I tried installing libmagick6 but I does not seem to be enough to compile.

anonfunc commented on 2018-02-20 17:54

This won't build with imagemagick, instead it builds with imagemagick6, seems there is no support of imagemagick 7.x upstream yet.

Atterratio commented on 2017-10-22 19:02

At now it's tested only on Canon cameras see bug: https://github.com/Atterratio/obs-gphoto/issues/1