Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=72a4c8bc52bf9f484c816bec80287c2bf50f8d71

commit 72a4c8bc52bf9f484c816bec80287c2bf50f8d71
Author: crazy <[email protected]>
Date:   Wed May 4 16:45:09 2016 +0200

lokalize-16.04.0-2-x86_64
* rebuild with hunspell >= 1.4.1
* added patch for cmake so it detects the new lib ( why they don't use 
pkgconfig ?! )

diff --git a/source/kde5/lokalize/FrugalBuild b/source/kde5/lokalize/FrugalBuild
index 0687d8b..3cadef0 100644
--- a/source/kde5/lokalize/FrugalBuild
+++ b/source/kde5/lokalize/FrugalBuild
@@ -2,13 +2,15 @@
# Maintainer: DeX77 <[email protected]>

pkgname=lokalize
-pkgrel=1
+pkgrel=2
pkgdesc="Computer-Aided Translation System."
archs=('i686' 'x86_64')
_F_kde_project="applications"
Finclude kf5
-sha1sums=('085fc337602c3ef1bc0b79de343f529f3bcc7216')
-depends=("kross>=$_F_kf5_full" 'hunspell')
+source+=(cmake-detect-hunspell-1.4.x.patch)
+sha1sums=('085fc337602c3ef1bc0b79de343f529f3bcc7216' \
+          '8334261dc90dea05017c61d349713f7f08180de9')
+depends=("kross>=$_F_kf5_full" 'hunspell>=1.4.1')


# optimization OK
diff --git a/source/kde5/lokalize/cmake-detect-hunspell-1.4.x.patch 
b/source/kde5/lokalize/cmake-detect-hunspell-1.4.x.patch
new file mode 100644
index 0000000..9fd355f
--- /dev/null
+++ b/source/kde5/lokalize/cmake-detect-hunspell-1.4.x.patch
@@ -0,0 +1,12 @@
+diff -Naur lokalize-16.04.0/cmake/FindHUNSPELL.cmake 
lokalize-16.04.0-p/cmake/FindHUNSPELL.cmake
+--- lokalize-16.04.0/cmake/FindHUNSPELL.cmake  2016-03-29 16:29:34.000000000 
+0200
++++ lokalize-16.04.0-p/cmake/FindHUNSPELL.cmake        2016-05-04 
16:39:00.558610830 +0200
+@@ -14,7 +14,7 @@
+
+ FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )
+
+-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.3 hunspell-1.2)
++FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.4 hunspell-1.3 hunspell-1.2)
+
+ # handle the QUIETLY and REQUIRED arguments and set HUNSPELL_FOUND to TRUE if
+ # all listed variables are TRUE
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to