From 1e029d3ae18252041383992fe6d068add278a25d Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Tue, 7 May 2013 14:17:23 +0200
Subject: [PATCH] network-manager-applet: move gir files to -devel pkg.

---
 srcpkgs/network-manager-applet/template | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/network-manager-applet/template b/srcpkgs/network-manager-applet/template
index 4f9c8bbb99e..bc93c196a4e 100644
--- a/srcpkgs/network-manager-applet/template
+++ b/srcpkgs/network-manager-applet/template
@@ -1,11 +1,9 @@
 # Template file for 'network-manager-applet'
 pkgname=network-manager-applet
 version=0.9.8.0
-revision=3
+revision=4
 build_style=gnu-configure
 configure_args="--disable-static --with-bluetooth"
-depends="NetworkManager>=${version} polkit-gnome notification-daemon
- hicolor-icon-theme"
 makedepends="pkg-config intltool GConf-devel libgnome-keyring-devel
  NetworkManager-devel>=${version} gnome-bluetooth-devel libnotify-devel
  polkit-devel libgudev-devel gobject-introspection iso-codes"
@@ -17,7 +15,7 @@ distfiles="${GNOME_SITE}/$pkgname/0.9/$pkgname-$version.tar.xz"
 checksum=1afb6e736870ba95132bf0d211c46849e02a820ba3902a059a616be888053590
 
 libnm-gtk_package() {
-	short_desc="${short_desc} - runtime library"
+	short_desc+=" - runtime library"
 	replaces="${sourcepkg}<0.9.1.95"
 	pkg_install() {
 		vmove "usr/lib/*.so*"
@@ -28,15 +26,16 @@ libnm-gtk_package() {
 network-manager-applet-devel_package() {
 	depends="gtk+3-devel NetworkManager-devel>=${version}
 		libnm-gtk-${version}_${revision}"
-	short_desc="${short_desc} - development files"
+	short_desc+=" - development files"
 	pkg_install() {
 		vmove usr/include
 		vmove usr/lib/pkgconfig
+		vmove usr/share/gir-1.0
 	}
 }
 
 network-manager-applet_package() {
-	depends="iso-codes"
+	depends="iso-codes NetworkManager>=${version} hicolor-icon-theme"
 	pkg_install() {
 		vmove usr
 	}