New package: mate-polkit-1.8.0.

This commit is contained in:
Juan RP 2014-08-31 17:09:46 +02:00
parent bb0bf92eeb
commit 0051e09fb1
4 changed files with 44 additions and 0 deletions

View File

@ -1714,3 +1714,4 @@ libganv-1.so.1 ganv-1.4.2_1
libblas.so.3 blas-3.5.0_1
liblapack.so.3 lapack-3.5.0_1
libcinnamon-menu-3.so.0 cinnamon-menus-2.2.0_1
libpolkit-gtk-mate-1.so.0 libmate-polkit-1.8.0_1

1
srcpkgs/libmate-polkit Symbolic link
View File

@ -0,0 +1 @@
mate-polkit

View File

@ -0,0 +1 @@
mate-polkit

View File

@ -0,0 +1,41 @@
# Template file for 'mate-polkit'
pkgname=mate-polkit
version=1.8.0
revision=1
build_style=gnu-configure
configure_args="--with-gtk=2.0 --disable-static $(vopt_enable gir introspection)"
hostmakedepends="pkg-config intltool"
makedepends="gtk+-devel polkit-devel $(vopt_if gir gobject-introspection)"
short_desc="PolicyKit integration for the MATE desktop"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-3"
homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/1.8/${pkgname}-${version}.tar.xz"
checksum=bc01640c63f6248497ca78c3d8df8ff608d8bf1fbfce7c11416b014a109aeccd
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
libmate-polkit_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove usr/lib/*.so.*
if [ "$build_option_gir" ]; then
vmove usr/lib/girepository-1.0
fi
}
}
libmate-polkit-devel_package() {
short_desc+=" - development files"
depends="polkit-devel libmate-polkit>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}