summaryrefslogtreecommitdiff
path: root/meta/packages/opensync
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-06-18 08:36:46 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-06-18 08:36:46 +0000
commitbd9cc19e51f79bc1f20daad1944b658525d63efa (patch)
tree6da30069d30f8f4d8fa7973ca5667928f4497f45 /meta/packages/opensync
parent42243f8179be6d19db47ff1b1d1201d590b2978d (diff)
downloadopenembedded-core-bd9cc19e51f79bc1f20daad1944b658525d63efa.tar.gz
openembedded-core-bd9cc19e51f79bc1f20daad1944b658525d63efa.tar.bz2
openembedded-core-bd9cc19e51f79bc1f20daad1944b658525d63efa.zip
libopensync: added check to dependencies and patch to get rid of Python
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4693 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/opensync')
-rw-r--r--meta/packages/opensync/libopensync-0.36/no-python-check.patch18
-rw-r--r--meta/packages/opensync/libopensync_0.36.bb5
2 files changed, 21 insertions, 2 deletions
diff --git a/meta/packages/opensync/libopensync-0.36/no-python-check.patch b/meta/packages/opensync/libopensync-0.36/no-python-check.patch
new file mode 100644
index 0000000000..08a53cb9eb
--- /dev/null
+++ b/meta/packages/opensync/libopensync-0.36/no-python-check.patch
@@ -0,0 +1,18 @@
+---
+ CMakeLists.txt | 1 -
+ 1 file changed, 1 deletion(-)
+
+--- libopensync-0.36.orig/CMakeLists.txt
++++ libopensync-0.36/CMakeLists.txt
+@@ -26,11 +26,10 @@ INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_BIN
+
+ FIND_PACKAGE( GLIB2 REQUIRED )
+ FIND_PACKAGE( Sqlite3 REQUIRED )
+ FIND_PACKAGE( LibXml2 REQUIRED )
+ FIND_PACKAGE( SWIG )
+-FIND_PACKAGE( PythonLibs )
+ FIND_PACKAGE( Check )
+
+ ADD_SUBDIRECTORY( opensync )
+ ADD_SUBDIRECTORY( formats )
+ ADD_SUBDIRECTORY( tools )
diff --git a/meta/packages/opensync/libopensync_0.36.bb b/meta/packages/opensync/libopensync_0.36.bb
index 9fad1b3031..f41cf89b5f 100644
--- a/meta/packages/opensync/libopensync_0.36.bb
+++ b/meta/packages/opensync/libopensync_0.36.bb
@@ -1,11 +1,12 @@
LICENSE = "LGPL"
HOMEPAGE = "http://www.opensync.org/"
-DEPENDS = "sqlite3 libxml2 glib-2.0"
+DEPENDS = "sqlite3 libxml2 glib-2.0 check"
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://build-in-src.patch;patch=1 \
+ file://no-python-check.patch;patch=1"
inherit cmake pkgconfig