summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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>