mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
kde-frameworks/sonnet: Fix configure w/ hunspell 1.5
Revision bump adds upstream to fix configure to search for hunspell 1.5 too. Package-Manager: portage-2.3.2
This commit is contained in:
21
kde-frameworks/sonnet/files/sonnet-5.28.0-hunspell-1.5.patch
Normal file
21
kde-frameworks/sonnet/files/sonnet-5.28.0-hunspell-1.5.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
commit 5fc1e9679e0607d7d918b27ee13092a234abefe6
|
||||
Author: Heiko Becker <heirecka@exherbo.org>
|
||||
Date: Fri Nov 25 15:13:53 2016 +0100
|
||||
|
||||
Also search for hunspell-1.5
|
||||
|
||||
REVIEW: 129559
|
||||
|
||||
diff --git a/cmake/FindHUNSPELL.cmake b/cmake/FindHUNSPELL.cmake
|
||||
index f028abe..d5ed183 100644
|
||||
--- a/cmake/FindHUNSPELL.cmake
|
||||
+++ b/cmake/FindHUNSPELL.cmake
|
||||
@@ -14,7 +14,7 @@ ENDIF (HUNSPELL_INCLUDE_DIR AND HUNSPELL_LIBRARIES)
|
||||
|
||||
FIND_PATH(HUNSPELL_INCLUDE_DIR hunspell/hunspell.hxx )
|
||||
|
||||
-FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.4 hunspell-1.3 hunspell-1.2)
|
||||
+FIND_LIBRARY(HUNSPELL_LIBRARIES NAMES hunspell-1.5 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
|
||||
33
kde-frameworks/sonnet/sonnet-5.28.0-r1.ebuild
Normal file
33
kde-frameworks/sonnet/sonnet-5.28.0-r1.ebuild
Normal file
@@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="Framework for providing spell-checking through abstraction of popular backends"
|
||||
LICENSE="LGPL-2+ LGPL-2.1+"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="aspell +hunspell nls"
|
||||
|
||||
RDEPEND="
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtwidgets)
|
||||
aspell? ( app-text/aspell )
|
||||
hunspell? ( app-text/hunspell:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( $(add_qt_dep linguist-tools) )
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-hunspell-1.5.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_find_package aspell ASPELL)
|
||||
$(cmake-utils_use_find_package hunspell HUNSPELL)
|
||||
)
|
||||
|
||||
kde5_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user