39 lines
1.2 KiB
Bash
39 lines
1.2 KiB
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-leechcraft/lc-aggregator/lc-aggregator-0.6.65.ebuild,v 1.1 2014/04/10 17:50:01 maksbotan Exp $
|
|
|
|
EAPI="4"
|
|
|
|
inherit leechcraft
|
|
|
|
DESCRIPTION="Full-featured RSS/Atom feed reader for LeechCraft"
|
|
|
|
SLOT="0"
|
|
KEYWORDS=" ~amd64 ~x86"
|
|
IUSE="debug mysql +sqlite postgres webaccess"
|
|
|
|
DEPEND="~app-leechcraft/lc-core-${PV}[postgres?,sqlite?]
|
|
dev-qt/qtwebkit:4"
|
|
RDEPEND="${DEPEND}
|
|
virtual/leechcraft-downloader-http"
|
|
|
|
REQUIRED_USE="|| ( mysql sqlite postgres )"
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
$(cmake-utils_use_enale webaccess AGGREGATOR_WEBACCESS)
|
|
)
|
|
cmake-utils_src_configure
|
|
}
|
|
|
|
pkg_setup(){
|
|
if use mysql; then
|
|
ewarn "Support for MySQL databases is experimental and is more likely"
|
|
ewarn "to contain bugs or mishandle your data than other storage"
|
|
ewarn "backends. If you do not plan testing the MySQL storage backend"
|
|
ewarn "itself, consider using other backends."
|
|
ewarn "Anyway, it is perfectly safe to enable the mysql use flag as"
|
|
ewarn "long as at least one other storage is enabled since you will"
|
|
ewarn "be able to choose another storage backend at run time."
|
|
fi
|
|
}
|