[arch-commits] Commit in libmm-qt/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Dec 6 17:51:11 UTC 2015
Date: Sunday, December 6, 2015 @ 18:51:11
Author: foutrelis
Revision: 252901
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
libmm-qt/repos/staging-i686/
libmm-qt/repos/staging-i686/PKGBUILD
(from rev 252900, libmm-qt/trunk/PKGBUILD)
libmm-qt/repos/staging-i686/fix-build.patch
(from rev 252900, libmm-qt/trunk/fix-build.patch)
libmm-qt/repos/staging-x86_64/
libmm-qt/repos/staging-x86_64/PKGBUILD
(from rev 252900, libmm-qt/trunk/PKGBUILD)
libmm-qt/repos/staging-x86_64/fix-build.patch
(from rev 252900, libmm-qt/trunk/fix-build.patch)
--------------------------------+
staging-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++
staging-i686/fix-build.patch | 22 ++++++++++++++++++++++
staging-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++
staging-x86_64/fix-build.patch | 22 ++++++++++++++++++++++
4 files changed, 106 insertions(+)
Copied: libmm-qt/repos/staging-i686/PKGBUILD (from rev 252900, libmm-qt/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-12-06 17:51:11 UTC (rev 252901)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libmm-qt
+pkgver=1.0.1
+pkgrel=3
+pkgdesc='Qt-only wrapper for ModemManager DBus API'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/extragear/libs/libmm-qt'
+license=('LGPL')
+depends=('qt4' 'modemmanager')
+makedepends=('cmake' 'doxygen')
+source=("http://download.kde.org/unstable/modemmanager-qt/${pkgver}/src/${pkgname}-${pkgver}-1.tar.xz")
+md5sums=('1ee1c7754cbb4fdf484ac2648d7263e0')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: libmm-qt/repos/staging-i686/fix-build.patch (from rev 252900, libmm-qt/trunk/fix-build.patch)
===================================================================
--- staging-i686/fix-build.patch (rev 0)
+++ staging-i686/fix-build.patch 2015-12-06 17:51:11 UTC (rev 252901)
@@ -0,0 +1,22 @@
+From: David Faure <faure at kde.org>
+Date: Thu, 09 Jan 2014 19:41:48 +0000
+Subject: modem.cpp:169:1: error: no return statement in function returning non-void [-Werror=return-type]
+X-Git-Tag: v1.0.1
+X-Git-Url: http://quickgit.kde.org/?p=libmm-qt.git&a=commitdiff&h=1d7f3e5d5eb4bb4fba741736049c229b48b6815c
+---
+modem.cpp:169:1: error: no return statement in function returning non-void [-Werror=return-type]
+---
+
+
+--- a/modem.cpp
++++ b/modem.cpp
+@@ -165,7 +165,7 @@
+ QString ModemManager::Modem::command(const QString &cmd, uint timeout)
+ {
+ Q_D(Modem);
+- d->modemIface.Command(cmd, timeout);
++ return d->modemIface.Command(cmd, timeout);
+ }
+
+ QString ModemManager::Modem::simPath() const
+
Copied: libmm-qt/repos/staging-x86_64/PKGBUILD (from rev 252900, libmm-qt/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-12-06 17:51:11 UTC (rev 252901)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=libmm-qt
+pkgver=1.0.1
+pkgrel=3
+pkgdesc='Qt-only wrapper for ModemManager DBus API'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/extragear/libs/libmm-qt'
+license=('LGPL')
+depends=('qt4' 'modemmanager')
+makedepends=('cmake' 'doxygen')
+source=("http://download.kde.org/unstable/modemmanager-qt/${pkgver}/src/${pkgname}-${pkgver}-1.tar.xz")
+md5sums=('1ee1c7754cbb4fdf484ac2648d7263e0')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: libmm-qt/repos/staging-x86_64/fix-build.patch (from rev 252900, libmm-qt/trunk/fix-build.patch)
===================================================================
--- staging-x86_64/fix-build.patch (rev 0)
+++ staging-x86_64/fix-build.patch 2015-12-06 17:51:11 UTC (rev 252901)
@@ -0,0 +1,22 @@
+From: David Faure <faure at kde.org>
+Date: Thu, 09 Jan 2014 19:41:48 +0000
+Subject: modem.cpp:169:1: error: no return statement in function returning non-void [-Werror=return-type]
+X-Git-Tag: v1.0.1
+X-Git-Url: http://quickgit.kde.org/?p=libmm-qt.git&a=commitdiff&h=1d7f3e5d5eb4bb4fba741736049c229b48b6815c
+---
+modem.cpp:169:1: error: no return statement in function returning non-void [-Werror=return-type]
+---
+
+
+--- a/modem.cpp
++++ b/modem.cpp
+@@ -165,7 +165,7 @@
+ QString ModemManager::Modem::command(const QString &cmd, uint timeout)
+ {
+ Q_D(Modem);
+- d->modemIface.Command(cmd, timeout);
++ return d->modemIface.Command(cmd, timeout);
+ }
+
+ QString ModemManager::Modem::simPath() const
+
More information about the arch-commits
mailing list