void-packages/srcpkgs/network-manager-applet/template

40 lines
1.3 KiB
Plaintext

# Template file for 'network-manager-applet'
pkgname=network-manager-applet
version=0.9.8.9
revision=1
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
NetworkManager-devel>=${version} gtk+3-devel libnotify-devel
ModemManager-devel polkit-devel libgudev-devel iso-codes"
depends="iso-codes NetworkManager>=${version} hicolor-icon-theme"
short_desc="NetworkManager panel applet for GNOME"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org/projects/NetworkManager/"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/0.9/$pkgname-$version.tar.xz"
checksum=b93d7bf49456b7932e233f562bf9531a3f3ff10946c942126159b92b3dda25c3
libnm-gtk_package() {
short_desc+=" - runtime library"
replaces="${sourcepkg}<0.9.1.95"
pkg_install() {
vmove "usr/lib/*.so.*"
vmove "usr/lib/girepository-*"
}
}
network-manager-applet-devel_package() {
depends="gtk+3-devel NetworkManager-devel>=${version}
libnm-gtk>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
}
}