You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.0 KiB
47 lines
1.0 KiB
12 years ago
|
# Copyright 1999-2013 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
11 years ago
|
# $Header: /var/cvsroot/gentoo-x86/app-leechcraft/lc-core/lc-core-9999.ebuild,v 1.1 2013/03/08 21:56:19 maksbotan Exp $
|
||
13 years ago
|
|
||
13 years ago
|
EAPI="4"
|
||
13 years ago
|
|
||
|
EGIT_REPO_URI="git://github.com/0xd34df00d/leechcraft.git"
|
||
|
EGIT_PROJECT="leechcraft-${PV}"
|
||
|
|
||
12 years ago
|
inherit eutils confutils leechcraft
|
||
13 years ago
|
|
||
|
DESCRIPTION="Core of LeechCraft, the modular network client"
|
||
|
|
||
|
SLOT="0"
|
||
|
KEYWORDS=""
|
||
|
IUSE="debug +sqlite postgres"
|
||
|
|
||
12 years ago
|
DEPEND=">=dev-libs/boost-1.46
|
||
11 years ago
|
dev-qt/qtcore:4
|
||
|
dev-qt/qtdeclarative:4
|
||
|
dev-qt/qtgui:4
|
||
|
dev-qt/qtscript:4
|
||
|
dev-qt/qtsql:4[postgres?,sqlite?]"
|
||
13 years ago
|
RDEPEND="${DEPEND}
|
||
11 years ago
|
dev-qt/qtsvg:4
|
||
12 years ago
|
|| (
|
||
|
kde-base/oxygen-icons
|
||
|
x11-themes/kfaenza
|
||
|
)"
|
||
13 years ago
|
|
||
12 years ago
|
REQUIRED_USE="|| ( postgres sqlite )"
|
||
13 years ago
|
|
||
|
src_configure() {
|
||
12 years ago
|
local mycmakeargs=(
|
||
|
-DWITH_PLUGINS=False
|
||
|
)
|
||
|
if [[ ${PV} != 9999 ]]; then
|
||
12 years ago
|
mycmakeargs+=( -DLEECHCRAFT_VERSION=${PV} )
|
||
12 years ago
|
fi
|
||
13 years ago
|
cmake-utils_src_configure
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
cmake-utils_src_install
|
||
|
make_desktop_entry leechcraft "LeechCraft" leechcraft.png
|
||
|
}
|