diff --git a/srcpkgs/libopenshot-audio/patches/fix-std_isfinite.patch b/srcpkgs/libopenshot-audio/patches/fix-std_isfinite.patch deleted file mode 100644 index 231f183d5a..0000000000 --- a/srcpkgs/libopenshot-audio/patches/fix-std_isfinite.patch +++ /dev/null @@ -1,23 +0,0 @@ -Fix for gcc6 which does not have std::isfinite() but suggests -to use std::finite() instead. - ---- JuceLibraryCode/modules/juce_core/maths/juce_MathsFunctions.h 2016-08-30 06:24:27.000000000 +0200 -+++ JuceLibraryCode/modules/juce_core/maths/juce_MathsFunctions.h 2016-12-12 14:33:29.170005576 +0100 -@@ -381,7 +381,7 @@ - #if JUCE_WINDOWS && !JUCE_MINGW - return _finite (value) != 0; - #else -- return std::isfinite (value); -+ return finite (value); - #endif - } - -@@ -391,7 +391,7 @@ - #if JUCE_WINDOWS && !JUCE_MINGW - return _finite (value) != 0; - #else -- return std::isfinite (value); -+ return finite (value); - #endif - } - diff --git a/srcpkgs/libopenshot-audio/template b/srcpkgs/libopenshot-audio/template index 2e97478137..32724ecd9f 100644 --- a/srcpkgs/libopenshot-audio/template +++ b/srcpkgs/libopenshot-audio/template @@ -1,7 +1,7 @@ # Template file for 'libopenshot-audio' pkgname=libopenshot-audio version=0.1.8 -revision=1 +revision=2 build_style=cmake hostmakedepends="doxygen" makedepends="alsa-lib-devel libXcursor-devel libXinerama-devel libXrandr-devel @@ -10,11 +10,17 @@ short_desc="OpenShot audio library" maintainer="Spencer Hill " license="GPL-3.0-or-later" homepage="https://github.com/OpenShot/libopenshot-audio" -distfiles="https://github.com/OpenShot/libopenshot-audio/archive/v${version}.tar.gz" -checksum=384d0ef39c78f16d77048de3c96152321724084f978dc622675dd6bb16e15e19 +distfiles="https://github.com/OpenShot/libopenshot-audio/archive/v${version}.tar.gz + https://patch-diff.githubusercontent.com/raw/OpenShot/libopenshot-audio/pull/39.patch" +checksum="384d0ef39c78f16d77048de3c96152321724084f978dc622675dd6bb16e15e19 + ae784a96730f7cf09ba7bf29d06704ba6a0eca662d242d786b0a86a4343e9dc9" CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2" +post_extract() { + patch -p1 <../39.patch +} + libopenshot-audio-devel_package() { short_desc+=" - development files" depends+=" ${sourcepkg}>=${version}_${revision}"