media-video/obs-studio: fix build against ImageMagick 7.
authorJimi Huotari <chiitoo@gentoo.org>
Thu, 31 Aug 2017 11:46:07 +0000 (14:46 +0300)
committerPatrice Clement <monsieurp@gentoo.org>
Wed, 11 Oct 2017 21:04:12 +0000 (23:04 +0200)
commit8434e38d77c3d9b82292c822164a385d9244f8fc
treee03b65fb2761d03d3a15a7e749a3f66a3908a302
parentdc239cf17591eb835a5b17cf1da43ef6567c74ea
media-video/obs-studio: fix build against ImageMagick 7.

Since ImageMagick 7, the headers have been under a different
directory, and the build with ImageMagick support will fail when
the old path is used.  This commit patches in detection for the
version being used, while also choosing the path accordingly.

Special thanks to Hu.

Upstream Pull Request: https://github.com/jp9000/obs-studio/pull/1018

Closes: https://bugs.gentoo.org/627520
Closes: https://github.com/gentoo/gentoo/pull/5642
Package-Manager: Portage-2.3.8, Repoman-2.3.3
media-video/obs-studio/files/obs-studio-ImageMagick-header-path.patch [new file with mode: 0644]
media-video/obs-studio/obs-studio-18.0.2.ebuild
media-video/obs-studio/obs-studio-19.0.2.ebuild
media-video/obs-studio/obs-studio-20.0.1.ebuild