From 25d245a27c95e9a3b87cc43882703098a89b4102 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 24 Oct 2010 16:28:55 +0200 Subject: [PATCH] Added libgdata-0.6.5 build template. --- srcpkgs/gir-gdata | 1 + srcpkgs/libgdata-devel | 1 + srcpkgs/libgdata/depends | 2 ++ srcpkgs/libgdata/gir-gdata.template | 13 +++++++++++ srcpkgs/libgdata/libgdata-devel.template | 23 +++++++++++++++++++ srcpkgs/libgdata/template | 28 ++++++++++++++++++++++++ 6 files changed, 68 insertions(+) create mode 120000 srcpkgs/gir-gdata create mode 120000 srcpkgs/libgdata-devel create mode 100644 srcpkgs/libgdata/depends create mode 100644 srcpkgs/libgdata/gir-gdata.template create mode 100644 srcpkgs/libgdata/libgdata-devel.template create mode 100644 srcpkgs/libgdata/template diff --git a/srcpkgs/gir-gdata b/srcpkgs/gir-gdata new file mode 120000 index 0000000000..29d228b2d7 --- /dev/null +++ b/srcpkgs/gir-gdata @@ -0,0 +1 @@ +libgdata \ No newline at end of file diff --git a/srcpkgs/libgdata-devel b/srcpkgs/libgdata-devel new file mode 120000 index 0000000000..29d228b2d7 --- /dev/null +++ b/srcpkgs/libgdata-devel @@ -0,0 +1 @@ +libgdata \ No newline at end of file diff --git a/srcpkgs/libgdata/depends b/srcpkgs/libgdata/depends new file mode 100644 index 0000000000..ddc0dfeefa --- /dev/null +++ b/srcpkgs/libgdata/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.6.5" +api_depends="${abi_depends}" diff --git a/srcpkgs/libgdata/gir-gdata.template b/srcpkgs/libgdata/gir-gdata.template new file mode 100644 index 0000000000..0fbe8960af --- /dev/null +++ b/srcpkgs/libgdata/gir-gdata.template @@ -0,0 +1,13 @@ +# Template file for 'gir-gdata'. +# +short_desc="Introspection data for libgdata" +long_desc="${long_desc} + + This package contains small pieces of introspection data for the libgdata + library." + +do_install() +{ + install -d ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/girepository-1.0 ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/libgdata/libgdata-devel.template b/srcpkgs/libgdata/libgdata-devel.template new file mode 100644 index 0000000000..a11279e8b9 --- /dev/null +++ b/srcpkgs/libgdata/libgdata-devel.template @@ -0,0 +1,23 @@ +# Template file for 'libgdata-devel'. +# +short_desc="${short_desc} - development files" +long_desc="${long_desc} + + This package contains development files: headers, static libs, etc." + +Add_dependency run pkg-config +Add_dependency run gobject-introspection +Add_dependency run glib-devel +Add_dependency run libxml2-devel +Add_dependency run libsoup-devel +Add_dependency run libsoup-gnome-devel +Add_dependency run libgdata + +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/{gtk-doc,gir-1.0} ${DESTDIR}/usr/share +} diff --git a/srcpkgs/libgdata/template b/srcpkgs/libgdata/template new file mode 100644 index 0000000000..56b64725c3 --- /dev/null +++ b/srcpkgs/libgdata/template @@ -0,0 +1,28 @@ +# Template file for 'libgdata' +pkgname=libgdata +version=0.6.5 +distfiles="${GNOME_SITE}/$pkgname/0.6/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="Library for accessing GData webservices" +maintainer="Juan RP " +checksum=dcb82f7162d69549512444376da2cdea65650ee4dae4d00eed7fbbd3387ddf2c +long_desc=" + libgdata is a GLib-based library for accessing online service APIs using the + GData protocol — most notably, Google's services. It provides APIs to access + the common Google services, and has full asynchronous support." + +subpackages="gir-gdata $pkgname-devel" + +Add_dependency run glibc +Add_dependency run glib +Add_dependency run libxml2 +Add_dependency run libsoup +Add_dependency run libsoup-gnome + +Add_dependency build pkg-config +Add_dependency build flex +Add_dependency build gobject-introspection +Add_dependency build glib-devel +Add_dependency build libxml2-devel +Add_dependency build libsoup-devel +Add_dependency build libsoup-gnome-devel