kdeconnect 0.5.1

This commit is contained in:
AlmAck 2014-03-08 21:19:00 +01:00
parent d981bbfcc1
commit 468ad5d14c
2 changed files with 3 additions and 40 deletions

View File

@ -8,7 +8,7 @@
_buildtype='Release'
pkgname=kdeconnect
pkgver=0.5
pkgver=0.5.1
#_pkgver=0.4
pkgrel=1
pkgdesc='KDE Connect - kded and kcm'
@ -21,10 +21,8 @@ provides=('kdeconnect')
conflicts=('kdeconnect-git')
install=kdeconnect.install
screenshot=('http://albertvaka.files.wordpress.com/2013/08/kcm.png')
source=("http://download.kde.org/unstable/kdeconnect/${pkgver}/src/${pkgname}-kde-${pkgver}.tar.xz"
'plasma_icon.patch')
md5sums=('c87a7032d5b66dc22b22004a8275b493'
'b89f0b4e1d38bb62848c0f0fc5e119b0')
source=("http://download.kde.org/unstable/kdeconnect/${pkgver}/src/${pkgname}-kde-${pkgver}.tar.xz")
md5sums=('0b85af9a0cd7e3feacffa2c0210dc1ec')
if [[ ! ${_buildtype} == 'Release' ]] && [[ ! ${_buildtype} == 'release' ]]; then
options=(debug)

View File

@ -1,35 +0,0 @@
diff -rupN kdeconnect-kde-0.4.2/plasmoid/package/contents/ui/CompactRepresentation.qml kdeconnect-kde-0.4.2_new/plasmoid/package/contents/ui/CompactRepresentation.qml
--- kdeconnect-kde-0.4.2/plasmoid/package/contents/ui/CompactRepresentation.qml 2014-02-08 20:56:05.000000000 +0100
+++ kdeconnect-kde-0.4.2_new/plasmoid/package/contents/ui/CompactRepresentation.qml 2014-02-08 20:55:29.000000000 +0100
@@ -19,13 +19,20 @@
*/
import QtQuick 1.1
-import org.kde.plasma.graphicswidgets 0.1 as PlasmaWidgets
import org.kde.plasma.core 0.1 as PlasmaCore
Item {
- PlasmaWidgets.IconWidget {
+ id: view
+ anchors.fill: parent
+
+ //TODO: Use this to detect if we should be iconized or full size
+ function isConstrained() {
+ return (plasmoid.formFactor == Vertical || plasmoid.formFactor == Horizontal);
+ }
+
+ PlasmaCore.IconItem {
id: icon
- Component.onCompleted: setIcon("smartphone");
+ source: "smartphone"
anchors.fill: parent
}
@@ -41,4 +48,5 @@ Item {
subText: "KDE Connect device notifications"
}
}
-}
\ Manca newline alla fine del file
+
+}