diff options
Diffstat (limited to 'meta/packages')
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 @@ | |||
1 | --- | ||
2 | cmake/OpenSyncInternal.cmake.in | 1 - | ||
3 | 1 file changed, 1 deletion(-) | ||
4 | |||
5 | --- libopensync-0.36.orig/cmake/OpenSyncInternal.cmake.in | ||
6 | +++ libopensync-0.36/cmake/OpenSyncInternal.cmake.in | ||
7 | @@ -5,11 +5,10 @@ INCLUDE( OpenSyncTesting ) | ||
8 | INCLUDE( OpenSyncPackaging ) | ||
9 | INCLUDE( OpenSyncPlugin ) | ||
10 | INCLUDE( OpenSyncPlatforms ) | ||
11 | INCLUDE( MacroEnsureOutOfSourceBuild ) | ||
12 | |||
13 | -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]'!") | ||
14 | |||
15 | |||
16 | SET( OPENSYNC_PLUGINDIR "@OPENSYNC_PLUGINDIR@" ) | ||
17 | SET( OPENSYNC_FORMATSDIR "@OPENSYNC_FORMATSDIR@" ) | ||
18 | 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 @@ | |||
1 | --- | ||
2 | opensync/CMakeLists.txt | 1 - | ||
3 | 1 file changed, 1 deletion(-) | ||
4 | |||
5 | Index: libopensync-0.37/opensync/CMakeLists.txt | ||
6 | =================================================================== | ||
7 | --- libopensync-0.37.orig/opensync/CMakeLists.txt 2008-10-15 13:56:45.000000000 +0100 | ||
8 | +++ libopensync-0.37/opensync/CMakeLists.txt 2008-10-15 13:59:03.000000000 +0100 | ||
9 | @@ -67,8 +67,6 @@ | ||
10 | SET_TARGET_PROPERTIES( opensync PROPERTIES VERSION ${OPENSYNC_LIBVERSION_VERSION} ) | ||
11 | SET_TARGET_PROPERTIES( opensync PROPERTIES SOVERSION ${OPENSYNC_LIBVERSION_SOVERSION} ) | ||
12 | |||
13 | -SET_TARGET_PROPERTIES( opensync PROPERTIES COMPILE_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} ${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 @@ | |||
1 | --- | ||
2 | CMakeLists.txt | 1 - | ||
3 | 1 file changed, 1 deletion(-) | ||
4 | |||
5 | Index: libopensync-0.37/CMakeLists.txt | ||
6 | =================================================================== | ||
7 | --- libopensync-0.37.orig/CMakeLists.txt 2008-08-18 16:14:24.000000000 +0100 | ||
8 | +++ libopensync-0.37/CMakeLists.txt 2008-10-15 14:00:12.000000000 +0100 | ||
9 | @@ -65,7 +65,6 @@ | ||
10 | FIND_PACKAGE( LibXslt REQUIRED ) | ||
11 | FIND_PACKAGE( LibExslt REQUIRED ) | ||
12 | FIND_PACKAGE( SWIG ) | ||
13 | -FIND_PACKAGE( PythonLibs ) | ||
14 | FIND_PACKAGE( Check ) | ||
15 | |||
16 | 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 @@ | |||
1 | require libopensync-plugin_0.36.inc | ||
2 | |||
3 | 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 @@ | |||
1 | LICENSE = "LGPL" | ||
2 | HOMEPAGE = "http://www.opensync.org/" | ||
3 | |||
4 | DEPENDS = "sqlite3 libxml2 glib-2.0 check zlib libxslt" | ||
5 | |||
6 | PR = "r1" | ||
7 | |||
8 | SRC_URI = "http://opensync.org/download/releases/${PV}/libopensync-${PV}.tar.bz2\ | ||
9 | file://cmake.patch;patch=1 \ | ||
10 | file://build-in-src.patch;patch=1 \ | ||
11 | file://no-python-check.patch;patch=1" | ||
12 | |||
13 | inherit cmake pkgconfig | ||
14 | |||
15 | LEAD_SONAME = "libopensync.so" | ||
16 | |||
17 | FILES_${PN} += " ${libdir}/opensync*/formats/*.so \ | ||
18 | ${libdir}/opensync*/osplugin \ | ||
19 | ${datadir}/opensync*/schemas \ | ||
20 | ${datadir}/opensync*/capabilities \ | ||
21 | ${datadir}/opensync*/descriptions \ | ||
22 | " | ||
23 | FILES_${PN}-dbg += " ${libdir}/opensync*/formats/.debug/*.so \ | ||
24 | ${libdir}/opensync*/.debug/osplugin " | ||
25 | |||
26 | do_stage() { | ||
27 | autotools_stage_all | ||
28 | } | ||