network-manager-applet: disable gconf migration; added gir build option.
This commit is contained in:
parent
6524059e69
commit
c654774261
|
@ -1,12 +1,13 @@
|
|||
# Template file for 'network-manager-applet'
|
||||
pkgname=network-manager-applet
|
||||
version=0.9.8.10
|
||||
revision=1
|
||||
revision=2
|
||||
lib32disabled=yes
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --without-bluetooth --with-modem-manager-1"
|
||||
hostmakedepends="pkg-config intltool gobject-introspection"
|
||||
makedepends="GConf-devel libgnome-keyring-devel libsecret-devel
|
||||
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
|
||||
NetworkManager-devel>=${version} gtk+3-devel libnotify-devel
|
||||
ModemManager-devel polkit-devel libgudev-devel iso-codes"
|
||||
depends="iso-codes NetworkManager>=${version} hicolor-icon-theme"
|
||||
|
@ -17,12 +18,30 @@ license="GPL-2"
|
|||
distfiles="${GNOME_SITE}/$pkgname/0.9/$pkgname-$version.tar.xz"
|
||||
checksum=46fee9a1e667d1826e6a94bb6bd2e6bdbde535fc995e534542f5f7e8b8dae0cb
|
||||
|
||||
# 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
|
||||
|
||||
libnm-gtk_package() {
|
||||
short_desc+=" - runtime library"
|
||||
replaces="${sourcepkg}<0.9.1.95"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/*.so.*"
|
||||
vmove "usr/lib/girepository-*"
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/lib/girepository-1.0
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -34,6 +53,8 @@ network-manager-applet-devel_package() {
|
|||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/share/gir-1.0
|
||||
if [ "$build_option_gir" ]; then
|
||||
vmove usr/share/gir-1.0
|
||||
fi
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue