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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Apr 20 20:27:38 2015 UTC (5 years, 7 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Version bump.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key )

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.3 2015/01/26 10:03:06 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/networkmanager-qt-${PV}.tar.xz -> ${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 S=${WORKDIR}/networkmanager-qt-${PV}
39
40 src_configure() {
41 local mycmakeargs=(
42 -DBUILD_EXAMPLES=OFF
43 $(cmake-utils_use_find_package doc Doxygen)
44 $(cmake-utils_use !modemmanager DISABLE_MODEMMANAGERQT)
45 $(cmake-utils_use !test DISABLE_TESTING)
46 )
47
48 kde4-base_src_configure
49 }
50
51 src_install() {
52 if use doc; then
53 { cd "${BUILD_DIR}" && doxygen; } || die "Generating documentation failed"
54 HTML_DOCS=( "${BUILD_DIR}/doc/html/" )
55 fi
56
57 cmake-utils_src_install
58 }

  ViewVC Help
Powered by ViewVC 1.1.20