public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-frameworks/sonnet/
Date: Sun,  1 Jan 2017 22:45:14 +0000 (UTC)	[thread overview]
Message-ID: <1483310684.335949ee475f372a92f8a3a2ff28e2f5c0c3b931.asturm@gentoo> (raw)

commit:     335949ee475f372a92f8a3a2ff28e2f5c0c3b931
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  1 22:42:36 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jan  1 22:44:44 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=335949ee

kde-frameworks/sonnet: Fix configure w/ future hunspell

Package-Manager: portage-2.3.0

 kde-frameworks/sonnet/sonnet-5.26.0.ebuild | 10 +++++++++-
 kde-frameworks/sonnet/sonnet-5.29.0.ebuild | 10 +++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/kde-frameworks/sonnet/sonnet-5.26.0.ebuild b/kde-frameworks/sonnet/sonnet-5.26.0.ebuild
index 18c39b4..27fe13a 100644
--- a/kde-frameworks/sonnet/sonnet-5.26.0.ebuild
+++ b/kde-frameworks/sonnet/sonnet-5.26.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -21,6 +21,14 @@ DEPEND="${RDEPEND}
 	nls? ( $(add_qt_dep linguist-tools) )
 "
 
+src_prepare() {
+	kde5_src_prepare
+
+	# ensure at least one version-free atom so that hunspell is found
+	sed -e "/FIND_LIBRARY(HUNSPELL_LIBRARIES/ s/\bhunspell\b-[0-9.]*/hunspell/" \
+		-i cmake/FindHUNSPELL.cmake || die
+}
+
 src_configure() {
 	local mycmakeargs=(
 		$(cmake-utils_use_find_package aspell ASPELL)

diff --git a/kde-frameworks/sonnet/sonnet-5.29.0.ebuild b/kde-frameworks/sonnet/sonnet-5.29.0.ebuild
index 46783f1..5b0ae24 100644
--- a/kde-frameworks/sonnet/sonnet-5.29.0.ebuild
+++ b/kde-frameworks/sonnet/sonnet-5.29.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -21,6 +21,14 @@ DEPEND="${RDEPEND}
 	nls? ( $(add_qt_dep linguist-tools) )
 "
 
+src_prepare() {
+	kde5_src_prepare
+
+	# ensure at least one version-free atom so that hunspell is found
+	sed -e "/FIND_LIBRARY(HUNSPELL_LIBRARIES/ s/\bhunspell\b-[0-9.]*/hunspell/" \
+		-i cmake/FindHUNSPELL.cmake || die
+}
+
 src_configure() {
 	local mycmakeargs=(
 		$(cmake-utils_use_find_package aspell ASPELL)


             reply	other threads:[~2017-01-01 22:45 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-01 22:45 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-07 21:16 [gentoo-commits] repo/gentoo:master commit in: kde-frameworks/sonnet/ Arthur Zamarin
2025-02-07 20:51 Arthur Zamarin
2024-10-04 16:37 Arthur Zamarin
2024-09-12 17:21 Arthur Zamarin
2024-05-28  2:10 Sam James
2024-05-27 23:47 Sam James
2024-05-27 18:13 Arthur Zamarin
2024-03-01 14:00 Arthur Zamarin
2024-02-19 16:28 Sam James
2024-02-02 12:44 Arthur Zamarin
2023-08-02 17:48 Sam James
2023-06-22 19:59 Arthur Zamarin
2022-11-16 21:33 Andreas Sturmlechner
2022-02-08 14:46 Agostino Sarubbo
2021-09-13  8:18 Agostino Sarubbo
2021-04-11 12:25 Mikle Kolyada
2021-04-11 12:20 Mikle Kolyada
2021-04-10 23:41 Thomas Deutschmann
2021-04-10 16:29 Andreas Sturmlechner
2020-07-11 15:37 Andreas Sturmlechner
2020-05-31 15:54 Mikle Kolyada
2020-05-30 13:38 Mikle Kolyada
2020-05-30 13:33 Mikle Kolyada
2020-03-01  7:28 Mikle Kolyada
2020-03-01  7:23 Mikle Kolyada
2020-03-01  7:18 Mikle Kolyada
2019-07-28 19:16 Aaron Bauman
2019-07-28  0:36 Mikle Kolyada
2019-07-28  0:15 Mikle Kolyada
2019-05-27 21:04 Aaron Bauman
2019-05-16 12:28 Mikle Kolyada
2019-05-16 12:23 Mikle Kolyada
2019-05-16 11:01 Andreas Sturmlechner
2019-02-06 11:37 Mikle Kolyada
2019-02-06 10:59 Mikle Kolyada
2018-10-10 11:48 Mikle Kolyada
2018-10-10  3:01 Thomas Deutschmann
2018-06-10 18:37 Thomas Deutschmann
2018-01-15 22:31 Andreas Sturmlechner
2017-12-08 23:40 Thomas Deutschmann
2017-11-11 19:37 Sergei Trofimovich
2017-07-15  9:40 Alexis Ballier
2017-06-09 10:19 Agostino Sarubbo
2017-06-04 16:01 Agostino Sarubbo
2017-01-20  9:47 Agostino Sarubbo
2016-11-28 18:37 Johannes Huber
2016-07-27 19:32 Johannes Huber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1483310684.335949ee475f372a92f8a3a2ff28e2f5c0c3b931.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox