void-packages/srcpkgs/mate-panel/template
Alessio Sergi 7d51aa741c mate-panel: update to 1.14.1
Remove unrecognized options --enable-network-manager.
2016-06-10 12:00:05 +02:00

47 lines
1.4 KiB
Bash

# Template file for 'mate-panel'
pkgname=mate-panel
version=1.14.1
revision=1
build_style=gnu-configure
configure_args="--with-gtk=3.0 --disable-static --disable-schemas-compile
$(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool itstool glib-devel
$(vopt_if gir gobject-introspection)"
makedepends="gtk+3-devel libcaja-devel libwnck-devel libcanberra-devel libSM-devel
libmateweather-devel librsvg-devel libXau-devel libmarco-devel mate-menus-devel
dbus-glib-devel mate-desktop-devel"
depends="caja dconf marco mate-session-manager"
short_desc="The MATE Panel"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2, LGPL-2"
homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=1eacc629be62a3985b9f3403c0762b2dd79eb48399a5f41085977717dfa2148c
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
libmate-panel_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove usr/lib/*.so.*
if [ "$build_option_gir" ]; then
vmove usr/lib/girepository-1.0
fi
}
}
libmate-panel-devel_package() {
short_desc+=" - development files"
depends="gtk+3-devel lib${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}