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: dev-libs/sink/
Date: Tue,  1 Oct 2019 23:43:40 +0000 (UTC)	[thread overview]
Message-ID: <1569973301.178370a7ed320608da6519b45b60d92d003c6fff.asturm@gentoo> (raw)

commit:     178370a7ed320608da6519b45b60d92d003c6fff
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  1 18:10:51 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Oct  1 23:41:41 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=178370a7

dev-libs/sink: Switch to cmake-utils

Nothing in here is using kde.org facilities and we can drop dependencies
as well as workarounds needed on top of kde5.eclass.

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-libs/sink/sink-0.8.0-r1.ebuild | 41 +++++++++++++++++---------------------
 1 file changed, 18 insertions(+), 23 deletions(-)

diff --git a/dev-libs/sink/sink-0.8.0-r1.ebuild b/dev-libs/sink/sink-0.8.0-r1.ebuild
index 4a8951d568b..b578e12e668 100644
--- a/dev-libs/sink/sink-0.8.0-r1.ebuild
+++ b/dev-libs/sink/sink-0.8.0-r1.ebuild
@@ -3,57 +3,52 @@
 
 EAPI=7
 
-KDE_TEST="false" # build breaks otherwise. tests not isolated.
-inherit kde5
+inherit cmake-utils
 
 DESCRIPTION="Data access layer handling synchronization, caching and indexing"
 HOMEPAGE="https://kube-project.com"
 SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.xz"
 
 LICENSE="LGPL-2+"
+SLOT="5"
 KEYWORDS="~amd64"
 
 # qtgui is bogus but is required because something else in the deptree
 # uses it as a public dependency but doesn't search for it properly
 RDEPEND="
-	|| (
-		$(add_frameworks_dep kcalendarcore)
-		$(add_kdeapps_dep kcalcore)
-	)
-	|| (
-		$(add_frameworks_dep kcontacts)
-		$(add_kdeapps_dep kcontacts)
-	)
-	$(add_frameworks_dep kcoreaddons)
-	$(add_kdeapps_dep kmime)
-	$(add_qt_dep qtgui)
-	$(add_qt_dep qtnetwork)
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
 	dev-db/lmdb:=
 	dev-libs/flatbuffers
 	>=dev-libs/kasync-0.3:5
 	>=dev-libs/xapian-1.4.4:0=
+	kde-frameworks/extra-cmake-modules:5
+	|| (
+		kde-frameworks/kcalendarcore:5
+		kde-apps/kcalcore:5
+	)
+	|| (
+		kde-frameworks/kcontacts:5
+		kde-apps/kcontacts:5
+	)
+	kde-frameworks/kcoreaddons:5
+	kde-apps/kmime:5
 	>=net-libs/kdav2-0.3:5
 	>=net-libs/kimap2-0.3:5
 	net-misc/curl
 	sys-libs/readline:0=
 "
 DEPEND="${RDEPEND}
-	$(add_qt_dep qtconcurrent)
+	dev-qt/qtconcurrent:5
 "
 
 # fails to build
 RESTRICT+=" test"
 
-src_prepare() {
-	kde5_src_prepare
-	# FIXME: sink is useless without its 'examples'. Workaround our eclass
-	sed -i -e "/add_subdirectory(examples)/ s/#DONOTCOMPILE //" \
-		CMakeLists.txt || die "Failed to fix CMakeLists.txt"
-}
-
 src_configure() {
 	local mycmakeargs=(
 		-DCMAKE_DISABLE_FIND_PACKAGE_Libgit2=ON
 	)
-	kde5_src_configure
+	cmake-utils_src_configure
 }


             reply	other threads:[~2019-10-01 23:43 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-01 23:43 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-06-22 18:23 [gentoo-commits] repo/gentoo:master commit in: dev-libs/sink/ Sam James
2021-09-07 16:56 Sam James
2020-01-16 18:20 Andreas Sturmlechner
2020-01-16 18:20 Andreas Sturmlechner
2019-10-01 23:43 Andreas Sturmlechner
2019-10-01 23:43 Andreas Sturmlechner
2019-09-29 20:07 Andreas Sturmlechner
2019-09-29 20:07 Andreas Sturmlechner
2019-03-30 19:28 Andreas Sturmlechner
2018-10-11 19:02 Andreas Sturmlechner
2018-10-11 19:02 Andreas Sturmlechner
2018-07-01  9:35 Andreas Sturmlechner
2018-05-18 14:31 Andreas Sturmlechner
2018-05-03 14:11 Andreas Sturmlechner
2018-02-02 11:40 Michael Palimaka
2017-08-19 20:21 Andreas Sturmlechner
2017-08-19 20:21 Andreas Sturmlechner
2017-08-19 15:49 Andreas Sturmlechner
2017-07-06 12:37 Michael Palimaka
2017-03-04 12:30 Michael Palimaka

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=1569973301.178370a7ed320608da6519b45b60d92d003c6fff.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