summaryrefslogtreecommitdiff
path: root/extra/kdeplasma-addons
diff options
context:
space:
mode:
Diffstat (limited to 'extra/kdeplasma-addons')
-rw-r--r--extra/kdeplasma-addons/PKGBUILD69
-rw-r--r--extra/kdeplasma-addons/kdeplasma-addons.install11
2 files changed, 50 insertions, 30 deletions
diff --git a/extra/kdeplasma-addons/PKGBUILD b/extra/kdeplasma-addons/PKGBUILD
index 3f9a8d4b0..61e3a7590 100644
--- a/extra/kdeplasma-addons/PKGBUILD
+++ b/extra/kdeplasma-addons/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 162063 2012-06-19 10:13:41Z andrea $
+# $Id: PKGBUILD 164922 2012-08-06 23:21:07Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
@@ -68,29 +68,30 @@ pkgname=('kdeplasma-addons-applets-bball'
'kdeplasma-addons-runners-kopete'
'kdeplasma-addons-runners-mediawiki'
'kdeplasma-addons-runners-spellchecker'
+ 'kdeplasma-addons-runners-youtube'
'kdeplasma-addons-wallpapers-mandelbrot'
'kdeplasma-addons-wallpapers-marble'
'kdeplasma-addons-wallpapers-pattern'
'kdeplasma-addons-wallpapers-potd'
'kdeplasma-addons-wallpapers-virus'
'kdeplasma-addons-wallpapers-weather')
-pkgver=4.8.4
-pkgrel=2
+pkgver=4.9.0
+pkgrel=1
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('GPL' 'LGPL')
groups=('kde' 'kdeplasma-addons')
makedepends=('cmake' 'automoc4' 'kdebase-workspace' 'kdeedu-marble' 'eigen'
- 'scim' 'qwt' 'boost' 'libkexiv2' 'ibus')
+ 'scim' 'qwt' 'boost' 'libkexiv2' 'ibus' 'qoauth' 'qjson')
source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz")
-sha1sums=('725d26e3aa59d02bc73a77b43e6aae92bc961254')
+sha1sums=('bf3f548c1a86b9aedee0ee2962b0b10aa27c9c05')
build() {
- cd "${srcdir}"
mkdir build
cd build
cmake ../${pkgbase}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
@@ -98,7 +99,7 @@ build() {
package_kdeplasma-addons-applets-bball() {
pkgdesc='A bouncy ball for plasma'
depends=('kdebase-workspace')
- install='kdeplasma-addons-applets.install'
+ install='kdeplasma-addons.install'
cd $srcdir/build/applets/bball
make DESTDIR=$pkgdir install
}
@@ -147,7 +148,7 @@ package_kdeplasma-addons-applets-charselect() {
package_kdeplasma-addons-applets-comic() {
pkgdesc='View comic strips from the Internet'
- depends=('kdebase-workspace' 'kdeplasma-addons-libs')
+ depends=('kdeplasma-addons-libs')
cd $srcdir/build/applets/comic
make DESTDIR=$pkgdir install
}
@@ -172,7 +173,7 @@ package_kdeplasma-addons-applets-dict() {
package_kdeplasma-addons-applets-eyes() {
pkgdesc='XEyes clone'
depends=('kdebase-workspace')
- install='kdeplasma-addons-applets.install'
+ install='kdeplasma-addons.install'
cd $srcdir/build/applets/eyes
make DESTDIR=$pkgdir install
}
@@ -180,7 +181,7 @@ package_kdeplasma-addons-applets-eyes() {
package_kdeplasma-addons-applets-fifteenpuzzle() {
pkgdesc='Put the pieces in order'
depends=('kdebase-workspace')
- install='kdeplasma-addons-applets.install'
+ install='kdeplasma-addons.install'
cd $srcdir/build/applets/fifteenPuzzle
make DESTDIR=$pkgdir install
}
@@ -222,15 +223,15 @@ package_kdeplasma-addons-applets-incomingmsg() {
package_kdeplasma-addons-applets-kdeobservatory() {
pkgdesc='Visualize the KDE ecosystem'
- depends=('kdebase-workspace' 'kdeplasma-addons-libs' 'qwt')
- install='kdeplasma-addons-applets.install'
+ depends=('kdeplasma-addons-libs' 'qwt')
+ install='kdeplasma-addons.install'
cd $srcdir/build/applets/kdeobservatory
make DESTDIR=$pkgdir install
}
package_kdeplasma-addons-applets-kimpanel() {
pkgdesc='A generic input method panel for Oriental languages'
- depends=('kdebase-workspace' 'kdeplasma-addons-libs')
+ depends=('kdeplasma-addons-libs')
optdepends=('scim: SCIM backend'
'fcitx: FCITX backend'
'ibus: IBUS backend')
@@ -254,14 +255,14 @@ package_kdeplasma-addons-applets-kolourpicker() {
package_kdeplasma-addons-applets-konqprofiles() {
pkgdesc='List and launch Konqueror profiles'
- depends=('kdebase-workspace')
+ depends=('kdebase-konqueror' 'kdeplasma-addons-libs')
cd $srcdir/build/applets/konqprofiles
make DESTDIR=$pkgdir install
}
package_kdeplasma-addons-applets-konsoleprofiles() {
pkgdesc='List and launch Konsole profiles'
- depends=('kdebase-workspace')
+ depends=('kdebase-konsole' 'kdeplasma-addons-libs')
cd $srcdir/build/applets/konsoleprofiles
make DESTDIR=$pkgdir install
}
@@ -287,7 +288,7 @@ package_kdeplasma-addons-applets-leavenote() {
package_kdeplasma-addons-applets-life() {
pkgdesc='Life'
depends=('kdebase-workspace')
- install='kdeplasma-addons-applets.install'
+ install='kdeplasma-addons.install'
cd $srcdir/build/applets/life
make DESTDIR=$pkgdir install
}
@@ -295,7 +296,7 @@ package_kdeplasma-addons-applets-life() {
package_kdeplasma-addons-applets-luna() {
pkgdesc='Display moon phases for your location'
depends=('kdebase-workspace')
- install='kdeplasma-addons-applets.install'
+ install='kdeplasma-addons.install'
cd $srcdir/build/applets/luna
make DESTDIR=$pkgdir install
}
@@ -316,7 +317,7 @@ package_kdeplasma-addons-applets-mediaplayer() {
package_kdeplasma-addons-applets-microblog() {
pkgdesc='Update and view your microblog status.'
- depends=('kdebase-workspace' 'kdeplasma-addons-libs' 'qoauth' 'qca-ossl')
+ depends=('kdeplasma-addons-libs' 'qoauth' 'qca-ossl')
cd $srcdir/build/applets/microblog
make DESTDIR=$pkgdir install
}
@@ -366,7 +367,7 @@ package_kdeplasma-addons-applets-plasmaboard() {
package_kdeplasma-addons-applets-previewer() {
pkgdesc='Preview This File'
depends=('kdebase-workspace')
- install='kdeplasma-addons-applets.install'
+ install='kdeplasma-addons.install'
cd $srcdir/build/applets/previewer
make DESTDIR=$pkgdir install
}
@@ -374,14 +375,14 @@ package_kdeplasma-addons-applets-previewer() {
package_kdeplasma-addons-applets-qalculate() {
pkgdesc='A powerful mathematical equation solver'
depends=('kdebase-workspace')
- install='kdeplasma-addons-applets.install'
+ install='kdeplasma-addons.install'
cd $srcdir/build/applets/qalculate
make DESTDIR=$pkgdir install
}
package_kdeplasma-addons-applets-rememberthemilk() {
pkgdesc='Remember The Milk Todo list applet'
- depends=('kdebase-workspace' 'kdeplasma-addons-libs')
+ depends=('kdeplasma-addons-libs')
cd $srcdir/build/applets/rememberthemilk
make DESTDIR=$pkgdir install
}
@@ -411,7 +412,7 @@ package_kdeplasma-addons-applets-social-news() {
pkgdesc='Stay informed with the Social Desktop'
replaces=('kdeplasma-addons-applets-opendesktop' 'kdeplasma-addons-applets-opendesktop-activities')
conflicts=('kdeplasma-addons-applets-opendesktop' 'kdeplasma-addons-applets-opendesktop-activities')
- depends=('kdebase-workspace' 'kdeplasma-addons-libs')
+ depends=('kdeplasma-addons-libs')
cd $srcdir/build/applets/social-news
make DESTDIR=$pkgdir install
}
@@ -446,14 +447,14 @@ package_kdeplasma-addons-applets-unitconverter() {
package_kdeplasma-addons-applets-weather() {
pkgdesc='Displays Weather information'
- depends=('kdebase-workspace' 'kdeplasma-addons-libs')
+ depends=('kdeplasma-addons-libs')
cd $srcdir/build/applets/weather
make DESTDIR=$pkgdir install
}
package_kdeplasma-addons-applets-weatherstation() {
pkgdesc='Weather reports with an LCD display style'
- depends=('kdebase-workspace' 'kdeplasma-addons-libs')
+ depends=('kdeplasma-addons-libs')
cd $srcdir/build/applets/weatherstation
make DESTDIR=$pkgdir install
}
@@ -536,28 +537,28 @@ package_kdeplasma-addons-runners-events() {
package_kdeplasma-addons-runners-katesessions() {
pkgdesc='Matches Kate Sessions'
- depends=('kdebase-workspace')
+ depends=('kdebase-workspace' 'kdesdk-kate')
cd $srcdir/build/runners/katesessions
make DESTDIR=$pkgdir install
}
package_kdeplasma-addons-runners-konquerorsessions() {
pkgdesc='Matches Konqueror Sessions'
- depends=('kdebase-workspace')
+ depends=('kdebase-workspace' 'kdebase-konqueror')
cd $srcdir/build/runners/konquerorsessions
make DESTDIR=$pkgdir install
}
package_kdeplasma-addons-runners-konsolesessions() {
pkgdesc='Matches Konsole Sessions'
- depends=('kdebase-workspace')
+ depends=('kdebase-workspace' 'kdebase-konsole')
cd $srcdir/build/runners/konsolesessions
make DESTDIR=$pkgdir install
}
package_kdeplasma-addons-runners-kopete() {
pkgdesc='Kopete Contact runner'
- depends=('kdebase-workspace')
+ depends=('kdebase-workspace' 'kdenetwork-kopete')
cd $srcdir/build/runners/kopete
make DESTDIR=$pkgdir install
}
@@ -576,6 +577,14 @@ package_kdeplasma-addons-runners-spellchecker() {
make DESTDIR=$pkgdir install
}
+package_kdeplasma-addons-runners-youtube() {
+ pkgdesc='Matches YouTube queries'
+ depends=('kdebase-workspace' 'qjson')
+ install='kdeplasma-addons.install'
+ cd $srcdir/build/runners/youtube
+ make DESTDIR=$pkgdir install
+}
+
package_kdeplasma-addons-wallpapers-mandelbrot() {
pkgdesc='Mandelbrot'
depends=('kdebase-workspace')
@@ -599,7 +608,7 @@ package_kdeplasma-addons-wallpapers-pattern() {
package_kdeplasma-addons-wallpapers-potd() {
pkgdesc='Picture of the Day'
- depends=('kdebase-workspace' 'kdeplasma-addons-libs')
+ depends=('kdeplasma-addons-libs')
cd $srcdir/build/wallpapers/potd
make DESTDIR=$pkgdir install
}
@@ -613,7 +622,7 @@ package_kdeplasma-addons-wallpapers-virus() {
package_kdeplasma-addons-wallpapers-weather() {
pkgdesc='Weather'
- depends=('kdebase-workspace' 'kdeplasma-addons-libs')
+ depends=('kdeplasma-addons-libs')
cd $srcdir/build/wallpapers/weather
make DESTDIR=$pkgdir install
}
diff --git a/extra/kdeplasma-addons/kdeplasma-addons.install b/extra/kdeplasma-addons/kdeplasma-addons.install
new file mode 100644
index 000000000..c4ef46ba8
--- /dev/null
+++ b/extra/kdeplasma-addons/kdeplasma-addons.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+} \ No newline at end of file