public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Tomas Chvatal" <scarabeus@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: app-office/akonadi-server/
Date: Thu, 17 Feb 2011 16:55:05 +0000 (UTC)	[thread overview]
Message-ID: <931201b0de1580449aee27faa986036785bc934e.scarabeus@gentoo> (raw)

commit:     931201b0de1580449aee27faa986036785bc934e
Author:     Tomas Chvatal <scarabeus <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 17 16:54:58 2011 +0000
Commit:     Tomas Chvatal <scarabeus <AT> gentoo <DOT> org>
CommitDate: Thu Feb 17 16:54:58 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=931201b0

app-office/akonadi-server migrate to git2 and eapi4.

---
 .../akonadi-server/akonadi-server-9999.ebuild      |   27 ++++++++-----------
 1 files changed, 11 insertions(+), 16 deletions(-)

diff --git a/app-office/akonadi-server/akonadi-server-9999.ebuild b/app-office/akonadi-server/akonadi-server-9999.ebuild
index b66717e..3535345 100644
--- a/app-office/akonadi-server/akonadi-server-9999.ebuild
+++ b/app-office/akonadi-server/akonadi-server-9999.ebuild
@@ -2,9 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=3
+EAPI=4
 
-inherit cmake-utils git
+inherit cmake-utils git-2
 
 DESCRIPTION="The server part of Akonadi"
 HOMEPAGE="http://pim.kde.org/akonadi"
@@ -33,7 +33,7 @@ RDEPEND="${CDEPEND}
 	)
 "
 
-S="${WORKDIR}/${P/-server/}"
+REQUIRED_USE="^^ ( sqlite mysql postgres )"
 
 pkg_setup() {
 	# Set default storage backend in order: SQLite, MySQL, PostgreSQL
@@ -41,10 +41,12 @@ pkg_setup() {
 	if use sqlite; then
 		driver="QSQLITE3"
 		available+=" ${driver}"
-	elif use mysql; then
+	fi
+	if use mysql; then
 		driver="QMYSQL"
 		available+=" ${driver}"
-	elif use postgres; then
+	fi
+	if use postgres; then
 		driver="QPSQL"
 		available+=" ${driver}"
 	fi
@@ -80,15 +82,8 @@ EOF
 }
 
 pkg_postinst() {
-	if use mysql || use postgres || use sqlite; then
-		elog
-		elog "${driver} has been set as your default akonadi storage backend."
-		elog "You can override it in your ~/.config/akonadi/akonadiserverrc."
-		elog "Available drivers are: QMYSQL, QPSQL, QSQLITE3"
-	else
-		ewarn
-		ewarn "You have decided to build ${PN} with"
-		ewarn "'mysql', 'postgres' and 'sqlite' USE flags disabled."
-		ewarn "${PN} will not be functional."
-	fi
+	echo
+	elog "${driver} has been set as your default akonadi storage backend."
+	elog "You can override it in your ~/.config/akonadi/akonadiserverrc."
+	elog "Available drivers are: QMYSQL, QPSQL, QSQLITE3"
 }



             reply	other threads:[~2011-02-17 16:55 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-17 16:55 Tomas Chvatal [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-04-05 23:27 [gentoo-commits] proj/kde:master commit in: app-office/akonadi-server/ Tomas Chvatal
2011-04-05 23:43 Tomas Chvatal
2011-05-24  5:57 Jorge Manuel B. S. Vicetto
2011-06-29  9:06 Alexey Shvetsov
2011-07-11 21:38 Alexey Shvetsov
2011-07-18 11:49 Jorge Manuel B. S. Vicetto
2011-10-23  2:07 Jonathan Callen
2011-12-21  0:00 Johannes Huber
2012-01-18 12:25 Johannes Huber
2012-01-24 22:57 Andreas Hüttel
2012-01-25 19:15 Johannes Huber
2012-06-28 13:14 Andreas Hüttel
2012-07-25 21:15 Johannes Huber
2012-11-16 19:05 Alexey Shvetsov
2012-11-25 16:35 Andreas Hüttel
2013-01-04  7:45 Alexey Shvetsov
2013-01-04  7:50 Alexey Shvetsov
2013-02-06 15:59 Chris Reffett
2013-02-06 16:03 Chris Reffett
2013-02-06 20:17 Andreas Hüttel
2013-03-03 16:14 Michael Palimaka
2013-03-11 16:21 Michael Palimaka
2013-03-20 13:25 Michael Palimaka
2013-05-08 18:39 Johannes Huber
2013-06-01 15:58 Michael Palimaka
2013-06-03 15:32 Michael Palimaka
2013-06-12 21:18 Johannes Huber
2013-07-10 19:59 Johannes Huber
2013-09-08 13:50 Michael Palimaka
2013-10-13 17:03 Johannes Huber
2013-10-14 22:00 Andreas Hüttel
2013-11-24  0:22 Johannes Huber
2013-12-09  4:10 Chris Reffett
2013-12-18 18:02 Johannes Huber
2014-03-08 15:09 Johannes Huber
2014-03-19 21:53 Johannes Huber
2014-03-29 19:50 Johannes Huber
2014-04-21 12:32 Johannes Huber
2014-04-21 13:23 Johannes Huber
2014-07-18 13:58 Manuel Rüger
2014-07-18 15:01 Johannes Huber
2014-07-20 14:22 Andreas Hüttel
2014-08-10 11:43 Johannes Huber
2014-09-11 21:52 Johannes Huber
2014-09-12 19:03 Johannes Huber
2014-12-30 16:39 Elias Probst
2015-07-22 12:36 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=931201b0de1580449aee27faa986036785bc934e.scarabeus@gentoo \
    --to=scarabeus@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