[packages/phantomjs/dev-2.1] build qt with system libs (from qt5-qtbase)
glen
glen at pld-linux.org
Wed Mar 23 08:38:49 CET 2016
commit eff4371619797b24facf1ce9d149fceaacd20a2e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Mar 23 09:38:42 2016 +0200
build qt with system libs (from qt5-qtbase)
phantomjs.spec | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/phantomjs.spec b/phantomjs.spec
index a2b8bd2..8165759 100644
--- a/phantomjs.spec
+++ b/phantomjs.spec
@@ -98,7 +98,24 @@ rm -r src/linenoise
%{?with_system_qcommandline:%patch7 -p1}
%build
-%{__python} build.py --confirm --release
+qtconfig() {
+ for a in; do
+ echo --qt-config="$a"
+ done
+}
+qtconfig=" \
+ -system-freetype \
+ -system-libjpeg \
+ -system-libpng \
+ -system-pcre \
+ -system-sqlite \
+ -system-xcb \
+ -system-xkbcommon \
+ -system-zlib \
+"
+%{__python} build.py \
+ $(qtconfig $qtconfig) \
+ --confirm --release
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/phantomjs.git/commitdiff/eff4371619797b24facf1ce9d149fceaacd20a2e
More information about the pld-cvs-commit
mailing list