diff options
Diffstat (limited to 'meta/packages/opensync')
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 0000000000..0884e4cb79 --- /dev/null +++ b/meta/packages/opensync/libopensync-0.36/cmake.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | --- | ||
2 | opensync/CMakeLists.txt | 1 - | ||
3 | 1 file changed, 1 deletion(-) | ||
4 | |||
5 | --- libopensync-0.36.orig/opensync/CMakeLists.txt | ||
6 | +++ libopensync-0.36/opensync/CMakeLists.txt | ||
7 | @@ -55,11 +55,10 @@ SET( libopensync_LIB_SRCS | ||
8 | ADD_LIBRARY( opensync SHARED ${libopensync_LIB_SRCS} ) | ||
9 | |||
10 | TARGET_LINK_LIBRARIES( opensync ${GLIB2_LIBRARIES} ${GTHREAD2_LIBRARIES} ${GMODULE2_LIBRARIES} ${LIBXML2_LIBRARIES} ${SQLITE3_LIBRARIES} ) | ||
11 | |||
12 | SET_TARGET_PROPERTIES( opensync PROPERTIES VERSION 1.0.0 SOVERSION 1 ) | ||
13 | -SET_TARGET_PROPERTIES( opensync PROPERTIES LINK_FLAGS ${SYMBOLS_VISIBILITY} ) | ||
14 | |||
15 | IF ( OPENSYNC_UNITTESTS ) | ||
16 | ADD_LIBRARY( opensync-testing SHARED ${libopensync_LIB_SRCS} ) | ||
17 | TARGET_LINK_LIBRARIES( opensync-testing ${GLIB2_LIBRARIES} ${GTHREAD2_LIBRARIES} ${GMODULE2_LIBRARIES} ${LIBXML2_LIBRARIES} ${SQLITE3_LIBRARIES} ) | ||
18 | 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 @@ | |||
1 | require libopensync-plugin_0.36.inc | ||
2 | |||
3 | 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 @@ | |||
1 | require libopensync-plugin_0.36.inc | ||
2 | |||
3 | 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 @@ | |||
1 | require libopensync-plugin_0.36.inc | ||
2 | |||
3 | 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 @@ | |||
1 | require libopensync-plugin_0.36.inc | ||
2 | |||
3 | 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 @@ | |||
1 | DEPENDS = "libopensync (>= 0.36)" | ||
2 | |||
3 | SRC_URI = "http://opensync.org/download/releases/${PV}/${P}.tar.bz2" | ||
4 | |||
5 | inherit cmake | ||
6 | |||
7 | FILES_${PN} += "${libdir}/opensync*/plugins/*.so \ | ||
8 | ${libdir}/opensync*/formats/*.so \ | ||
9 | ${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 @@ | |||
1 | LICENSE = "LGPL" | ||
2 | HOMEPAGE = "http://www.opensync.org/" | ||
3 | |||
4 | DEPENDS = "sqlite3 libxml2 zlib glib-2.0" | ||
5 | |||
6 | SRC_URI = "http://opensync.org/download/releases/${PV}/libopensync-${PV}.tar.bz2\ | ||
7 | file://cmake.patch;patch=1" | ||
8 | |||
9 | inherit cmake pkgconfig | ||
10 | |||
11 | LEAD_SONAME = "libopensync.so" | ||
12 | |||
13 | FILES_${PN} += " ${libdir}/opensync*/formats/*.so \ | ||
14 | ${libdir}/opensync*/osplugin \ | ||
15 | ${datadir}/opensync*/schemas \ | ||
16 | ${datadir}/opensync*/capabilities \ | ||
17 | ${datadir}/opensync*/descriptions \ | ||
18 | " | ||
19 | FILES_${PN}-dbg += " ${libdir}/opensync*/formats/.debug/*.so \ | ||
20 | ${libdir}/opensync*/.debug/osplugin " | ||
21 | |||
22 | do_stage() { | ||
23 | autotools_stage_all | ||
24 | } | ||