# Template file for 'network-manager-applet' pkgname=network-manager-applet version=0.9.1.90 revision=2 distfiles="${GNOME_SITE}/$pkgname/0.9/$pkgname-$version.tar.xz" build_style=gnu_configure configure_args="--disable-schemas-install --with-gconf-schema-file-dir=/usr/share/gconf/schemas --with-bluetooth --disable-static" short_desc="NetworkManager panel applet for GNOME" maintainer="Juan RP " homepage="http://www.gnome.org/projects/NetworkManager/" license="GPL" checksum=e98d285cc75a331557551900ebd815c24cb3132027f981823af4fb76ec368d95 long_desc=" NetworkManager attempts to keep an active network connection available at all times. It is intended only for the desktop use-case, and is not intended for usage on servers. The point of NetworkManager is to make networking configuration and setup as painless and automatic as possible. If using DHCP, NetworkManager is _intended_ to replace default routes, obtain IP addresses from a DHCP server, and change nameservers whenever it sees fit. This package contains a systray applet for GNOME's notification area but it also works for other desktop environments which provide a systray like KDE or Xfce. It displays the available networks and allows to easily switch between them. For encrypted networks it will prompt the user for the key/passphrase and it can optionally store them in the gnome-keyring." subpackages="${pkgname}-devel" gconf_schemas="${pkgname}.schemas" gtk_iconcache_dirs="/usr/share/icons/hicolor" # XXX: mobile-broadband-provier-info deps. Add_dependency run glibc Add_dependency run GConf Add_dependency run gtk+3 Add_dependency run atk Add_dependency run glib Add_dependency run pango Add_dependency run gdk-pixbuf Add_dependency run cairo Add_dependency run freetype Add_dependency run fontconfig Add_dependency run libnm Add_dependency run dbus-glib Add_dependency run dbus-libs Add_dependency run libgnome-keyring Add_dependency run gnome-bluetooth Add_dependency run libnotify Add_dependency run NetworkManager Add_dependency run polkit-gnome Add_dependency run notification-daemon Add_dependency run hicolor-icon-theme Add_dependency build pkg-config Add_dependency build intltool Add_dependency build GConf-devel Add_dependency build libgnome-keyring-devel Add_dependency build NetworkManager-devel Add_dependency build gnome-bluetooth-devel Add_dependency build libnotify-devel Add_dependency full iso-codes post_install() { mv ${DESTDIR}/usr/share/gconf/schemas/*.schemas ${wrksrc} gconf-merge-schema ${DESTDIR}/usr/share/gconf/schemas/${gconf_schemas} \ --domain nm-applet ${wrksrc}/*.schemas }