From c6e9ca1467839c8463749479060acad232a16b44 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 18 Jun 2008 08:35:54 +0000 Subject: opensync: add 0.36 (latest stable) git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4690 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../packages/opensync/libopensync-0.36/cmake.patch | 18 ++++++++++++++++ .../opensync/libopensync-plugin-evolution2_0.36.bb | 3 +++ .../opensync/libopensync-plugin-file_0.36.bb | 1 + .../libopensync-plugin-google-calendar_0.36.bb | 1 + .../opensync/libopensync-plugin-irmc_0.36.bb | 3 +++ .../opensync/libopensync-plugin-syncml_0.36.bb | 3 +++ .../opensync/libopensync-plugin-vformat_0.36.bb | 3 +++ meta/packages/opensync/libopensync-plugin_0.36.inc | 9 ++++++++ meta/packages/opensync/libopensync_0.36.bb | 24 ++++++++++++++++++++++ 9 files changed, 65 insertions(+) create mode 100644 meta/packages/opensync/libopensync-0.36/cmake.patch create mode 100644 meta/packages/opensync/libopensync-plugin-evolution2_0.36.bb create mode 100644 meta/packages/opensync/libopensync-plugin-file_0.36.bb create mode 100644 meta/packages/opensync/libopensync-plugin-google-calendar_0.36.bb create mode 100644 meta/packages/opensync/libopensync-plugin-irmc_0.36.bb create mode 100644 meta/packages/opensync/libopensync-plugin-syncml_0.36.bb create mode 100644 meta/packages/opensync/libopensync-plugin-vformat_0.36.bb create mode 100644 meta/packages/opensync/libopensync-plugin_0.36.inc create mode 100644 meta/packages/opensync/libopensync_0.36.bb diff --git a/meta/packages/opensync/libopensync-0.36/cmake.patch b/meta/packages/opensync/libopensync-0.36/cmake.patch new file mode 100644 index 0000000000..0884e4cb79 --- /dev/null +++ b/meta/packages/opensync/libopensync-0.36/cmake.patch @@ -0,0 +1,18 @@ +--- + opensync/CMakeLists.txt | 1 - + 1 file changed, 1 deletion(-) + +--- libopensync-0.36.orig/opensync/CMakeLists.txt ++++ libopensync-0.36/opensync/CMakeLists.txt +@@ -55,11 +55,10 @@ SET( libopensync_LIB_SRCS + ADD_LIBRARY( opensync SHARED ${libopensync_LIB_SRCS} ) + + TARGET_LINK_LIBRARIES( opensync ${GLIB2_LIBRARIES} ${GTHREAD2_LIBRARIES} ${GMODULE2_LIBRARIES} ${LIBXML2_LIBRARIES} ${SQLITE3_LIBRARIES} ) + + SET_TARGET_PROPERTIES( opensync PROPERTIES VERSION 1.0.0 SOVERSION 1 ) +-SET_TARGET_PROPERTIES( opensync PROPERTIES LINK_FLAGS ${SYMBOLS_VISIBILITY} ) + + IF ( OPENSYNC_UNITTESTS ) + ADD_LIBRARY( opensync-testing SHARED ${libopensync_LIB_SRCS} ) + TARGET_LINK_LIBRARIES( opensync-testing ${GLIB2_LIBRARIES} ${GTHREAD2_LIBRARIES} ${GMODULE2_LIBRARIES} ${LIBXML2_LIBRARIES} ${SQLITE3_LIBRARIES} ) + ENDIF ( OPENSYNC_UNITTESTS ) diff --git a/meta/packages/opensync/libopensync-plugin-evolution2_0.36.bb b/meta/packages/opensync/libopensync-plugin-evolution2_0.36.bb new file mode 100644 index 0000000000..da4ecb80b3 --- /dev/null +++ b/meta/packages/opensync/libopensync-plugin-evolution2_0.36.bb @@ -0,0 +1,3 @@ +require libopensync-plugin_0.36.inc + +DEPENDS += " eds-dbus" diff --git a/meta/packages/opensync/libopensync-plugin-file_0.36.bb b/meta/packages/opensync/libopensync-plugin-file_0.36.bb new file mode 100644 index 0000000000..33a049b7d6 --- /dev/null +++ b/meta/packages/opensync/libopensync-plugin-file_0.36.bb @@ -0,0 +1 @@ +require libopensync-plugin_0.36.inc diff --git a/meta/packages/opensync/libopensync-plugin-google-calendar_0.36.bb b/meta/packages/opensync/libopensync-plugin-google-calendar_0.36.bb new file mode 100644 index 0000000000..33a049b7d6 --- /dev/null +++ b/meta/packages/opensync/libopensync-plugin-google-calendar_0.36.bb @@ -0,0 +1 @@ +require libopensync-plugin_0.36.inc diff --git a/meta/packages/opensync/libopensync-plugin-irmc_0.36.bb b/meta/packages/opensync/libopensync-plugin-irmc_0.36.bb new file mode 100644 index 0000000000..295dfdecfa --- /dev/null +++ b/meta/packages/opensync/libopensync-plugin-irmc_0.36.bb @@ -0,0 +1,3 @@ +require libopensync-plugin_0.36.inc + +DEPENDS += "openobex bluez-libs" diff --git a/meta/packages/opensync/libopensync-plugin-syncml_0.36.bb b/meta/packages/opensync/libopensync-plugin-syncml_0.36.bb new file mode 100644 index 0000000000..e1395a7006 --- /dev/null +++ b/meta/packages/opensync/libopensync-plugin-syncml_0.36.bb @@ -0,0 +1,3 @@ +require libopensync-plugin_0.36.inc + +DEPENDS += " libsyncml (>= 0.4.6)" diff --git a/meta/packages/opensync/libopensync-plugin-vformat_0.36.bb b/meta/packages/opensync/libopensync-plugin-vformat_0.36.bb new file mode 100644 index 0000000000..84a48f21fe --- /dev/null +++ b/meta/packages/opensync/libopensync-plugin-vformat_0.36.bb @@ -0,0 +1,3 @@ +require libopensync-plugin_0.36.inc + +DEPENDS += " check" diff --git a/meta/packages/opensync/libopensync-plugin_0.36.inc b/meta/packages/opensync/libopensync-plugin_0.36.inc new file mode 100644 index 0000000000..db6b1fa73a --- /dev/null +++ b/meta/packages/opensync/libopensync-plugin_0.36.inc @@ -0,0 +1,9 @@ +DEPENDS = "libopensync (>= 0.36)" + +SRC_URI = "http://opensync.org/download/releases/${PV}/${P}.tar.bz2" + +inherit cmake + +FILES_${PN} += "${libdir}/opensync*/plugins/*.so \ + ${libdir}/opensync*/formats/*.so \ + ${datadir}/opensync*/defaults/" diff --git a/meta/packages/opensync/libopensync_0.36.bb b/meta/packages/opensync/libopensync_0.36.bb new file mode 100644 index 0000000000..884e462094 --- /dev/null +++ b/meta/packages/opensync/libopensync_0.36.bb @@ -0,0 +1,24 @@ +LICENSE = "LGPL" +HOMEPAGE = "http://www.opensync.org/" + +DEPENDS = "sqlite3 libxml2 zlib glib-2.0" + +SRC_URI = "http://opensync.org/download/releases/${PV}/libopensync-${PV}.tar.bz2\ + file://cmake.patch;patch=1" + +inherit cmake pkgconfig + +LEAD_SONAME = "libopensync.so" + +FILES_${PN} += " ${libdir}/opensync*/formats/*.so \ + ${libdir}/opensync*/osplugin \ + ${datadir}/opensync*/schemas \ + ${datadir}/opensync*/capabilities \ + ${datadir}/opensync*/descriptions \ + " +FILES_${PN}-dbg += " ${libdir}/opensync*/formats/.debug/*.so \ + ${libdir}/opensync*/.debug/osplugin " + +do_stage() { +autotools_stage_all +} -- cgit v1.2.3