diff options
author | Jimi Huotari <chiitoo@gentoo.org> | 2017-08-31 14:46:07 +0300 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-10-11 23:04:12 +0200 |
commit | 8434e38d77c3d9b82292c822164a385d9244f8fc (patch) | |
tree | e03b65fb2761d03d3a15a7e749a3f66a3908a302 /media-video/obs-studio/obs-studio-19.0.2.ebuild | |
parent | app-backup/burp: remove old unstable-branch versions (diff) | |
download | gentoo-8434e38d77c3d9b82292c822164a385d9244f8fc.tar.gz gentoo-8434e38d77c3d9b82292c822164a385d9244f8fc.tar.bz2 gentoo-8434e38d77c3d9b82292c822164a385d9244f8fc.zip |
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
Diffstat (limited to 'media-video/obs-studio/obs-studio-19.0.2.ebuild')
-rw-r--r-- | media-video/obs-studio/obs-studio-19.0.2.ebuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media-video/obs-studio/obs-studio-19.0.2.ebuild b/media-video/obs-studio/obs-studio-19.0.2.ebuild index 07c1a8007eb9..40f9313612c5 100644 --- a/media-video/obs-studio/obs-studio-19.0.2.ebuild +++ b/media-video/obs-studio/obs-studio-19.0.2.ebuild @@ -51,6 +51,8 @@ DEPEND=" " RDEPEND="${DEPEND}" +PATCHES="${FILESDIR}/${PN}-ImageMagick-header-path.patch" + CMAKE_REMOVE_MODULES_LIST=( FindFreetype ) src_configure() { |