diff options
author | root <root@rshg054.dnsready.net> | 2013-03-29 00:06:00 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-03-29 00:06:00 -0700 |
commit | 236f7ce9638c79b9ff594552540f3f5a2cbd8703 (patch) | |
tree | 48799f3962c80c2ba374b02815b865a253d12869 /community/cairo-dock-plugins | |
parent | 0fbe25a10dce8ec16455854ed6929b688f98cb36 (diff) |
Fri Mar 29 00:06:00 PDT 2013
Diffstat (limited to 'community/cairo-dock-plugins')
-rwxr-xr-x | community/cairo-dock-plugins/PKGBUILD | 67 | ||||
-rwxr-xr-x | community/cairo-dock-plugins/alsa-mixer-applet.patch | 10 | ||||
-rwxr-xr-x | community/cairo-dock-plugins/applet-host-ias.patch | 17 |
3 files changed, 94 insertions, 0 deletions
diff --git a/community/cairo-dock-plugins/PKGBUILD b/community/cairo-dock-plugins/PKGBUILD new file mode 100755 index 000000000..3099f6c74 --- /dev/null +++ b/community/cairo-dock-plugins/PKGBUILD @@ -0,0 +1,67 @@ +# $Id: PKGBUILD 87222 2013-03-28 18:48:03Z alucryd $ +# Maintainer: Maxime Gauduin <alucryd@gmail.com> +# Contributor: Tofe <chris.chapuis@gmail.com> +# Contributor: zhuqin <zhuqin83@gmail.com> +# Contributor: tri1976 <trile7@gmail.com> +# Contributor: snoopy33 <snoopy33@no-log.org> + +pkgname=cairo-dock-plugins +pkgver=3.2.0 +pkgrel=1 +pkgdesc="Plugins for Cairo-Dock" +url="https://launchpad.net/cairo-dock" +license=('GPL') +arch=('i686' 'x86_64') +groups=('cairo-dock') +depends=('cairo-dock') +makedepends=('cmake' 'alsa-lib' 'fftw' 'gnome-menus' 'gtk-sharp-2' 'gvfs' 'libetpan' 'libexif' 'libical' 'libpulse' 'libxklavier' 'libxxf86vm' 'libzeitgeist' 'lm_sensors' 'ndesk-dbus-glib' 'python' 'ruby' 'upower' 'vala' 'vte3' 'webkitgtk3') +optdepends=('alsa-lib: Alsa-Mixer applet' + 'gnome-menus: GMenu applet' + 'fftw: Impulse applet' + 'libpulse: Impulse applet' + 'libxklavier: Keyboard-indicator applet' + 'libetpan: Mail applet' + 'libzeitgeist: Recent-Events applet' + 'vte3: Terminal applet' + 'webkitgtk3: Weblets applet' + 'libxxf86vm: XGamma applet' + 'gvfs: GVFS integration' + 'lm_sensors: Sensors support' + 'upower: UPower support' + 'libical: iCal support' + 'libexif: exif support' + 'python: Python interface' + 'gtk-sharp-2: Mono interface' + 'ndesk-dbus-glib: Mono interface' + 'ruby: Ruby interface' + 'vala: Vala interface') +options=('!libtool') +source=("http://launchpad.net/cairo-dock-plug-ins/3.2/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz" 'alsa-mixer-applet.patch' 'applet-host-ias.patch') +sha256sums=('e407e1c0d54ae37815726d0f2a66f12ec8263499df99198646bcecccfc688b5c' + 'e474314037fe85dfb9e90c17b18f87936a911699d97fee5470ccd812ff6697c1' + '28be6144e9006f5c166d8f0119de1747ee2caf8e13072177a8d0dab23fd964b3') + +build() { + cd "${srcdir}"/${pkgname}-${pkgver} + +# Patch + patch -Np1 -i ../alsa-mixer-applet.patch + patch -Np1 -i ../applet-host-ias.patch + +# Build + if [[ -d build ]]; then + rm -rf build + fi + mkdir build && cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd "${srcdir}"/${pkgname}-${pkgver}/build + +# Install + make DESTDIR=${pkgdir} install +} + +# vim: ts=2 sw=2 et: diff --git a/community/cairo-dock-plugins/alsa-mixer-applet.patch b/community/cairo-dock-plugins/alsa-mixer-applet.patch new file mode 100755 index 000000000..b70b89f0c --- /dev/null +++ b/community/cairo-dock-plugins/alsa-mixer-applet.patch @@ -0,0 +1,10 @@ +--- a/alsaMixer/src/applet-struct.h 2013-03-23 16:55:27.000000000 +0100 ++++ b/alsaMixer/src/applet-struct.h 2013-03-28 18:56:15.981944400 +0100 +@@ -19,6 +19,7 @@ + + #ifndef __CD_APPLET_STRUCT__ + #define __CD_APPLET_STRUCT__ ++#include <sys/types.h> + + #include <sys/types.h> + #include <alsa/asoundlib.h> diff --git a/community/cairo-dock-plugins/applet-host-ias.patch b/community/cairo-dock-plugins/applet-host-ias.patch new file mode 100755 index 000000000..a5316704f --- /dev/null +++ b/community/cairo-dock-plugins/applet-host-ias.patch @@ -0,0 +1,17 @@ +=== modified file 'Status-Notifier/src/applet-host-ias.c' +--- old/Status-Notifier/src/applet-host-ias.c 2012-03-18 02:41:47 +0000 ++++ new/Status-Notifier/src/applet-host-ias.c 2012-05-27 12:50:54 +0000 +@@ -238,10 +238,12 @@ + cIconThemePath, + #if (INDICATOR_OLD_NAMES == 0) + cAccessbleDesc && *cAccessbleDesc != '\0' ? cAccessbleDesc : ++ #if (INDICATOR_APPLICATIONADDED_HAS_HINT == 1) + #if (INDICATOR_APPLICATIONADDED_HAS_TITLE == 1) + cTitle && *cTitle != '\0' ? cTitle : + #endif + #endif ++ #endif + cLabel + ); + + |