summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2017-01-18 22:42:26 +0100
committerJohannes Huber <johu@gentoo.org>2017-01-18 22:42:26 +0100
commit5aa1659a4ebdbcfc229d95f0bf3cf66a09a661f2 (patch)
tree66d06d8b53a123b4836b63d261703e23823e3a25 /net-libs
parentnet-libs/libbluedevil: Import latest from gentoo main tree (diff)
downloadkde-sunset-5aa1659a4ebdbcfc229d95f0bf3cf66a09a661f2.tar.gz
kde-sunset-5aa1659a4ebdbcfc229d95f0bf3cf66a09a661f2.tar.bz2
kde-sunset-5aa1659a4ebdbcfc229d95f0bf3cf66a09a661f2.zip
net-libs/libnm-qt: Import latest from gentoo main tree
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libnm-qt/Manifest1
-rw-r--r--net-libs/libnm-qt/libnm-qt-0.9.8.4.ebuild56
-rw-r--r--net-libs/libnm-qt/metadata.xml8
3 files changed, 65 insertions, 0 deletions
diff --git a/net-libs/libnm-qt/Manifest b/net-libs/libnm-qt/Manifest
new file mode 100644
index 00000000..78e9a579
--- /dev/null
+++ b/net-libs/libnm-qt/Manifest
@@ -0,0 +1 @@
+DIST libnm-qt-0.9.8.4.tar.xz 133608 SHA256 3c6758da6c12668198ff8fdeda2f04c7b620f2ef1a506a1bdaeda63c06fbaff4 SHA512 a434d0f4056589e7e2413354503f75bbd885bdc1cec4884022b7aaa74268155a81f45d7209bdc02801f4aafc0b9ca045f30304d9aee2ca79bb7217545d9a0746 WHIRLPOOL 9d796df0af9f137b67e774e7d127da1c0c5c72f0797e3b64153923318b8ff7e93257868d4b72c3c5115cfdc2e37f5079d31b8e091b96dd9e547f416f4259eaf6
diff --git a/net-libs/libnm-qt/libnm-qt-0.9.8.4.ebuild b/net-libs/libnm-qt/libnm-qt-0.9.8.4.ebuild
new file mode 100644
index 00000000..9a9f1f43
--- /dev/null
+++ b/net-libs/libnm-qt/libnm-qt-0.9.8.4.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_REQUIRED="never"
+inherit kde4-base
+
+if [[ ${KDE_BUILD_TYPE} != live ]]; then
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="mirror://kde/unstable/networkmanager-qt/${PV}/src/networkmanager-qt-${PV}.tar.xz -> ${P}.tar.xz"
+fi
+
+DESCRIPTION="NetworkManager bindings for Qt"
+HOMEPAGE="https://projects.kde.org/projects/extragear/libs/libnm-qt"
+
+LICENSE="LGPL-2"
+SLOT="0/1"
+IUSE="debug doc modemmanager test"
+
+RDEPEND="
+ dev-qt/qtcore:4
+ dev-qt/qtdbus:4
+ net-misc/mobile-broadband-provider-info
+ || (
+ >=net-misc/networkmanager-0.9.8.4[consolekit]
+ >=net-misc/networkmanager-0.9.8.4[systemd]
+ )
+ modemmanager? ( >=net-libs/libmm-qt-1.0.0 )
+"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+"
+
+S=${WORKDIR}/networkmanager-qt-${PV}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_EXAMPLES=OFF
+ $(cmake-utils_use_find_package doc Doxygen)
+ $(cmake-utils_use !modemmanager DISABLE_MODEMMANAGERQT)
+ $(cmake-utils_use !test DISABLE_TESTING)
+ )
+
+ kde4-base_src_configure
+}
+
+src_install() {
+ if use doc; then
+ { cd "${BUILD_DIR}" && doxygen; } || die "Generating documentation failed"
+ HTML_DOCS=( "${BUILD_DIR}/doc/html/" )
+ fi
+
+ cmake-utils_src_install
+}
diff --git a/net-libs/libnm-qt/metadata.xml b/net-libs/libnm-qt/metadata.xml
new file mode 100644
index 00000000..4a212673
--- /dev/null
+++ b/net-libs/libnm-qt/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="modemmanager">Enable support for mobile broadband devices</flag>
+ </use>
+</pkgmetadata>