libopenshot_audio: fix build on x86_64.

* also fix devel requires.
This commit is contained in:
Jérôme Duval
2016-11-30 23:19:18 +01:00
parent 097a73a134
commit 99170aadca
2 changed files with 15 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ SOURCE_URI="https://github.com/OpenShot/libopenshot-audio/archive/v$portVersion.
SOURCE_FILENAME="libopenshot-audio-$portVersion.tar.gz"
CHECKSUM_SHA256="64295d61e985e045dbb4cb525cde9afe6fba9f053302c4154a1ab1b7f6de9820"
SOURCE_DIR="libopenshot-audio-$portVersion"
REVISION="1"
REVISION="2"
PATCHES="libopenshot_audio-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
@@ -32,6 +32,8 @@ PROVIDES_devel="
"
REQUIRES_devel="
libopenshot_audio$secondaryArchSuffix == $portVersion base
haiku$secondaryArchSuffix
lib:libcurl$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
"

View File

@@ -1,4 +1,4 @@
From b3f1dc9af38d2eb5dd6c629b5c310fbba756364e Mon Sep 17 00:00:00 2001
From 23ae5c691964ebcbfc2e55be95c19afc23448ce4 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Wed, 1 Jun 2016 10:54:45 +0200
Subject: Haiku patch
@@ -644,7 +644,7 @@ index 540bf73..e246b6c 100644
MacOSX_10_4 = MacOSX | 4,
MacOSX_10_5 = MacOSX | 5,
diff --git a/JuceLibraryCode/modules/juce_core/system/juce_TargetPlatform.h b/JuceLibraryCode/modules/juce_core/system/juce_TargetPlatform.h
index 75e363f..6c09c3a 100644
index 75e363f..f69f96a 100644
--- a/JuceLibraryCode/modules/juce_core/system/juce_TargetPlatform.h
+++ b/JuceLibraryCode/modules/juce_core/system/juce_TargetPlatform.h
@@ -66,6 +66,8 @@
@@ -656,6 +656,15 @@ index 75e363f..6c09c3a 100644
#else
#error "Unknown platform!"
#endif
@@ -140,7 +142,7 @@
#endif
//==============================================================================
-#if JUCE_LINUX || JUCE_ANDROID
+#if JUCE_LINUX || JUCE_ANDROID || JUCE_HAIKU
#ifdef _DEBUG
#define JUCE_DEBUG 1
diff --git a/JuceLibraryCode/modules/juce_data_structures/app_properties/juce_PropertiesFile.cpp b/JuceLibraryCode/modules/juce_data_structures/app_properties/juce_PropertiesFile.cpp
index bd14b66..dfee386 100644
--- a/JuceLibraryCode/modules/juce_data_structures/app_properties/juce_PropertiesFile.cpp
@@ -1635,5 +1644,5 @@ index 0000000..b5c0a4d
+const int KeyPress::fastForwardKey = extendedKeyModifier + 47;
+const int KeyPress::rewindKey = extendedKeyModifier + 48;
--
2.2.2
2.10.2