qtnx: split up for qtx11 vs. qte/qtopia
authorHenning Heinold <heinold@inf.fu-berlin.de>
Mon, 8 Sep 2008 18:52:35 +0000 (18:52 +0000)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Mon, 8 Sep 2008 18:52:35 +0000 (18:52 +0000)
* do the same like qsvn and let the image/distribution
  decide which package should be in
* bump PR

packages/qtnx/qtnx-qte_0.9.bb [new file with mode: 0644]
packages/qtnx/qtnx.inc [new file with mode: 0644]
packages/qtnx/qtnx_0.9.bb

diff --git a/packages/qtnx/qtnx-qte_0.9.bb b/packages/qtnx/qtnx-qte_0.9.bb
new file mode 100644 (file)
index 0000000..998666b
--- /dev/null
@@ -0,0 +1,2 @@
+require qtnx.inc
+inherit qtopia4core
diff --git a/packages/qtnx/qtnx.inc b/packages/qtnx/qtnx.inc
new file mode 100644 (file)
index 0000000..b203390
--- /dev/null
@@ -0,0 +1,31 @@
+DESCRIPTION = "This a the freesource nx client, build with qt"
+HOMEPAGE = "http://freenx.berlios.de/"
+SECTION = "libs"
+LICENSE = "GPL"
+PR = "r1"
+
+DEPENDS = "libnxcl"
+
+SRC_URI = "http://download.berlios.de/freenx/freenx-client-${PV}.tar.bz2 \
+          file://pro.patch;patch=1 \
+          file://id-path.patch;patch=1 \
+          file://scroll.patch;patch=1 \
+         "
+
+S = "${WORKDIR}/freenx-client-${PV}/qtnx"
+
+FILES_${PN} += ${datadir}/id.key
+
+do_configure_prepend () {
+
+       rm ${S}/qtnxwin32.pro
+
+}
+
+do_install () {
+       install -d ${D}${bindir}/
+       install -s -m 0755 qtnx ${D}${bindir}/
+       install -d ${D}${datadir}/
+       install -m 0644 id.key ${D}${datadir}/ 
+}
+
index d0ed565..f4e045d 100644 (file)
@@ -1,34 +1,2 @@
-DESCRIPTION = "This a the freesource nx client, build with qt"
-HOMEPAGE = "http://freenx.berlios.de/"
-SECTION = "libs"
-LICENSE = "GPL"
-PR = "r0"
-
-DEPENDS = "libnxcl"
-
-SRC_URI = "http://download.berlios.de/freenx/freenx-client-${PV}.tar.bz2 \
-          file://pro.patch;patch=1 \
-          file://id-path.patch;patch=1 \
-          file://scroll.patch;patch=1 \
-         "
-
-S = "${WORKDIR}/freenx-client-${PV}/qtnx"
-
-inherit qtopia4core
-
-
-FILES_${PN} += ${datadir}/id.key
-
-do_configure_prepend () {
-
-       rm ${S}/qtnxwin32.pro
-
-}
-
-do_install () {
-       install -d ${D}${bindir}/
-       install -s -m 0755 qtnx ${D}${bindir}/
-       install -d ${D}${datadir}/
-       install -m 0644 id.key ${D}${datadir}/ 
-}
-
+require qtnx.inc
+inherit qt4x11