From f341559cf756f56558568c7f4521cda29de8ca89 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 11 Apr 2010 13:10:10 +0200 Subject: [PATCH] Added polkit-gnome-0.96 build template. --HG-- extra : convert_revision : a36e915dad4ce3bfc759f006bb2e86c5ea79ec3b --- srcpkgs/polkit-gnome-devel | 1 + srcpkgs/polkit-gnome/depends | 2 + .../polkit-gnome/polkit-gnome-devel.template | 25 +++++++++++ srcpkgs/polkit-gnome/template | 41 +++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 5 files changed, 70 insertions(+) create mode 120000 srcpkgs/polkit-gnome-devel create mode 100644 srcpkgs/polkit-gnome/depends create mode 100644 srcpkgs/polkit-gnome/polkit-gnome-devel.template create mode 100644 srcpkgs/polkit-gnome/template diff --git a/srcpkgs/polkit-gnome-devel b/srcpkgs/polkit-gnome-devel new file mode 120000 index 0000000000..ab161b4d14 --- /dev/null +++ b/srcpkgs/polkit-gnome-devel @@ -0,0 +1 @@ +polkit-gnome \ No newline at end of file diff --git a/srcpkgs/polkit-gnome/depends b/srcpkgs/polkit-gnome/depends new file mode 100644 index 0000000000..99bbe8e5cd --- /dev/null +++ b/srcpkgs/polkit-gnome/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.96" +api_depends="${abi_depends}" diff --git a/srcpkgs/polkit-gnome/polkit-gnome-devel.template b/srcpkgs/polkit-gnome/polkit-gnome-devel.template new file mode 100644 index 0000000000..3904b0a363 --- /dev/null +++ b/srcpkgs/polkit-gnome/polkit-gnome-devel.template @@ -0,0 +1,25 @@ +# Template file for 'polkit-gnome-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run pkg-config +Add_dependency run intltool +Add_dependency run polkit-devel +Add_dependency run glib-devel +Add_dependency run atk-devel +Add_dependency run pango-devel +Add_dependency run cairo-devel +Add_dependency run freetype-devel +Add_dependency run fontconfig-devel +Add_dependency run gtk+-devel + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/polkit-gnome/template b/srcpkgs/polkit-gnome/template new file mode 100644 index 0000000000..cccf6cd6a8 --- /dev/null +++ b/srcpkgs/polkit-gnome/template @@ -0,0 +1,41 @@ +# Template file for 'polkit-gnome' +pkgname=polkit-gnome +version=0.96 +distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.bz2" +build_style=gnu_configure +configure_args="--localstatedir=/var --disable-introspection" +short_desc="PolicyKit integration for the GNOME desktop" +maintainer="Juan RP " +checksum=0d96c8032d658a2e1eef8adfbeafff0f569ef0cf68b35915423acc00873c8a92 +long_desc=" + PolicyKit is an application-level toolkit for defining and handling the + policy that allows unprivileged processes to speak to privileged processes. + + It is a framework for centralizing the decision making process with respect + to granting access to privileged operations (like calling the HAL Mount() + method) for unprivileged (desktop) applications. + + This package contains the glue to integrate with the GNOME desktop." + +subpackages="$pkgname-devel" + +Add_dependency run glibc +Add_dependency run polkit +Add_dependency run glib +Add_dependency run atk +Add_dependency run pango +Add_dependency run cairo +Add_dependency run freetype +Add_dependency run fontconfig +Add_dependency run gtk+ +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build polkit-devel +Add_dependency build glib-devel +Add_dependency build atk-devel +Add_dependency build pango-devel +Add_dependency build cairo-devel +Add_dependency build freetype-devel +Add_dependency build fontconfig-devel +Add_dependency build gtk+-devel + diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 7f023685ee..cc81442dbe 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -515,3 +515,4 @@ liblftp-network.so lftp liblftp-pty.so lftp libupower-glib.so upower upower-devel libdevkit-power-gobject.so upower upower-devel +libpolkit-gtk-1.so polkit-gnome polkit-gnome-devel