diff options
author | Richard Purdie <richard@openedhand.com> | 2008-10-17 11:32:30 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-10-17 11:32:30 +0000 |
commit | 85e2dcb42099a8de44df33fe2776fd3b12ce27f7 (patch) | |
tree | f788aeeca55bed6dea8be5e3fa1e96cb4296e7ce /meta/packages/opensync | |
parent | 0d25b9fe0bace63800ec95457afda31dbabf2f11 (diff) | |
download | openembedded-core-85e2dcb42099a8de44df33fe2776fd3b12ce27f7.tar.gz openembedded-core-85e2dcb42099a8de44df33fe2776fd3b12ce27f7.tar.bz2 openembedded-core-85e2dcb42099a8de44df33fe2776fd3b12ce27f7.zip |
Add libopesync 0.37
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5537 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/opensync')
5 files changed, 82 insertions, 0 deletions
diff --git a/meta/packages/opensync/libopensync-0.37/build-in-src.patch b/meta/packages/opensync/libopensync-0.37/build-in-src.patch new file mode 100644 index 0000000000..1810b339a6 --- /dev/null +++ b/meta/packages/opensync/libopensync-0.37/build-in-src.patch @@ -0,0 +1,18 @@ +--- + cmake/OpenSyncInternal.cmake.in | 1 - + 1 file changed, 1 deletion(-) + +--- libopensync-0.36.orig/cmake/OpenSyncInternal.cmake.in ++++ libopensync-0.36/cmake/OpenSyncInternal.cmake.in +@@ -5,11 +5,10 @@ INCLUDE( OpenSyncTesting ) + INCLUDE( OpenSyncPackaging ) + INCLUDE( OpenSyncPlugin ) + INCLUDE( OpenSyncPlatforms ) + INCLUDE( MacroEnsureOutOfSourceBuild ) + +-MACRO_ENSURE_OUT_OF_SOURCE_BUILD("${CMAKE_PROJECT_NAME} doesn't allow to build within the source directory. Please, create a seperate build directory and run 'cmake ${PROJECT_SOURCE_DIR} [options]'!") + + + SET( OPENSYNC_PLUGINDIR "@OPENSYNC_PLUGINDIR@" ) + SET( OPENSYNC_FORMATSDIR "@OPENSYNC_FORMATSDIR@" ) + SET( OPENSYNC_PYTHON_PLUGINDIR "@OPENSYNC_PYTHON_PLUGINDIR@" ) diff --git a/meta/packages/opensync/libopensync-0.37/cmake.patch b/meta/packages/opensync/libopensync-0.37/cmake.patch new file mode 100644 index 0000000000..7ea4613548 --- /dev/null +++ b/meta/packages/opensync/libopensync-0.37/cmake.patch @@ -0,0 +1,17 @@ +--- + opensync/CMakeLists.txt | 1 - + 1 file changed, 1 deletion(-) + +Index: libopensync-0.37/opensync/CMakeLists.txt +=================================================================== +--- libopensync-0.37.orig/opensync/CMakeLists.txt 2008-10-15 13:56:45.000000000 +0100 ++++ libopensync-0.37/opensync/CMakeLists.txt 2008-10-15 13:59:03.000000000 +0100 +@@ -67,8 +67,6 @@ + SET_TARGET_PROPERTIES( opensync PROPERTIES VERSION ${OPENSYNC_LIBVERSION_VERSION} ) + SET_TARGET_PROPERTIES( opensync PROPERTIES SOVERSION ${OPENSYNC_LIBVERSION_SOVERSION} ) + +-SET_TARGET_PROPERTIES( opensync PROPERTIES COMPILE_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} ${LIBXSLT_LIBRARIES} ${LIBEXSLT_LIBRARIES} ${SQLITE3_LIBRARIES} ) diff --git a/meta/packages/opensync/libopensync-0.37/no-python-check.patch b/meta/packages/opensync/libopensync-0.37/no-python-check.patch new file mode 100644 index 0000000000..04257bc623 --- /dev/null +++ b/meta/packages/opensync/libopensync-0.37/no-python-check.patch @@ -0,0 +1,16 @@ +--- + CMakeLists.txt | 1 - + 1 file changed, 1 deletion(-) + +Index: libopensync-0.37/CMakeLists.txt +=================================================================== +--- libopensync-0.37.orig/CMakeLists.txt 2008-08-18 16:14:24.000000000 +0100 ++++ libopensync-0.37/CMakeLists.txt 2008-10-15 14:00:12.000000000 +0100 +@@ -65,7 +65,6 @@ + FIND_PACKAGE( LibXslt REQUIRED ) + FIND_PACKAGE( LibExslt REQUIRED ) + FIND_PACKAGE( SWIG ) +-FIND_PACKAGE( PythonLibs ) + FIND_PACKAGE( Check ) + + ADD_SUBDIRECTORY( opensync ) diff --git a/meta/packages/opensync/libopensync-plugin-syncml_0.37.bb b/meta/packages/opensync/libopensync-plugin-syncml_0.37.bb new file mode 100644 index 0000000000..7cd00f32ef --- /dev/null +++ b/meta/packages/opensync/libopensync-plugin-syncml_0.37.bb @@ -0,0 +1,3 @@ +require libopensync-plugin_0.36.inc + +DEPENDS += " libsyncml (>= 0.4.7)" diff --git a/meta/packages/opensync/libopensync_0.37.bb b/meta/packages/opensync/libopensync_0.37.bb new file mode 100644 index 0000000000..0748bec99a --- /dev/null +++ b/meta/packages/opensync/libopensync_0.37.bb @@ -0,0 +1,28 @@ +LICENSE = "LGPL" +HOMEPAGE = "http://www.opensync.org/" + +DEPENDS = "sqlite3 libxml2 glib-2.0 check zlib libxslt" + +PR = "r1" + +SRC_URI = "http://opensync.org/download/releases/${PV}/libopensync-${PV}.tar.bz2\ + file://cmake.patch;patch=1 \ + file://build-in-src.patch;patch=1 \ + file://no-python-check.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 +} |