| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/net-news/leechcraft-aggregator/leechcraft-aggregator-0.5.65.ebuild,v 1.2 2012/07/15 15:45:06 kensington Exp $ |
| 4 |
|
| 5 |
EAPI="4" |
| 6 |
|
| 7 |
inherit leechcraft |
| 8 |
|
| 9 |
DESCRIPTION="Full-featured RSS/Atom feed reader for LeechCraft" |
| 10 |
|
| 11 |
SLOT="0" |
| 12 |
KEYWORDS="~amd64 ~x86" |
| 13 |
IUSE="debug mysql +sqlite postgres" |
| 14 |
|
| 15 |
DEPEND="~net-misc/leechcraft-core-${PV}[postgres?,sqlite?] |
| 16 |
x11-libs/qt-webkit:4" |
| 17 |
RDEPEND="${DEPEND} |
| 18 |
virtual/leechcraft-downloader-http" |
| 19 |
|
| 20 |
REQUIRED_USE="|| ( mysql sqlite postgres )" |
| 21 |
|
| 22 |
pkg_setup(){ |
| 23 |
if use mysql; then |
| 24 |
ewarn "Support for MySQL databases is experimental and is more likely" |
| 25 |
ewarn "to contain bugs or mishandle your data than other storage" |
| 26 |
ewarn "backends. If you do not plan testing the MySQL storage backend" |
| 27 |
ewarn "itself, consider using other backends." |
| 28 |
ewarn "Anyway, it is perfectly safe to enable the mysql use flag as" |
| 29 |
ewarn "long as at least one other storage is enabled since you will" |
| 30 |
ewarn "be able to choose another storage backend at run time." |
| 31 |
fi |
| 32 |
} |