[packages/otter-browser] - fix hunspell 1.4 detection - rel 2
baggins
baggins at pld-linux.org
Sun May 29 21:51:54 CEST 2016
commit 8443abb549295008fa168325cb5be9ea9abc42de
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun May 29 21:51:38 2016 +0200
- fix hunspell 1.4 detection
- rel 2
findhunspell-1.4.patch | 11 +++++++++++
otter-browser.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/otter-browser.spec b/otter-browser.spec
index 02c62af..13b493c 100644
--- a/otter-browser.spec
+++ b/otter-browser.spec
@@ -2,11 +2,12 @@
Summary: Browser aiming to recreate classic Opera (12.x) UI using Qt5
Name: otter-browser
Version: 0.9.10
-Release: 1
+Release: 2
License: GPL v3
Group: X11/Applications/Networking
Source0: https://github.com/OtterBrowser/otter-browser/archive/v%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 196b1adeab38d7786b49f94df203f1fd
+Patch0: findhunspell-1.4.patch
URL: http://otter-browser.org/
BuildRequires: Qt5Concurrent-devel >= %{qtver}
BuildRequires: Qt5Core-devel >= %{qtver}
@@ -36,6 +37,7 @@ Otter Browser aims to recreate the best aspects of the classic Opera
%prep
%setup -q
+%patch0 -p1
%build
install -d build
diff --git a/findhunspell-1.4.patch b/findhunspell-1.4.patch
new file mode 100644
index 0000000..96c55f2
--- /dev/null
+++ b/findhunspell-1.4.patch
@@ -0,0 +1,11 @@
+--- otter-browser-0.9.10/cmake/FindHunspell.cmake~ 2016-05-01 21:25:27.000000000 +0200
++++ otter-browser-0.9.10/cmake/FindHunspell.cmake 2016-05-29 21:48:12.474292433 +0200
+@@ -12,7 +12,7 @@
+ ENDIF (HUNSPELL_INCLUDE_DIR AND HUNSPELL_LIBRARIES)
+
+ FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx)
+-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.3 hunspell)
++FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.4 hunspell-1.3 hunspell)
+
+ # handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if
+ # all listed variables are TRUE
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/otter-browser.git/commitdiff/8443abb549295008fa168325cb5be9ea9abc42de
More information about the pld-cvs-commit
mailing list