add linux-g++-tizen/{qplatformdefs.h,qmake.conf} sandbox/ipalachev/tizen
authorIlya Palachev <i.palachev@samsung.com>
Tue, 21 Jul 2015 13:31:07 +0000 (16:31 +0300)
committerIlya Palachev <i.palachev@samsung.com>
Thu, 23 Jul 2015 10:22:55 +0000 (13:22 +0300)
Signed-off-by: Ilya Palachev <i.palachev@samsung.com>
mkspecs/devices/linux-g++-tizen/qmake.conf [new file with mode: 0644]
mkspecs/devices/linux-g++-tizen/qplatformdefs.h [new file with mode: 0644]
packaging/qt5.spec

diff --git a/mkspecs/devices/linux-g++-tizen/qmake.conf b/mkspecs/devices/linux-g++-tizen/qmake.conf
new file mode 100644 (file)
index 0000000..23f6b25
--- /dev/null
@@ -0,0 +1,6 @@
+include(../../common/linux-g++-tizen.conf)
+include(../../common/g++-unix.conf)
+include(../../common/linux.conf)
+include(../../common/linux_device_pre.conf)
+
+load(qt_config)
diff --git a/mkspecs/devices/linux-g++-tizen/qplatformdefs.h b/mkspecs/devices/linux-g++-tizen/qplatformdefs.h
new file mode 100644 (file)
index 0000000..ebd59e2
--- /dev/null
@@ -0,0 +1,34 @@
+/****************************************************************************
+**
+** Copyright (©) 2015  Tomasz Olszak <olszak.tomasz@gmail.com>
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the qmake spec of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL21$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 or version 3 as published by the Free
+** Software Foundation and appearing in the file LICENSE.LGPLv21 and
+** LICENSE.LGPLv3 included in the packaging of this file. Please review the
+** following information to ensure the GNU Lesser General Public License
+** requirements will be met: https://www.gnu.org/licenses/lgpl.html and
+** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Digia gives you certain additional
+** rights. These rights are described in the Digia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "../../linux-g++/qplatformdefs.h"
index b18faa9ad7d1882cee15ed02841654d6aca59554..a71e7a20c8da480c4fa6ae72d4485d1b8e4644f0 100644 (file)
@@ -263,6 +263,7 @@ Requires:   %{name}-qtcore = %{version}-%{release}
 %description plugin-platform-offscreen
 This package contains the offscreen platform plugin
 
+%ifnarch aarch64
 %package plugin-platform-eglfs
 Summary:    Eglfs platform plugin
 Group:      Base/Libraries
@@ -278,6 +279,7 @@ Requires:   %{name}-qtcore = %{version}-%{release}
 
 %description plugin-platform-minimalegl
 This package contains the minimalegl platform plugin
+%endif
 
 %package plugin-platform-linuxfb
 Summary:    Linux framebuffer platform plugin
@@ -391,7 +393,9 @@ This package contains the QtGui library
 Summary:    Development files for QtGui
 Group:      Base/Libraries
 Requires:   %{name}-qtgui = %{version}-%{release}
+%ifnarch aarch64
 Requires:   %{name}-qtopengl-devel
+%endif
 
 %description qtgui-devel
 This package contains the files necessary to develop
@@ -417,6 +421,7 @@ Requires:   %{name}-qtnetwork = %{version}-%{release}
 This package contains the files necessary to develop
 applications that use QtNetwork
 
+%ifnarch aarch64
 %package qtopengl
 Summary:    The QtOpenGL library
 Group:      Base/Libraries
@@ -440,6 +445,7 @@ Requires:   pkgconfig(egl)
 %description qtopengl-devel
 This package contains the files necessary to develop
 applications that use QtOpenGL
+%endif
 
 
 %package qtsql
@@ -719,6 +725,10 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
 %fdupes %{buildroot}%{_includedir}
 %fdupes %{buildroot}%{_datadir}
 
+%ifarch aarch64
+rm -rf %{buildroot}%{_datadir}/qt5/mkspecs/android-g++
+%endif
+
 
 #### Pre/Post section
 
@@ -752,10 +762,12 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
 %postun qttest
 /sbin/ldconfig
 
+%ifnarch aarch64
 %post qtopengl
 /sbin/ldconfig
 %postun qtopengl
 /sbin/ldconfig
+%endif
 
 %post qtxml
 /sbin/ldconfig
@@ -918,6 +930,7 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
 %{_datadir}/qt5/mkspecs/modules/qt_lib_network_private.pri
 
 
+%ifnarch aarch64
 %files qtopengl
 %defattr(-,root,root,-)
 %manifest %{name}.manifest
@@ -943,6 +956,7 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
 %{_datadir}/qt5/mkspecs/android-g++/qplatformdefs.h
 %{_datadir}/qt5/mkspecs/modules/qt_lib_openglextensions.pri
 %{_datadir}/qt5/mkspecs/modules/qt_lib_openglextensions_private.pri
+%endif
 
 
 %files qtsql
@@ -1105,6 +1119,7 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
 %manifest %{name}.manifest
 %{_libdir}/qt5/plugins/platforms/libqoffscreen.so
 
+%ifnarch aarch64
 %files plugin-platform-eglfs
 %defattr(-,root,root,-)
 %manifest %{name}.manifest
@@ -1114,6 +1129,7 @@ ln -s %{_sysconfdir}/xdg/qtchooser/5.conf %{buildroot}%{_sysconfdir}/xdg/qtchoos
 %defattr(-,root,root,-)
 %manifest %{name}.manifest
 %{_libdir}/qt5/plugins/platforms/libqminimalegl.so
+%endif
 
 %files plugin-platform-linuxfb
 %defattr(-,root,root,-)