aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/qsvn
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/qsvn
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
downloadopenembedded-709c4d66e0b107ca606941b988bad717c0b45d9b.tar.gz
openembedded-709c4d66e0b107ca606941b988bad717c0b45d9b.tar.bz2
openembedded-709c4d66e0b107ca606941b988bad717c0b45d9b.zip
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/qsvn')
-rw-r--r--recipes/qsvn/files/build.patch23
-rw-r--r--recipes/qsvn/qsvn-qte_0.3.0.bb3
-rw-r--r--recipes/qsvn/qsvn.inc25
-rw-r--r--recipes/qsvn/qsvn_0.3.0.bb2
4 files changed, 53 insertions, 0 deletions
diff --git a/recipes/qsvn/files/build.patch b/recipes/qsvn/files/build.patch
new file mode 100644
index 0000000000..086f532a70
--- /dev/null
+++ b/recipes/qsvn/files/build.patch
@@ -0,0 +1,23 @@
+--- qsvn-0.3.0/qsvn.pro 2007-06-11 00:47:22.514013379 +0200
++++ qsvn-0.3.0/qsvn.pro 2007-06-11 00:47:49.206941206 +0200
+@@ -7,9 +7,6 @@
+ UI_DIR = .ui
+ OBJECTS_DIR = .obj
+
+- INCLUDEPATH += /usr/include/subversion-1 \
+- /usr/include/apr-0
+-
+ LIBS += -lsvn_client-1 \
+ -lsvn_delta-1 \
+ -lsvn_diff-1 \
+@@ -18,8 +15,8 @@
+ -lsvn_repos-1 \
+ -lsvn_subr-1 \
+ -lsvn_wc-1 \
+- -lapr-0 \
+- -laprutil-0
++ -lapr-1 \
++ -laprutil-1
+ }
+
+ win32 {
diff --git a/recipes/qsvn/qsvn-qte_0.3.0.bb b/recipes/qsvn/qsvn-qte_0.3.0.bb
new file mode 100644
index 0000000000..02f59d3cdd
--- /dev/null
+++ b/recipes/qsvn/qsvn-qte_0.3.0.bb
@@ -0,0 +1,3 @@
+require qsvn.inc
+FILESDIR += "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/qsvn"
+inherit qt4e
diff --git a/recipes/qsvn/qsvn.inc b/recipes/qsvn/qsvn.inc
new file mode 100644
index 0000000000..c27bbab114
--- /dev/null
+++ b/recipes/qsvn/qsvn.inc
@@ -0,0 +1,25 @@
+DESCRIPTION = "QSvn is a graphical Subversion client for Linux, UNIX, Mac OS X and Windows. \
+It is written in C++ using the Qt4 toolkit from Trolltech."
+HOMEPAGE = "http://ar.oszine.de/projects/qsvn/"
+AUTHOR = "Andreas Richter, Rajko Albrecht"
+LICENSE = "GPL"
+SECTION = "network"
+DEPENDS = "apr-util subversion"
+PR = "r0"
+
+def vars_from_file(filename):
+ import os
+ return os.path.splitext(os.path.basename(filename))[0]
+
+FN := "${@vars_from_file(bb.data.getVar('FILE',d))}"
+
+SRC_URI = "http://download2.berlios.de/${FN}/${FN}-${PV}-src.tar.gz \
+ file://build.patch;patch=1"
+S = "${WORKDIR}/${FN}-${PV}"
+
+EXTRA_QMAKEVARS_POST += "INCLUDEPATH+=${STAGING_INCDIR}/subversion-1"
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 bin/qsvn ${D}${bindir}/${PN}
+}
diff --git a/recipes/qsvn/qsvn_0.3.0.bb b/recipes/qsvn/qsvn_0.3.0.bb
new file mode 100644
index 0000000000..db3cc0918d
--- /dev/null
+++ b/recipes/qsvn/qsvn_0.3.0.bb
@@ -0,0 +1,2 @@
+require qsvn.inc
+inherit qt4x11