summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/opensync/libopensync-0.36/cmake.patch18
-rw-r--r--meta/packages/opensync/libopensync-plugin-evolution2_0.36.bb3
-rw-r--r--meta/packages/opensync/libopensync-plugin-file_0.36.bb1
-rw-r--r--meta/packages/opensync/libopensync-plugin-google-calendar_0.36.bb1
-rw-r--r--meta/packages/opensync/libopensync-plugin-irmc_0.36.bb3
-rw-r--r--meta/packages/opensync/libopensync-plugin-syncml_0.36.bb3
-rw-r--r--meta/packages/opensync/libopensync-plugin-vformat_0.36.bb3
-rw-r--r--meta/packages/opensync/libopensync-plugin_0.36.inc9
-rw-r--r--meta/packages/opensync/libopensync_0.36.bb24
9 files changed, 65 insertions, 0 deletions
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 000000000..0884e4cb7
--- /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 000000000..da4ecb80b
--- /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 000000000..33a049b7d
--- /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 000000000..33a049b7d
--- /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 000000000..295dfdecf
--- /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 000000000..e1395a700
--- /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 000000000..84a48f21f
--- /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 000000000..db6b1fa73
--- /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 000000000..884e46209
--- /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
+}