2010-04-16 14:01:03 +02:00
|
|
|
# Template file for 'network-manager-applet'
|
|
|
|
pkgname=network-manager-applet
|
2014-04-27 22:46:14 +02:00
|
|
|
version=0.9.8.10
|
2014-05-10 09:47:00 +02:00
|
|
|
revision=2
|
2014-04-02 16:15:50 +02:00
|
|
|
lib32disabled=yes
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2014-05-10 09:47:00 +02: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 16:28:38 +02:00
|
|
|
NetworkManager-devel>=${version} gtk+3-devel libnotify-devel
|
2013-09-15 12:04:12 +02:00
|
|
|
ModemManager-devel polkit-devel libgudev-devel iso-codes"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="iso-codes NetworkManager>=${version} hicolor-icon-theme"
|
2010-04-16 14:01:03 +02:00
|
|
|
short_desc="NetworkManager panel applet for GNOME"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-05-27 21:38:15 +02:00
|
|
|
homepage="http://www.gnome.org/projects/NetworkManager/"
|
2011-10-29 12:22:44 +02:00
|
|
|
license="GPL-2"
|
2013-09-15 11:58:20 +02:00
|
|
|
distfiles="${GNOME_SITE}/$pkgname/0.9/$pkgname-$version.tar.xz"
|
2014-04-27 22:46:14 +02:00
|
|
|
checksum=46fee9a1e667d1826e6a94bb6bd2e6bdbde535fc995e534542f5f7e8b8dae0cb
|
2013-04-14 04:36:19 +02:00
|
|
|
|
2014-05-10 09:47:00 +02:00
|
|
|
# Package build options
|
|
|
|
build_options="gir"
|
|
|
|
desc_option_gir="Enable support for building gobject introspection data"
|
|
|
|
|
|
|
|
# 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 04:36:19 +02:00
|
|
|
libnm-gtk_package() {
|
2013-05-07 14:17:23 +02:00
|
|
|
short_desc+=" - runtime library"
|
2013-04-14 04:36:19 +02:00
|
|
|
replaces="${sourcepkg}<0.9.1.95"
|
|
|
|
pkg_install() {
|
2013-07-20 06:06:36 +02:00
|
|
|
vmove "usr/lib/*.so.*"
|
2014-05-10 09:47:00 +02:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/lib/girepository-1.0
|
|
|
|
fi
|
2013-04-14 04:36:19 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
network-manager-applet-devel_package() {
|
|
|
|
depends="gtk+3-devel NetworkManager-devel>=${version}
|
2013-11-11 18:23:37 +01:00
|
|
|
libnm-gtk>=${version}_${revision}"
|
2013-05-07 14:17:23 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 04:36:19 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-07-20 06:06:36 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2014-05-10 09:47:00 +02:00
|
|
|
if [ "$build_option_gir" ]; then
|
|
|
|
vmove usr/share/gir-1.0
|
|
|
|
fi
|
2013-04-14 04:36:19 +02:00
|
|
|
}
|
|
|
|
}
|