diff options
author | Holger Freyther <zecke@selfish.org> | 2007-12-26 19:15:41 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2007-12-26 19:15:41 +0000 |
commit | 61e34ba5fa3d2a224de33f81c7e9930b5d139652 (patch) | |
tree | 7d29185fb78a80484b88fccad7104a9f5e95fbc0 | |
parent | 75c52a3af0a9af10e754198c6ec609ffef775148 (diff) |
packages/qsvn: Experiment with building the same source in different variants
Experiment with having the same source build with different versions of
the underlying toolkit. In the best case we want to be installable in parallel.
-rw-r--r-- | packages/qsvn/qsvn-qte_0.3.0.bb | 3 | ||||
-rw-r--r-- | packages/qsvn/qsvn.inc | 19 | ||||
-rw-r--r-- | packages/qsvn/qsvn_0.3.0.bb | 20 |
3 files changed, 23 insertions, 19 deletions
diff --git a/packages/qsvn/qsvn-qte_0.3.0.bb b/packages/qsvn/qsvn-qte_0.3.0.bb new file mode 100644 index 0000000000..59b46edf9c --- /dev/null +++ b/packages/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 qtopia4core diff --git a/packages/qsvn/qsvn.inc b/packages/qsvn/qsvn.inc new file mode 100644 index 0000000000..edd9bfd951 --- /dev/null +++ b/packages/qsvn/qsvn.inc @@ -0,0 +1,19 @@ +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" + +SRC_URI = "http://download2.berlios.de/qsvn/qsvn-${PV}-src.tar.gz \ + file://build.patch;patch=1" +S = "${WORKDIR}/qsvn-${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/packages/qsvn/qsvn_0.3.0.bb b/packages/qsvn/qsvn_0.3.0.bb index c96976f9b7..db3cc0918d 100644 --- a/packages/qsvn/qsvn_0.3.0.bb +++ b/packages/qsvn/qsvn_0.3.0.bb @@ -1,20 +1,2 @@ -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" - -SRC_URI = "http://download2.berlios.de/qsvn/qsvn-${PV}-src.tar.gz \ - file://build.patch;patch=1" - +require qsvn.inc inherit qt4x11 - -EXTRA_QMAKEVARS_POST += "INCLUDEPATH+=${STAGING_INCDIR}/subversion-1" - -do_install() { - install -d ${D}${bindir} - install -m 0755 bin/qsvn ${D}${bindir} -} |