| 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-misc/leechcraft-core/leechcraft-core-0.5.80.ebuild,v 1.3 2012/09/03 12:06:00 pinkbyte Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
|
| 7 |
EGIT_REPO_URI="git://github.com/0xd34df00d/leechcraft.git"
|
| 8 |
EGIT_PROJECT="leechcraft-${PV}"
|
| 9 |
|
| 10 |
inherit eutils confutils leechcraft
|
| 11 |
|
| 12 |
DESCRIPTION="Core of LeechCraft, the modular network client"
|
| 13 |
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="~amd64 ~x86"
|
| 16 |
IUSE="debug +sqlite postgres"
|
| 17 |
|
| 18 |
DEPEND=">=dev-libs/boost-1.46
|
| 19 |
x11-libs/qt-core:4
|
| 20 |
x11-libs/qt-gui:4
|
| 21 |
x11-libs/qt-script:4
|
| 22 |
x11-libs/qt-sql:4[postgres?,sqlite?]"
|
| 23 |
RDEPEND="${DEPEND}
|
| 24 |
x11-libs/qt-svg:4"
|
| 25 |
|
| 26 |
REQUIRED_USE="|| ( postgres sqlite )"
|
| 27 |
|
| 28 |
src_configure() {
|
| 29 |
local mycmakeargs=(
|
| 30 |
-DWITH_PLUGINS=False
|
| 31 |
)
|
| 32 |
if [[ ${PV} != 9999 ]]; then
|
| 33 |
mycmakeargs+=( -DLEECHCRAFT_VERSION=${PV} )
|
| 34 |
fi
|
| 35 |
cmake-utils_src_configure
|
| 36 |
}
|
| 37 |
|
| 38 |
src_install() {
|
| 39 |
cmake-utils_src_install
|
| 40 |
make_desktop_entry leechcraft "LeechCraft" leechcraft.png
|
| 41 |
}
|