From patchwork Wed Jul 9 08:08:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Svend Aage Vedstesen X-Patchwork-Id: 368126 X-Patchwork-Delegate: chbs@prevas.dk Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hugin.dotsrc.org (hugin.dotsrc.org [IPv6:2001:878:346::102]) by ozlabs.org (Postfix) with ESMTP id 65A03140092 for ; Wed, 9 Jul 2014 18:09:16 +1000 (EST) Received: from hugin.dotsrc.org (localhost [127.0.0.1]) by hugin.dotsrc.org (Postfix) with ESMTP id 4DF1D3FF04 for ; Wed, 9 Jul 2014 10:09:14 +0200 (CEST) X-Original-To: dev@oe-lite.org Delivered-To: dev@oe-lite.org Received: from mail01.prevas.se (mail01.prevas.se [62.95.78.3]) by hugin.dotsrc.org (Postfix) with ESMTPS id 90A133FD30 for ; Wed, 9 Jul 2014 10:09:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=prevas.dk; i=@prevas.dk; l=1864; q=dns/txt; s=ironport1; t=1404893352; x=1436429352; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=vvxP1U6U8R/Tp8lywvGMEYlE/kdGYznOTd7ofFp9BPo=; b=nS/8iRrffFzp2yLCw7cx78ZbeYxdq0W7GaoQk2h9YtgnHjWbOiRTz+iy EF55nwDIBQWwL7kL+DtHoZ2OV1ObG3JZONbQO2RtfYD6DNU6A72OsUwrP EG+WDDcM3s1YS0jKOepAotP8V2Yok6qPokqgsYCfJJMKOTjY8Ud3v2SJn w=; X-IronPort-AV: E=Sophos;i="5.01,630,1400018400"; d="scan'208";a="4893605" Received: from vmprevas3.prevas.se (HELO smtp.prevas.se) ([172.16.8.103]) by ironport1.prevas.se with ESMTP/TLS/AES128-SHA; 09 Jul 2014 10:09:12 +0200 Received: from svav-VirtualBox.prevas.se (172.16.11.7) by smtp.prevas.se (172.16.8.105) with Microsoft SMTP Server (TLS) id 14.2.347.0; Wed, 9 Jul 2014 10:09:12 +0200 From: Svend Aage Vedstesen To: Subject: [PATCH 04/15] qt4-sdk: Move script to seperate recipe Date: Wed, 9 Jul 2014 10:08:46 +0200 Message-ID: <51d4684a29aa8751459c9ab739a4dda9b5d85fbd.1404891982.git.Svend.Vedstesen@prevas.dk> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: MIME-Version: 1.0 X-Originating-IP: [172.16.11.7] X-BeenThere: dev@oe-lite.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: OE-lite development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dev-bounces@oe-lite.org Errors-To: dev-bounces@oe-lite.org From: Christian Sørensen --- recipes/sdk/qt4-sdk-script.oe | 17 +++++++++++++++++ recipes/sdk/{qt4-sdk => qt4-sdk-script}/setup.sh | 0 recipes/sdk/qt4-sdk.oe | 8 +------- 3 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 recipes/sdk/qt4-sdk-script.oe rename recipes/sdk/{qt4-sdk => qt4-sdk-script}/setup.sh (100%) diff --git a/recipes/sdk/qt4-sdk-script.oe b/recipes/sdk/qt4-sdk-script.oe new file mode 100644 index 0000000..18f2edc --- /dev/null +++ b/recipes/sdk/qt4-sdk-script.oe @@ -0,0 +1,17 @@ +DESCRIPTION = "Setup script needed for the QT4 sdk" + +RECIPE_TYPES = "canadian-cross" + +SRC_URI += "file://setup.sh" + +do_rstage[postfuncs] += "do_rstage_setupsdk" +do_rstage_setupsdk () { + cp ${SRCDIR}/setup.sh ${D} +} + +QT4_TOOLS="host:qmake host:glib host:qmake host:pkg-config" +QT4_TOOLS:HOST_OS_mingw32 = "" + +PACKAGES = "${PN}" +RDEPENDS_${PN} += "${QT4_TOOLS}" +FILES_${PN} = "/setup.sh" diff --git a/recipes/sdk/qt4-sdk/setup.sh b/recipes/sdk/qt4-sdk-script/setup.sh similarity index 100% rename from recipes/sdk/qt4-sdk/setup.sh rename to recipes/sdk/qt4-sdk-script/setup.sh diff --git a/recipes/sdk/qt4-sdk.oe b/recipes/sdk/qt4-sdk.oe index 6de755d..d148e8f 100644 --- a/recipes/sdk/qt4-sdk.oe +++ b/recipes/sdk/qt4-sdk.oe @@ -1,14 +1,7 @@ inherit sdk-image image-qa -SRC_URI += "file://setup.sh" - IMAGE_BASENAME = "oe-lite-qt-sdk-${HOST_ARCH}-${TARGET_ARCH}" -do_rstage[postfuncs] += "do_rstage_setupsdk" -do_rstage_setupsdk () { - cp ${SRCDIR}/setup.sh ${RSTAGE_DIR} -} - #gstreamer RDEPENDS += """ target:gstreamer @@ -21,6 +14,7 @@ target:gst-plugins-base #QT RDEPENDS += """ + qt4-sdk-script target:qt target:qt-dev target:freetype