2010-04-16 12:01:03 +00:00
|
|
|
# Template file for 'network-manager-applet'
|
|
|
|
pkgname=network-manager-applet
|
2014-07-17 11:12:22 +00:00
|
|
|
version=0.9.10.0
|
|
|
|
revision=0
|
2014-04-02 14:15:50 +00:00
|
|
|
lib32disabled=yes
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2014-05-10 07:47:00 +00:00
|
|
|
configure_args="--disable-static --without-bluetooth --with-modem-manager-1 --disable-migration"
|
|
|
|
hostmakedepends="pkg-config intltool glib-devel dbus-glib-devel"
|
|
|
|
makedepends="
|
|
|
|
dbus-glib-devel libgnome-keyring-devel libsecret-devel
|
2014-04-02 14:28:38 +00:00
|
|
|
NetworkManager-devel>=${version} gtk+3-devel libnotify-devel
|
2013-09-15 10:04:12 +00:00
|
|
|
ModemManager-devel polkit-devel libgudev-devel iso-codes"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="iso-codes NetworkManager>=${version} hicolor-icon-theme"
|
2010-04-16 12:01:03 +00:00
|
|
|
short_desc="NetworkManager panel applet for GNOME"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-05-27 19:38:15 +00:00
|
|
|
homepage="http://www.gnome.org/projects/NetworkManager/"
|
2011-10-29 10:22:44 +00:00
|
|
|
license="GPL-2"
|
2013-09-15 09:58:20 +00:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/0.9/$pkgname-$version.tar.xz"
|
2014-07-17 11:12:22 +00:00
|
|
|
checksum=f5c26c692f538dc0145dc7d46d3d390754fad73d0ff06861c074c61f3dc54eca
|
2013-04-14 02:36:19 +00:00
|
|
|
|
2014-05-10 07:47:00 +00:00
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
|
|
|
|
# Disable gir for cross builds.
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
build_options_default="gir"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
configure_args+=" --enable-introspection"
|
|
|
|
makedepends+=" gobject-introspection"
|
|
|
|
else
|
|
|
|
configure_args+=" --disable-introspection"
|
|
|
|
fi
|
|
|
|
|
2013-04-14 02:36:19 +00:00
|
|
|
libnm-gtk_package() {
|
2013-05-07 12:17:23 +00:00
|
|
|
short_desc+=" - runtime library"
|
2013-04-14 02:36:19 +00:00
|
|
|
replaces="${sourcepkg}<0.9.1.95"
|
|
|
|
pkg_install() {
|
2013-07-20 04:06:36 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2014-05-10 07:47:00 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/lib/girepository-1.0
|
|
|
|
fi
|
2013-04-14 02:36:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
network-manager-applet-devel_package() {
|
|
|
|
depends="gtk+3-devel NetworkManager-devel>=${version}
|
2013-11-11 17:23:37 +00:00
|
|
|
libnm-gtk>=${version}_${revision}"
|
2013-05-07 12:17:23 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 02:36:19 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-07-20 04:06:36 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2014-05-10 07:47:00 +00:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-14 02:36:19 +00:00
|
|
|
}
|
|
|
|
}
|