/[gentoo-x86]/net-libs/libnm-qt/libnm-qt-0.9.8.3.ebuild
Gentoo

Contents of /net-libs/libnm-qt/libnm-qt-0.9.8.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Jan 26 10:03:06 2015 UTC (5 years, 10 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #535578

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libnm-qt/libnm-qt-0.9.8.3.ebuild,v 1.2 2015/01/09 13:38:44 ago Exp $
4
5 EAPI=5
6
7 KDE_REQUIRED="never"
8 inherit kde4-base
9
10 if [[ ${KDE_BUILD_TYPE} != live ]]; then
11 KEYWORDS="amd64 x86"
12 SRC_URI="mirror://kde/unstable/networkmanager-qt/${PV}/src/${P}.tar.xz"
13 else
14 KEYWORDS=""
15 fi
16
17 DESCRIPTION="NetworkManager bindings for Qt"
18 HOMEPAGE="https://projects.kde.org/projects/extragear/libs/libnm-qt"
19
20 LICENSE="LGPL-2"
21 SLOT="0/1"
22 IUSE="debug doc modemmanager test"
23
24 RDEPEND="
25 dev-qt/qtcore:4
26 dev-qt/qtdbus:4
27 net-misc/mobile-broadband-provider-info
28 || (
29 >=net-misc/networkmanager-0.9.8.4[consolekit]
30 >=net-misc/networkmanager-0.9.8.4[systemd]
31 )
32 modemmanager? ( >=net-libs/libmm-qt-1.0.0 )
33 "
34 DEPEND="${RDEPEND}
35 doc? ( app-doc/doxygen )
36 "
37
38 src_configure() {
39 local mycmakeargs=(
40 -DBUILD_EXAMPLES=OFF
41 $(cmake-utils_use_find_package doc Doxygen)
42 $(cmake-utils_use !modemmanager DISABLE_MODEMMANAGERQT)
43 $(cmake-utils_use !test DISABLE_TESTING)
44 )
45
46 kde4-base_src_configure
47 }
48
49 src_install() {
50 if use doc; then
51 { cd "${BUILD_DIR}" && doxygen; } || die "Generating documentation failed"
52 HTML_DOCS=( "${BUILD_DIR}/doc/html/" )
53 fi
54
55 cmake-utils_src_install
56 }

  ViewVC Help
Powered by ViewVC 1.1.20