From patchwork Wed Dec 23 17:04:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Corjon X-Patchwork-Id: 560646 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 5C5A6140C01 for ; Thu, 24 Dec 2015 04:04:42 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id ED52833AEE; Wed, 23 Dec 2015 17:04:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4BQ6SkcQPD2f; Wed, 23 Dec 2015 17:04:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id A3AF333ADD; Wed, 23 Dec 2015 17:04:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 7F5961C16B0 for ; Wed, 23 Dec 2015 17:04:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7B5C18475D for ; Wed, 23 Dec 2015 17:04:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LHQS0zqx6unm for ; Wed, 23 Dec 2015 17:04:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 37E4182488 for ; Wed, 23 Dec 2015 17:04:35 +0000 (UTC) Received: by mail-wm0-f44.google.com with SMTP id p187so156145889wmp.0 for ; Wed, 23 Dec 2015 09:04:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id; bh=a+F0HLE8HcO0YXmj/rK7/zGzI+udghppfJz9FJHydlE=; b=hCFYeKcnUueXwXduBDI9Zsd8J2aCbNjL/uen0VMqFlaPIpbLUUnF8mzjsq4rNlLPTI Ijax3xapa0d8+A3NFjmnM4Q1zwMyqpAvcHv/2NwGvYdCmWdVN7wBE0ghN0y8aGdd1qgj MPGKRoor5aiVoxTX9sdQ/vp+JtZ/5MRJKJHq+0pB01zU8QLIGK+XbOq0I/VpyE42RKqN PRX1i1KfmePYIsC7ZuUIHsmXCR0y1wuUH+iHvY3NseIpOr28DLvlOI3NryjOnwT2VA2u tMJPzXrNzxxua4gzoaSQR/y5NogBQ+8g3+L7oRfYkojFJTzAyamV1RQ0cHfv0Ed1I7Hc xxEg== X-Received: by 10.194.246.132 with SMTP id xw4mr35549298wjc.75.1450890273717; Wed, 23 Dec 2015 09:04:33 -0800 (PST) Received: from mic341-linux.sinters-int.fr ([82.236.247.27]) by smtp.gmail.com with ESMTPSA id dl8sm38255908wjb.29.2015.12.23.09.04.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 23 Dec 2015 09:04:32 -0800 (PST) From: Julien Corjon To: buildroot@buildroot.org Date: Wed, 23 Dec 2015 18:04:05 +0100 Message-Id: <1450890245-16195-1-git-send-email-corjon.j@ecagroup.com> X-Mailer: git-send-email 2.5.0 Cc: ECA SINTERS software Subject: [Buildroot] [PATCH v2] qt5/qt5webchannel: add qwebchannel.js installation in /var/www X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" To use webchannel in an application qwebchannel.js is needed but this file was not installed. Signed-off-by: Julien Corjon Reviewed-by: "Yann E. MORIN" --- Changes v1 -> v2: - Replace installation path choise with /var/www (suggested by Thomas) --- package/qt5/qt5webchannel/qt5webchannel.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/qt5/qt5webchannel/qt5webchannel.mk b/package/qt5/qt5webchannel/qt5webchannel.mk index cfb6da9..bd4257f 100644 --- a/package/qt5/qt5webchannel/qt5webchannel.mk +++ b/package/qt5/qt5webchannel/qt5webchannel.mk @@ -35,6 +35,11 @@ define QT5WEBCHANNEL_INSTALL_STAGING_CMDS $(QT5_LA_PRL_FILES_FIXUP) endef +define QT5WEBCHANNEL_INSTALL_TARGET_JAVASCRIPT + $(INSTALL) -m 0644 -D $(@D)/src/webchannel/qwebchannel.js \ + $(TARGET_DIR)/var/www/qwebchannel.js +endef + ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y) define QT5WEBCHANNEL_INSTALL_TARGET_QMLS cp -dpfr $(STAGING_DIR)/usr/qml/QtWebChannel $(TARGET_DIR)/usr/qml/ @@ -56,6 +61,7 @@ endif define QT5WEBCHANNEL_INSTALL_TARGET_CMDS $(QT5WEBCHANNEL_INSTALL_TARGET_LIBS) $(QT5WEBCHANNEL_INSTALL_TARGET_QMLS) + $(QT5WEBCHANNEL_INSTALL_TARGET_JAVASCRIPT) endef $(eval $(generic-package))