From: "Manuel Vögele" <develop@manuel-voegele.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] python-sip: allow package to be built using Qt5
Date: Fri, 19 Aug 2016 15:42:24 +0200 [thread overview]
Message-ID: <20160819134225.1490-2-develop@manuel-voegele.de> (raw)
In-Reply-To: <20160819134225.1490-1-develop@manuel-voegele.de>
Signed-off-by: Manuel V?gele <develop@manuel-voegele.de>
---
package/python-sip/Config.in | 7 ++++++-
package/python-sip/python-sip.mk | 4 ++++
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/package/python-sip/Config.in b/package/python-sip/Config.in
index 45e48ad..1f8961d 100644
--- a/package/python-sip/Config.in
+++ b/package/python-sip/Config.in
@@ -2,12 +2,17 @@ comment "python-sip needs a toolchain w/ C++, threads"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+comment "python-sip needs qt or qt5"
+ depends on BR2_USE_MMU
+ depends on BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_PACKAGE_QT && !BR2_PACKAGE_QT5
+
config BR2_PACKAGE_PYTHON_SIP
bool "python-sip"
depends on BR2_INSTALL_LIBSTDCPP # qt
depends on BR2_TOOLCHAIN_HAS_THREADS # qt
depends on BR2_USE_MMU # qt
- select BR2_PACKAGE_QT
+ depends on BR2_PACKAGE_QT || BR2_PACKAGE_QT5
help
SIP is a tool that makes it very easy to create Python
bindings for C and C++ libraries. It was originally
diff --git a/package/python-sip/python-sip.mk b/package/python-sip/python-sip.mk
index d13801f..0c0a947 100644
--- a/package/python-sip/python-sip.mk
+++ b/package/python-sip/python-sip.mk
@@ -10,7 +10,11 @@ PYTHON_SIP_SITE = http://downloads.sourceforge.net/project/pyqt/sip/sip-$(PYTHON
PYTHON_SIP_LICENSE = SIP license or GPLv2 or GPLv3
PYTHON_SIP_LICENSE_FILES = LICENSE LICENSE-GPL2 LICENSE-GPL3
+ifeq ($(BR2_PACKAGE_QT5),y)
+PYTHON_SIP_DEPENDENCIES = qt5base
+else
PYTHON_SIP_DEPENDENCIES = qt
+endif
ifeq ($(BR2_PACKAGE_PYTHON),y)
PYTHON_SIP_DEPENDENCIES += python
--
2.1.4
next prev parent reply other threads:[~2016-08-19 13:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-19 13:42 [Buildroot] [PATCH 0/2] PyQt5 package Manuel Vögele
2016-08-19 13:42 ` Manuel Vögele [this message]
2016-08-19 13:58 ` [Buildroot] [PATCH 1/2] python-sip: allow package to be built using Qt5 Thomas Petazzoni
2016-08-19 13:42 ` [Buildroot] [PATCH 2/2] python-pyqt5: new package Manuel Vögele
2016-08-19 14:07 ` Thomas Petazzoni
2016-08-19 14:40 ` Manuel Vögele
2016-08-19 14:48 ` Thomas Petazzoni
2016-08-23 9:26 ` [Buildroot] [PATCH v2] " Manuel Vögele
2016-09-20 19:14 ` Thomas Petazzoni
2016-09-22 20:54 ` Arnout Vandecappelle
2016-09-27 14:45 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160819134225.1490-2-develop@manuel-voegele.de \
--to=develop@manuel-voegele.de \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox