From 9a861d23e71199323184d6d45269406192f01d32 Mon Sep 17 00:00:00 2001 From: gnastyle Date: Sat, 23 Jan 2016 15:15:26 +0100 Subject: [PATCH] imported new plasmoids plasma 5 --- plasma5-applets-gmail-feed/PKGBUILD | 34 ++++++++++++++++++++ plasma5-applets-keystate/PKGBUILD | 34 ++++++++++++++++++++ plasma5-applets-playbar2/PKGBUILD | 33 +++++++++++++++++++ plasma5-applets-redshift-control/PKGBUILD | 34 ++++++++++++++++++++ plasma5-applets-rssnow/PKGBUILD | 39 +++++++++++++++++++++++ plasma5-applets-separator/PKGBUILD | 32 +++++++++++++++++++ plasma5-applets-thermal-monitor/PKGBUILD | 34 ++++++++++++++++++++ plasma5-applets-weather-widget/PKGBUILD | 34 ++++++++++++++++++++ plasma5-applets-webslice/PKGBUILD | 20 ++++++++++++ plasma5-applets-yahoo-weather/PKGBUILD | 28 ++++++++++++++++ 10 files changed, 322 insertions(+) create mode 100644 plasma5-applets-gmail-feed/PKGBUILD create mode 100644 plasma5-applets-keystate/PKGBUILD create mode 100644 plasma5-applets-playbar2/PKGBUILD create mode 100644 plasma5-applets-redshift-control/PKGBUILD create mode 100644 plasma5-applets-rssnow/PKGBUILD create mode 100644 plasma5-applets-separator/PKGBUILD create mode 100644 plasma5-applets-thermal-monitor/PKGBUILD create mode 100644 plasma5-applets-weather-widget/PKGBUILD create mode 100644 plasma5-applets-webslice/PKGBUILD create mode 100644 plasma5-applets-yahoo-weather/PKGBUILD diff --git a/plasma5-applets-gmail-feed/PKGBUILD b/plasma5-applets-gmail-feed/PKGBUILD new file mode 100644 index 000000000..6f3b9cf08 --- /dev/null +++ b/plasma5-applets-gmail-feed/PKGBUILD @@ -0,0 +1,34 @@ +pkgname=plasma5-applets-gmail-feed +_name=gmailfeed +pkgver=1.1 +pkgrel=1 +pkgdesc="Plasmoid showing your Gmail feed " +arch=('x86_64') +url="https://github.com/anthon38/gmailfeed" +license=('GPL') +group=('plasma5-applets') +depends=('plasma-workspace' 'qt5-graphicaleffects') +makedepends=('extra-cmake-modules') +source=("https://github.com/anthon38/gmailfeed/archive/v${pkgver}.tar.gz") +sha256sums=('b505d54922ca69952d33ab6ebe28593df3726063499936efe5a68e4294ba9623') + +prepare() { + cd "${_name}-${pkgver}" + mkdir -p build +} + +build() { + cd "${_name}-${pkgver}/build" + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DLIB_INSTALL_DIR=lib \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON +} + +package() { + cd "${_name}-${pkgver}"/build + + make install DESTDIR="${pkgdir}" +} \ No newline at end of file diff --git a/plasma5-applets-keystate/PKGBUILD b/plasma5-applets-keystate/PKGBUILD new file mode 100644 index 000000000..b47f07e36 --- /dev/null +++ b/plasma5-applets-keystate/PKGBUILD @@ -0,0 +1,34 @@ +pkgname=plasma5-applets-keystate +_name=keystate-plasmoid +pkgver=0.4 +pkgrel=1 +pkgdesc="Displays the state of some keys (Caps Lock, Num Lock, Meta and a few more)" +arch=('x86_64') +url="https://github.com/xdarklight/keystate-plasmoid" +license=('GPL') +group=('plasma5-applets') +depends=('plasma-workspace' 'qt5-graphicaleffects') +makedepends=('extra-cmake-modules') +source=("https://github.com/xdarklight/keystate-plasmoid/archive/v${pkgver}.tar.gz") +sha256sums=('495883f28768c29b3d286276061826a94cfceae8592206479e41a6411db4aa20') + +prepare() { + cd "${_name}-${pkgver}" + mkdir -p build +} + +build() { + cd "${_name}-${pkgver}/build" + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DLIB_INSTALL_DIR=lib \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON +} + +package() { + cd "${_name}-${pkgver}"/build + + make install DESTDIR="${pkgdir}" +} \ No newline at end of file diff --git a/plasma5-applets-playbar2/PKGBUILD b/plasma5-applets-playbar2/PKGBUILD new file mode 100644 index 000000000..22b2fe149 --- /dev/null +++ b/plasma5-applets-playbar2/PKGBUILD @@ -0,0 +1,33 @@ +pkgname=plasma5-applets-playbar2 +_name=PlayBar2 +pkgver=2.3 +pkgrel=1 +pkgdesc="Client MPRIS2, allows you to control your favorite media player" +arch=('x86_64') +url="https://github.com/audoban/PlayBar2" +license=('GPL') +group=('plasma5-applets') +depends=('plasma-workspace' 'kdeclarative' 'kglobalaccel' 'kconfigwidgets' 'kxmlgui' 'kwindowsystem' 'kdoctools') +makedepends=('extra-cmake-modules') +source=("https://github.com/audoban/PlayBar2/archive/v${pkgver}.tar.gz") +sha256sums=('b4962901b08af21e7e173a33dc89523d5319f49a9f495dcb4247400f3e5f5a45') + +prepare() { + cd "${_name}-${pkgver}" + mkdir -p build +} + +build() { + cd "${_name}-${pkgver}/build" + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release +} + +package() { + cd "${_name}-${pkgver}"/build + + make install DESTDIR="${pkgdir}" + mv ${pkgdir}/usr/lib64 ${pkgdir}/usr/lib +} \ No newline at end of file diff --git a/plasma5-applets-redshift-control/PKGBUILD b/plasma5-applets-redshift-control/PKGBUILD new file mode 100644 index 000000000..3b7daca9b --- /dev/null +++ b/plasma5-applets-redshift-control/PKGBUILD @@ -0,0 +1,34 @@ +pkgname=plasma5-applets-redshift-control +_name=plasma-applet-redshift-control +pkgver=1.0.9 +pkgrel=1 +pkgdesc="Applet for monitoring CPU, GPU and other available temperature sensors." +arch=('x86_64') +url="https://github.com/kotelnik/plasma-applet-redshift-control" +license=('GPL') +group=('plasma5-applets') +depends=('plasma-workspace' 'qt5-graphicaleffects' 'redshift') +makedepends=('extra-cmake-modules') +source=("https://github.com/kotelnik/plasma-applet-redshift-control/archive/v${pkgver}.tar.gz") +sha256sums=('4ab5c0746840d0ab733099510dc45bb35ef2933c378aeeaf6c4ab29dfa233bdb') + +prepare() { + cd "${_name}-${pkgver}" + mkdir -p build +} + +build() { + cd "${_name}-${pkgver}/build" + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DLIB_INSTALL_DIR=lib \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON +} + +package() { + cd "${_name}-${pkgver}"/build + + make install DESTDIR="${pkgdir}" +} \ No newline at end of file diff --git a/plasma5-applets-rssnow/PKGBUILD b/plasma5-applets-rssnow/PKGBUILD new file mode 100644 index 000000000..c7ab2f2d5 --- /dev/null +++ b/plasma5-applets-rssnow/PKGBUILD @@ -0,0 +1,39 @@ +pkgname=plasma5-applets-rssnow +pkgver=1.0.r29.46e7e43 +pkgrel=1 +pkgdesc="Show news from various sources" +arch=('x86_64') +url="https://github.com/Misenko/rssnow-plasma5-applet" +license=('GPL') +depends=('plasma-workspace') +makedepends=('cmake' 'git' 'extra-cmake-modules') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +source=(${pkgname}::git+https://github.com/Misenko/rssnow-plasma5-applet.git) +sha1sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname}" + printf "%s.r%s.%s" "$(sed -n "s/^X-KDE-PluginInfo-Version=\(.*\)$/\1/p" plasmoid/metadata.desktop)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + cd "$srcdir/${pkgname}" + rm -rf build + mkdir -p build +} + +build() { + cd "$srcdir/${pkgname}/build" + + export QT_SELECT=5 + cmake .. \ + -DCMAKE_INSTALL_PREFIX=$(kf5-config --prefix) \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd "$srcdir/${pkgname}/build" + make DESTDIR="${pkgdir}/" install +} diff --git a/plasma5-applets-separator/PKGBUILD b/plasma5-applets-separator/PKGBUILD new file mode 100644 index 000000000..2981f5a87 --- /dev/null +++ b/plasma5-applets-separator/PKGBUILD @@ -0,0 +1,32 @@ +pkgname=plasma5-applets-separator +_name=Separator +pkgver=0.1 +pkgrel=1 +pkgdesc="Just a separator." +arch=('x86_64') +url="http://kde-apps.org/content/show.php/Separator?content=174531" +license=('GPL') +group=('plasma5-applets') +depends=('plasma-workspace' 'kdeclarative' 'kglobalaccel' 'kconfigwidgets' 'kxmlgui' 'kwindowsystem' 'kdoctools') +makedepends=('extra-cmake-modules') +source=("http://kde-apps.org/CONTENT/content-files/174531-Separator.tar.gz") +sha256sums=('26b4558e3e1ba0b4f20e1bfdf0d3a376cfbf42bdd3a654af6a6f492b40101156') + +prepare() { + cd "${_name}" + mkdir -p build +} + +build() { + cd "${_name}/build" + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release +} + +package() { + cd "${_name}"/build + + make install DESTDIR="${pkgdir}" +} \ No newline at end of file diff --git a/plasma5-applets-thermal-monitor/PKGBUILD b/plasma5-applets-thermal-monitor/PKGBUILD new file mode 100644 index 000000000..3f772a953 --- /dev/null +++ b/plasma5-applets-thermal-monitor/PKGBUILD @@ -0,0 +1,34 @@ +pkgname=plasma5-applets-thermal-monitor +_name=plasma-applet-thermal-monitor +pkgver=1.2.6 +pkgrel=1 +pkgdesc="Applet for monitoring CPU, GPU and other available temperature sensors." +arch=('x86_64') +url="https://github.com/kotelnik/plasma-applet-thermal-monitor" +license=('GPL') +group=('plasma5-applets') +depends=('plasma-workspace' 'qt5-graphicaleffects') +makedepends=('extra-cmake-modules') +source=("https://github.com/kotelnik/plasma-applet-thermal-monitor/archive/v${pkgver}.tar.gz") +sha256sums=('d8ff3a7eda0a672d763ff2e0b83deab4e9010e15bc73cd8cd3379408d264e08d') + +prepare() { + cd "${_name}-${pkgver}" + mkdir -p build +} + +build() { + cd "${_name}-${pkgver}/build" + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DLIB_INSTALL_DIR=lib \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON +} + +package() { + cd "${_name}-${pkgver}"/build + + make install DESTDIR="${pkgdir}" +} \ No newline at end of file diff --git a/plasma5-applets-weather-widget/PKGBUILD b/plasma5-applets-weather-widget/PKGBUILD new file mode 100644 index 000000000..acd2d8770 --- /dev/null +++ b/plasma5-applets-weather-widget/PKGBUILD @@ -0,0 +1,34 @@ +pkgname=plasma5-applets-weather-widget +_name=plasma-applet-weather-widget +pkgver=1.6.1 +pkgrel=1 +pkgdesc="Applet for displaying weather information from yr.no server" +arch=('x86_64') +url="https://github.com/kotelnik/plasma-applet-weather-widget" +license=('GPL') +group=('plasma5-applets') +depends=('plasma-workspace' 'qt5-graphicaleffects') +makedepends=('extra-cmake-modules') +source=("https://github.com/kotelnik/plasma-applet-weather-widget/archive/v${pkgver}.tar.gz") +sha256sums=('bd6dfbc331b23a583bebf83672b8129f8972420600af8cd54087a212ca4f7108') + +prepare() { + cd "${_name}-${pkgver}" + mkdir -p build +} + +build() { + cd "${_name}-${pkgver}/build" + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DLIB_INSTALL_DIR=lib \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON +} + +package() { + cd "${_name}-${pkgver}"/build + + make install DESTDIR="${pkgdir}" +} \ No newline at end of file diff --git a/plasma5-applets-webslice/PKGBUILD b/plasma5-applets-webslice/PKGBUILD new file mode 100644 index 000000000..1dc374670 --- /dev/null +++ b/plasma5-applets-webslice/PKGBUILD @@ -0,0 +1,20 @@ +pkgname=plasma5-applets-webslice +_name=webslice-plasmoid +pkgver=0.8.1 +pkgrel=1 +pkgdesc="Add a slice of web on your desktop" +arch=('x86_64') +url="https://github.com/Cqoicebordel/webslice-plasmoid" +license=('GPL') +group=('plasma5-applets') +depends=('plasma-workspace' 'qt5-graphicaleffects') +makedepends=('extra-cmake-modules') +source=("https://github.com/Cqoicebordel/webslice-plasmoid/archive/${pkgver}.tar.gz") +sha256sums=('04d6c317b88805f8c3c26cf95727463495b708a7ff61c45e162a088f3e2a013d') + +package() { + cd "${_name}-$pkgver" + + install -d $pkgdir/usr/share/plasma/plasmoids/cqcb.plasma.webslice/contents + cp -r cqcb.plasma.webslice $pkgdir/usr/share/plasma/plasmoids +} \ No newline at end of file diff --git a/plasma5-applets-yahoo-weather/PKGBUILD b/plasma5-applets-yahoo-weather/PKGBUILD new file mode 100644 index 000000000..e4fe0c8e5 --- /dev/null +++ b/plasma5-applets-yahoo-weather/PKGBUILD @@ -0,0 +1,28 @@ +pkgname=plasma5-applets-yahoo-weather +_name=com.librehat.yahooweather +pkgver=5.0.0 +pkgrel=1 +pkgdesc="Yahoo! Weather Widget for Plasma Desktop" +arch=('x86_64') +url="https://github.com/librehat/com.librehat.yahooweather" +license=('GPL') +group=('plasma5-applets') +depends=('plasma-workspace' 'qt5-tools') +makedepends=('extra-cmake-modules' 'zip') +source=("https://github.com/librehat/com.librehat.yahooweather/archive/v${pkgver}.tar.gz") +sha256sums=('dfd45d9ae0632b4845838a3277645b85e257dec74758128bd1a9e089e966cb2e') + +build() { + cd "${_name}-${pkgver}" + + ver=`grep "X-KDE-PluginInfo-Version" metadata.desktop | sed 's/.*=//'` + app=`grep "X-KDE-PluginInfo-Name" metadata.desktop | sed 's/.*=//'` +} + +package() { + cd "${_name}-${pkgver}" + + install -d $pkgdir/usr/share/plasma/plasmoids/com.librehat.yahooweather/contents + install -D metadata.desktop $pkgdir/usr/share/plasma/plasmoids/com.librehat.yahooweather + cp -r contents $pkgdir/usr/share/plasma/plasmoids/com.librehat.yahooweather +} \ No newline at end of file