[arch-commits] Commit in knemo/repos/community-x86_64 (4 files)
Antonio Rojas
arojas at archlinux.org
Thu Dec 21 23:26:26 UTC 2017
Date: Thursday, December 21, 2017 @ 23:26:25
Author: arojas
Revision: 275247
archrelease: copy trunk to community-x86_64
Added:
knemo/repos/community-x86_64/PKGBUILD
(from rev 275246, knemo/trunk/PKGBUILD)
knemo/repos/community-x86_64/knemo-gcc6.patch
(from rev 275246, knemo/trunk/knemo-gcc6.patch)
Deleted:
knemo/repos/community-x86_64/PKGBUILD
knemo/repos/community-x86_64/knemo-gcc6.patch
------------------+
PKGBUILD | 89 ++++++++++++++++++++++++++---------------------------
knemo-gcc6.patch | 40 +++++++++++------------
2 files changed, 65 insertions(+), 64 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-21 23:25:32 UTC (rev 275246)
+++ PKGBUILD 2017-12-21 23:26:25 UTC (rev 275247)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Laurent Carlier <lordheavym at gmail.com>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Stefano Zamprogno <stefano dot zamprogno at gmail dot com>
-
-pkgname=knemo
-pkgver=0.7.7.git20151003
-pkgrel=2
-pkgdesc="The KDE Network Monitor"
-arch=('i686' 'x86_64')
-url="http://www.kde-apps.org/content/show.php?content=12956"
-license=('GPL')
-depends=('kdelibs4support' 'libksysguard' 'knotifyconfig' 'wireless_tools' 'iw' 'gtk-update-icon-cache')
-makedepends=('extra-cmake-modules' 'kcmutils' 'plasma-framework' 'kdoctools' 'python')
-options=('libtool')
-#source=(http://kde-apps.org/CONTENT/content-files/12956-${pkgname}-${pkgver}.tar.xz)
-source=("http://quickgit.kde.org/?p=knemo.git&a=snapshot&h=7efb4f62344c245e9eb6822df284f8c7f4e97f2f&fmt=tgz" knemo-gcc6.patch)
-md5sums=('ab1f02cd06647278141c609fba5f61fb'
- 'd243b851c8124a4e6d84221a2fb15215')
-
-prepare() {
- mkdir build
-
- cd knemo
-# Fix build with GCC 6
- patch -p1 -i ../knemo-gcc6.patch
-}
-
-build() {
- cd build
-
- cmake ../${pkgname} \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
- make
-}
-
-package() {
- cd build
- make DESTDIR="${pkgdir}" install
-}
Copied: knemo/repos/community-x86_64/PKGBUILD (from rev 275246, knemo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-21 23:26:25 UTC (rev 275247)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Stefano Zamprogno <stefano dot zamprogno at gmail dot com>
+
+pkgname=knemo
+pkgver=0.7.7.git20151003
+pkgrel=3
+pkgdesc="The KDE Network Monitor"
+arch=('x86_64')
+url="http://www.kde-apps.org/content/show.php?content=12956"
+license=('GPL')
+depends=('kdelibs4support' 'libksysguard' 'knotifyconfig' 'wireless_tools' 'iw' 'plasma-framework' 'hicolor-icon-theme')
+makedepends=('extra-cmake-modules' 'kcmutils' 'plasma-framework' 'kdoctools' 'python' 'git' 'kdesignerplugin')
+options=('libtool')
+#source=(http://kde-apps.org/CONTENT/content-files/12956-${pkgname}-${pkgver}.tar.xz)
+_commit=f3afe2e4b6f091f21a64905965abafd2ef46826d # frameworks
+source=("git://git.kde.org/knemo.git#commit=$_commit" knemo-gcc6.patch)
+sha256sums=('SKIP'
+ '5da88c3c60bf7ab924c85ee2c1159a12d4c376ad726eab784972abc36295a4fc')
+
+prepare() {
+ mkdir build
+
+ cd knemo
+# Fix build with GCC 6
+ patch -p1 -i ../knemo-gcc6.patch
+}
+
+build() {
+ cd build
+
+ cmake ../${pkgname} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Deleted: knemo-gcc6.patch
===================================================================
--- knemo-gcc6.patch 2017-12-21 23:25:32 UTC (rev 275246)
+++ knemo-gcc6.patch 2017-12-21 23:26:25 UTC (rev 275247)
@@ -1,20 +0,0 @@
---- knemo.orig/src/common/utils.cpp 2016-05-07 14:30:45.888889978 +0000
-+++ knemo/src/common/utils.cpp 2016-05-07 14:32:06.985290816 +0000
-@@ -41,6 +41,7 @@
- #include <KSharedConfig>
- #include <Plasma/Theme>
- #include "data.h"
-+#include "math.h"
- #include "utils.h"
-
- #ifdef __linux__
---- knemo.orig/src/knemod/trayicon.cpp 2015-10-03 17:22:07.000000000 +0000
-+++ knemo/src/knemo/src/knemod/trayicon.cpp 2016-05-07 14:42:30.796566437 +0000
-@@ -22,6 +22,7 @@
- #include "global.h"
- #include "interface.h"
- #include "knemodaemon.h"
-+#include "math.h"
- #include "utils.h"
-
- #ifdef __linux__
Copied: knemo/repos/community-x86_64/knemo-gcc6.patch (from rev 275246, knemo/trunk/knemo-gcc6.patch)
===================================================================
--- knemo-gcc6.patch (rev 0)
+++ knemo-gcc6.patch 2017-12-21 23:26:25 UTC (rev 275247)
@@ -0,0 +1,20 @@
+--- knemo.orig/src/common/utils.cpp 2016-05-07 14:30:45.888889978 +0000
++++ knemo/src/common/utils.cpp 2016-05-07 14:32:06.985290816 +0000
+@@ -41,6 +41,7 @@
+ #include <KSharedConfig>
+ #include <Plasma/Theme>
+ #include "data.h"
++#include "math.h"
+ #include "utils.h"
+
+ #ifdef __linux__
+--- knemo.orig/src/knemod/trayicon.cpp 2015-10-03 17:22:07.000000000 +0000
++++ knemo/src/knemo/src/knemod/trayicon.cpp 2016-05-07 14:42:30.796566437 +0000
+@@ -22,6 +22,7 @@
+ #include "global.h"
+ #include "interface.h"
+ #include "knemodaemon.h"
++#include "math.h"
+ #include "utils.h"
+
+ #ifdef __linux__
More information about the arch-commits
mailing list