From patchwork Fri Sep 20 05:43:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?RmF0aWggQcWfxLFjxLE=?= X-Patchwork-Id: 276234 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id D82672C00D6 for ; Fri, 20 Sep 2013 15:44:04 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4B4488BF63; Fri, 20 Sep 2013 05:44:03 +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 l9RA-qpYYudF; Fri, 20 Sep 2013 05:44:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 87F898C045; Fri, 20 Sep 2013 05:43:58 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 186ED1CE694 for ; Fri, 20 Sep 2013 05:43:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0FBFA8CB91 for ; Fri, 20 Sep 2013 05:43:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RujKoXwVTNpH for ; Fri, 20 Sep 2013 05:43:51 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4F18A8C37F for ; Fri, 20 Sep 2013 05:43:51 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id m15so7891666wgh.1 for ; Thu, 19 Sep 2013 22:43:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=PO9GHAK60tuZexTIflQHDdu90YpkuoMuOSvqCPyT7ic=; b=uuOmcBmPpeOqBKCHdm0rUAdU5G4sEkWL6M4XOUIwNc9v06pW13KLUrE9cvgeM6Hq6L z89OVPsc2N82O7nc4R6eOYM4Ut6xvDM0SUWLOE+iL/iXSqeCqQokrWZyZC+j0d6Ywhzl fExBbW3UIlmOkuxaPoCIOkQalpBofbcAUiMaSixUd4evUuTydZVNRyiIOnIXwFJcYpVy GAjDdxrFrx2Yt8SMKE/H1jGfP0200QRIMQGw3TCMsgwgGxGyT+xgEJ+Z0pDvI31yfxh3 qD7UJbTqXM4bX2QFPaobULZgivbC3JJgyZDg2vlhDtMEvkzRPfMKl2qT0IIIFGvL81S7 qeLQ== X-Received: by 10.181.11.163 with SMTP id ej3mr1198176wid.47.1379655829874; Thu, 19 Sep 2013 22:43:49 -0700 (PDT) Received: from viko.viko.com.tr ([195.33.218.166]) by mx.google.com with ESMTPSA id ev4sm1632045wib.7.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Sep 2013 22:43:49 -0700 (PDT) From: =?UTF-8?q?Fatih=20A=C5=9F=C4=B1c=C4=B1?= To: buildroot@busybox.net Date: Fri, 20 Sep 2013 08:43:14 +0300 Message-Id: <1379655795-22429-6-git-send-email-fatih.asici@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1379655795-22429-1-git-send-email-fatih.asici@gmail.com> References: <1379655795-22429-1-git-send-email-fatih.asici@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 5/6] qt5x11extras: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Fatih Aşıcı --- package/qt5/Config.in | 1 + package/qt5/qt5x11extras/Config.in | 11 ++++++++ package/qt5/qt5x11extras/qt5x11extras.mk | 40 ++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 package/qt5/qt5x11extras/Config.in create mode 100644 package/qt5/qt5x11extras/qt5x11extras.mk diff --git a/package/qt5/Config.in b/package/qt5/Config.in index fa10155..87b869a 100644 --- a/package/qt5/Config.in +++ b/package/qt5/Config.in @@ -28,5 +28,6 @@ source "package/qt5/qt5sensors/Config.in" source "package/qt5/qt5serialport/Config.in" source "package/qt5/qt5svg/Config.in" source "package/qt5/qt5webkit/Config.in" +source "package/qt5/qt5x11extras/Config.in" source "package/qt5/qt5xmlpatterns/Config.in" endif diff --git a/package/qt5/qt5x11extras/Config.in b/package/qt5/qt5x11extras/Config.in new file mode 100644 index 0000000..79ff9b9 --- /dev/null +++ b/package/qt5/qt5x11extras/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_QT5X11EXTRAS + bool "qt5x11extras" + select BR2_PACKAGE_QT5BASE_WIDGETS + depends on BR2_PACKAGE_QT5BASE_XCB + help + Qt is a cross-platform application and UI framework for + developers using C++. + + This package corresponds to the qt5x11extras module. + + http://qt-project.org diff --git a/package/qt5/qt5x11extras/qt5x11extras.mk b/package/qt5/qt5x11extras/qt5x11extras.mk new file mode 100644 index 0000000..237fe32 --- /dev/null +++ b/package/qt5/qt5x11extras/qt5x11extras.mk @@ -0,0 +1,40 @@ +################################################################################ +# +# qt5x11extras +# +################################################################################ + +QT5X11EXTRAS_VERSION = $(QT5_VERSION) +QT5X11EXTRAS_SITE = $(QT5_SITE) +QT5X11EXTRAS_SOURCE = qtx11extras-opensource-src-$(QT5X11EXTRAS_VERSION).tar.xz +QT5X11EXTRAS_DEPENDENCIES = qt5base +QT5X11EXTRAS_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y) +QT5X11EXTRAS_LICENSE = LGPLv2.1 or GPLv3.0 +QT5X11EXTRAS_LICENSE_FILES = LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt +else +QT5X11EXTRAS_LICENSE = Commercial license +QT5X11EXTRAS_REDISTRIBUTE = NO +endif + +define QT5X11EXTRAS_CONFIGURE_CMDS + (cd $(@D); $(HOST_DIR)/usr/bin/qmake) +endef + +define QT5X11EXTRAS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define QT5X11EXTRAS_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install + $(QT5_LA_PRL_FILES_FIXUP) +endef + +ifeq ($(BR2_PREFER_STATIC_LIB),) +define QT5X11EXTRAS_INSTALL_TARGET_CMDS + cp -dpf $(STAGING_DIR)/usr/lib/libQt5X11Extras.so.* $(TARGET_DIR)/usr/lib +endef +endif + +$(eval $(generic-package))