From a86336504b726985a9723f78592d62ede2953af9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 2 Mar 2011 09:52:15 +0100 Subject: [PATCH] Added telepathy-glib-0.13.15 build template. --HG-- branch : gnome3 --- srcpkgs/gir-telepathy-glib | 1 + srcpkgs/telepathy-glib-devel | 1 + srcpkgs/telepathy-glib/depends | 2 ++ .../gir-telepathy-glib.template | 13 +++++++++ .../telepathy-glib-devel.template | 24 ++++++++++++++++ srcpkgs/telepathy-glib/template | 28 +++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 7 files changed, 70 insertions(+) create mode 120000 srcpkgs/gir-telepathy-glib create mode 120000 srcpkgs/telepathy-glib-devel create mode 100644 srcpkgs/telepathy-glib/depends create mode 100644 srcpkgs/telepathy-glib/gir-telepathy-glib.template create mode 100644 srcpkgs/telepathy-glib/telepathy-glib-devel.template create mode 100644 srcpkgs/telepathy-glib/template diff --git a/srcpkgs/gir-telepathy-glib b/srcpkgs/gir-telepathy-glib new file mode 120000 index 0000000000..5d4a840a72 --- /dev/null +++ b/srcpkgs/gir-telepathy-glib @@ -0,0 +1 @@ +telepathy-glib \ No newline at end of file diff --git a/srcpkgs/telepathy-glib-devel b/srcpkgs/telepathy-glib-devel new file mode 120000 index 0000000000..5d4a840a72 --- /dev/null +++ b/srcpkgs/telepathy-glib-devel @@ -0,0 +1 @@ +telepathy-glib \ No newline at end of file diff --git a/srcpkgs/telepathy-glib/depends b/srcpkgs/telepathy-glib/depends new file mode 100644 index 0000000000..54069400c4 --- /dev/null +++ b/srcpkgs/telepathy-glib/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.13.15" +api_depends="${abi_depends}" diff --git a/srcpkgs/telepathy-glib/gir-telepathy-glib.template b/srcpkgs/telepathy-glib/gir-telepathy-glib.template new file mode 100644 index 0000000000..a6c1451c67 --- /dev/null +++ b/srcpkgs/telepathy-glib/gir-telepathy-glib.template @@ -0,0 +1,13 @@ +# Template file for 'gir-telepathy-glib'. +# +short_desc="Introspection data for telepathy-glib" +long_desc="${long_desc} + + This package contains small pieces of introspection data for the + TelepathyGlib library." + +do_install() +{ + install -d ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/girepository-1.0 ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/telepathy-glib/telepathy-glib-devel.template b/srcpkgs/telepathy-glib/telepathy-glib-devel.template new file mode 100644 index 0000000000..156b8e9a70 --- /dev/null +++ b/srcpkgs/telepathy-glib/telepathy-glib-devel.template @@ -0,0 +1,24 @@ +# Template file for 'gjs-devel'. +# +short_desc="${sourcepkg} - 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 vala-devel +Add_dependency run gobject-introspection +Add_dependency run glib-devel +Add_dependency run dbus-devel +Add_dependency run dbus-glib-devel + +do_install() +{ + mkdir -p ${DESTDIR}/usr/{lib,share} + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share/{gir-1.0,gtk-doc,vala} \ + ${DESTDIR}/usr/share +} diff --git a/srcpkgs/telepathy-glib/template b/srcpkgs/telepathy-glib/template new file mode 100644 index 0000000000..85b52fc293 --- /dev/null +++ b/srcpkgs/telepathy-glib/template @@ -0,0 +1,28 @@ +# Template file for 'telepathy-glib' +pkgname=telepathy-glib +version=0.13.15 +distfiles="http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$version.tar.gz" +build_style=gnu_configure +configure_args="--enable-vala-bindings" +short_desc="Library for GLib-based Telepathy components" +maintainer="Juan RP " +checksum=25fa05ce28b308b43ec3abe6ea028b951008b39ed3d1a7841c30eae304ebddf8 +long_desc=" + Telepathy is a D-Bus framework for unifying real time communication, + including instant messaging, voice calls and video calls. It abstracts + differences between protocols to provide a unified interface for + applications." + +subpackages="gir-$pkgname $pkgname-devel" +Add_dependency run glibc +Add_dependency run glib +Add_dependency run dbus-libs +Add_dependency run dbus-glib + +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build vala-devel +Add_dependency build gobject-introspection +Add_dependency build glib-devel +Add_dependency build dbus-devel +Add_dependency build dbus-glib-devel diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index afb5d3e37d..0c7f0e5a6b 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -784,3 +784,4 @@ libmutter-private.so mutter mutter-devel libgjs.so gjs gjs-devel libgjs-gi.so gjs gjs-devel libgjs-dbus.so gjs gjs-devel +libtelepathy-glib.so telepathy-glib telepathy-glib-devel