* [gentoo-commits] proj/kde-sunset:master commit in: net-libs/libmm-qt/files/, net-libs/libmm-qt/
@ 2017-01-18 21:47 Johannes Huber
0 siblings, 0 replies; only message in thread
From: Johannes Huber @ 2017-01-18 21:47 UTC (permalink / raw
To: gentoo-commits
commit: f8750ad5bbb2c41e1810952f2a4bba825c9631a6
Author: Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 18 21:44:49 2017 +0000
Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Wed Jan 18 21:44:49 2017 +0000
URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=f8750ad5
net-libs/libmm-qt: Import latest from gentoo main tree
Package-Manager: Portage-2.3.3, Repoman-2.3.1
.../libmm-qt/files/libmm-qt-1.0.1-cxxflags.patch | 19 ++++++++++++++
net-libs/libmm-qt/libmm-qt-1.0.1-r1.ebuild | 30 ++++++++++++++++++++++
net-libs/libmm-qt/metadata.xml | 5 ++++
3 files changed, 54 insertions(+)
diff --git a/net-libs/libmm-qt/files/libmm-qt-1.0.1-cxxflags.patch b/net-libs/libmm-qt/files/libmm-qt-1.0.1-cxxflags.patch
new file mode 100644
index 0000000..c09af04
--- /dev/null
+++ b/net-libs/libmm-qt/files/libmm-qt-1.0.1-cxxflags.patch
@@ -0,0 +1,19 @@
+commit 70697ac8327955a488d79aea1bfd6100f400377a
+Author: Lamarque V. Souza <lamarque@kde.org>
+Date: Sat May 24 14:21:30 2014 -0300
+
+ Respect external CMAKE_CXX_FLAGS values.
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5bcf7e2..40ee9c0 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -20,7 +20,7 @@ add_definitions(${QT_DEFINITIONS})
+ include(CheckCXXCompilerFlag)
+ check_cxx_compiler_flag("-Werror=return-type" HAVE_GCC_ERROR_RETURN_TYPE)
+ if (HAVE_GCC_ERROR_RETURN_TYPE)
+- set(CMAKE_CXX_FLAGS "-Werror=return-type")
++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=return-type")
+ endif()
+
+ include_directories(
diff --git a/net-libs/libmm-qt/libmm-qt-1.0.1-r1.ebuild b/net-libs/libmm-qt/libmm-qt-1.0.1-r1.ebuild
new file mode 100644
index 0000000..c998228
--- /dev/null
+++ b/net-libs/libmm-qt/libmm-qt-1.0.1-r1.ebuild
@@ -0,0 +1,30 @@
+# 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/modemmanager-qt/${PV}/src/${P}.tar.xz"
+fi
+
+DESCRIPTION="Modemmanager bindings for Qt"
+HOMEPAGE="https://projects.kde.org/projects/extragear/libs/libmm-qt"
+
+LICENSE="LGPL-2"
+SLOT="0"
+IUSE="debug"
+
+RDEPEND="
+ dev-qt/qtcore:4
+ dev-qt/qtdbus:4
+ net-misc/mobile-broadband-provider-info
+ >=net-misc/networkmanager-0.9.8[modemmanager]
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-cxxflags.patch" )
diff --git a/net-libs/libmm-qt/metadata.xml b/net-libs/libmm-qt/metadata.xml
new file mode 100644
index 0000000..7a38bb9
--- /dev/null
+++ b/net-libs/libmm-qt/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-01-18 21:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-18 21:47 [gentoo-commits] proj/kde-sunset:master commit in: net-libs/libmm-qt/files/, net-libs/libmm-qt/ Johannes Huber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox