2013-03-02 01:46:59 +00:00
|
|
|
# $Id: PKGBUILD 179039 2013-03-01 20:22:01Z andrea $
|
2015-03-01 16:00:26 +00:00
|
|
|
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
|
|
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
2013-03-02 01:46:59 +00:00
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - removed libfbclient, ibase
|
|
|
|
# - no x86/neon optimizations
|
2013-07-07 22:22:28 +00:00
|
|
|
# - restricted makeflags to -j3
|
2013-04-11 14:08:05 +00:00
|
|
|
# - enabled opengl es2, mesa makedepend for headers
|
2013-06-07 19:11:41 +00:00
|
|
|
# - added Raspberry Pi patches for armv6h
|
2013-07-07 22:22:28 +00:00
|
|
|
# - icu makedepend so qtwebkit can build
|
2014-12-13 22:19:54 +00:00
|
|
|
# - drop webengine package and skip in configure
|
2013-03-02 01:46:59 +00:00
|
|
|
|
2014-07-19 14:49:31 +00:00
|
|
|
# Arno Rehn <arno@arnorehn.de>
|
|
|
|
# - fix Raspberry Pi EGL/GLESv2 build
|
|
|
|
|
2013-03-02 01:46:59 +00:00
|
|
|
pkgbase=qt5
|
|
|
|
pkgname=('qt5-base'
|
2013-12-12 17:14:38 +00:00
|
|
|
'qt5-connectivity'
|
2013-03-02 01:46:59 +00:00
|
|
|
'qt5-declarative'
|
2013-08-29 13:43:35 +00:00
|
|
|
'qt5-doc'
|
2014-05-28 00:50:28 +00:00
|
|
|
'qt5-enginio'
|
2013-03-02 01:46:59 +00:00
|
|
|
'qt5-graphicaleffects'
|
|
|
|
'qt5-imageformats'
|
2013-12-12 17:14:38 +00:00
|
|
|
'qt5-location'
|
2013-03-02 01:46:59 +00:00
|
|
|
'qt5-multimedia'
|
|
|
|
'qt5-quick1'
|
2013-07-06 19:22:08 +00:00
|
|
|
'qt5-quickcontrols'
|
2013-03-02 01:46:59 +00:00
|
|
|
'qt5-script'
|
2013-07-06 19:22:08 +00:00
|
|
|
'qt5-sensors'
|
|
|
|
'qt5-serialport'
|
2013-03-02 01:46:59 +00:00
|
|
|
'qt5-svg'
|
|
|
|
'qt5-tools'
|
|
|
|
'qt5-translations'
|
2014-12-12 14:16:19 +00:00
|
|
|
'qt5-wayland'
|
|
|
|
'qt5-webchannel'
|
2013-03-02 01:46:59 +00:00
|
|
|
'qt5-webkit'
|
2014-05-28 00:50:28 +00:00
|
|
|
'qt5-websockets'
|
2013-07-06 19:22:08 +00:00
|
|
|
'qt5-x11extras'
|
2013-03-02 01:46:59 +00:00
|
|
|
'qt5-xmlpatterns')
|
2015-03-01 16:00:26 +00:00
|
|
|
pkgver=5.4.1
|
2015-05-10 14:37:39 +00:00
|
|
|
pkgrel=6
|
2013-03-02 01:46:59 +00:00
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url='http://qt-project.org/'
|
2013-08-28 00:38:16 +00:00
|
|
|
license=('GPL3' 'LGPL' 'FDL' 'custom')
|
2013-03-02 01:46:59 +00:00
|
|
|
makedepends=('libxcb' 'xcb-proto' 'xcb-util' 'xcb-util-image' 'xcb-util-wm' 'xcb-util-keysyms'
|
2014-12-12 14:16:19 +00:00
|
|
|
'mesa' 'at-spi2-core' 'alsa-lib' 'gst-plugins-base-libs' 'gstreamer0.10-base-plugins'
|
2013-03-02 01:46:59 +00:00
|
|
|
'libjpeg-turbo' 'cups' 'libpulse' 'hicolor-icon-theme' 'desktop-file-utils'
|
2014-12-12 14:16:19 +00:00
|
|
|
'postgresql-libs' 'libmariadbclient' 'sqlite' 'unixodbc' 'libfbclient' 'libmng'
|
|
|
|
'python2' 'ruby' 'gperf' 'libxslt' 'libxcomposite' 'fontconfig' 'bluez-libs'
|
|
|
|
'openal' 'gtk2' 'libxkbcommon-x11' 'mtdev' 'harfbuzz' 'libwebp' 'leveldb'
|
|
|
|
'geoclue' 'pciutils' 'nss' 'gstreamer0.10-bad')
|
2013-03-02 01:46:59 +00:00
|
|
|
groups=('qt' 'qt5')
|
|
|
|
_pkgfqn="qt-everywhere-opensource-src-${pkgver}"
|
2014-12-12 14:16:19 +00:00
|
|
|
source=("http://download.qt-project.org/official_releases/qt/${pkgver%.*}/${pkgver}/single/${_pkgfqn}.tar.xz"
|
2015-05-10 14:37:39 +00:00
|
|
|
'0001-Revert-Rotate-images-according-to-Exif-orientation.patch'
|
|
|
|
'0001-Require-fPIC-instead-of-just-fPIE-for-reduce-relocat.patch'
|
2015-05-06 18:23:48 +00:00
|
|
|
'assistant.desktop' 'designer.desktop' 'linguist.desktop' 'qdbusviewer.desktop' 'glib-2.43.patch' 'qlockfile-deadlock.patch' 'qnam-corruption.patch'
|
2014-01-31 10:41:57 +00:00
|
|
|
'rpi.patch'
|
2014-06-26 00:11:17 +00:00
|
|
|
'qt5webkit-0002-Fix-QtWebKit-build-on-ARM-softfp.patch')
|
2015-03-01 16:00:26 +00:00
|
|
|
md5sums=('7afb5f9235d8d42b5b6e832442a32a5d'
|
2015-05-10 14:37:39 +00:00
|
|
|
'fb1459f325a15b15b18afeac51173a1d'
|
|
|
|
'ac8fa252868161c676d876b614e24436'
|
2013-07-06 19:22:08 +00:00
|
|
|
'b2897dd6a2967bccf8f10e397aafee55'
|
2015-03-01 16:00:26 +00:00
|
|
|
'76e150b20178d2d43801f7367232e5f7'
|
2013-07-06 19:22:08 +00:00
|
|
|
'188da8f4c87316e730ebf1c6217bf5a0'
|
|
|
|
'322b419b16c75d4de0ee7ad0a246caa1'
|
2015-04-09 20:17:36 +00:00
|
|
|
'bf756a3061e1b30b28df85dcf0c90df3'
|
2015-05-01 02:00:54 +00:00
|
|
|
'30d219401f77e536d215addc420b634c'
|
2015-05-06 18:23:48 +00:00
|
|
|
'd0b070d6f211948ef4842b46542b9e4f'
|
2014-12-12 15:27:09 +00:00
|
|
|
'9fe115d2c1d4778b8cb8e7f1b2e2bca6'
|
2014-09-17 13:29:49 +00:00
|
|
|
'd55ad1f1c90725834b44eada5db4e401')
|
2013-03-02 01:46:59 +00:00
|
|
|
|
2013-07-06 19:22:08 +00:00
|
|
|
prepare() {
|
2013-03-02 01:46:59 +00:00
|
|
|
cd ${_pkgfqn}
|
2015-04-09 20:17:36 +00:00
|
|
|
|
2015-05-10 14:37:39 +00:00
|
|
|
# https://bugreports.qt.io/browse/QTBUG-37946
|
|
|
|
(cd qtbase; patch -p1 -i "$srcdir/0001-Revert-Rotate-images-according-to-Exif-orientation.patch")
|
|
|
|
|
|
|
|
# https://bugreports.qt.io/browse/QTBUG-45755
|
|
|
|
(cd qtbase; patch -p1 -i "$srcdir/0001-Require-fPIC-instead-of-just-fPIE-for-reduce-relocat.patch")
|
|
|
|
|
2015-04-09 20:17:36 +00:00
|
|
|
# for glib 2.43+ https://bugreports.qt.io/browse/QTBUG-44714
|
|
|
|
(cd qtwebkit; patch -p1 -i "$srcdir/glib-2.43.patch")
|
2015-05-01 02:00:54 +00:00
|
|
|
|
|
|
|
# https://bugs.kde.org/show_bug.cgi?id=345901
|
|
|
|
(cd qtbase; patch -p1 -i "$srcdir/qlockfile-deadlock.patch")
|
2014-06-20 03:17:31 +00:00
|
|
|
|
2015-05-06 18:23:48 +00:00
|
|
|
# https://codereview.qt-project.org/#/c/110150/
|
|
|
|
(cd qtbase; patch -p1 -i "$srcdir/qnam-corruption.patch")
|
|
|
|
|
2013-03-28 19:29:42 +00:00
|
|
|
MAKEFLAGS="-j3"
|
2013-03-26 21:40:17 +00:00
|
|
|
|
2014-01-01 17:51:58 +00:00
|
|
|
# Fix building on armv5
|
|
|
|
cd qtwebkit
|
|
|
|
patch -p1 -i "${srcdir}"/qt5webkit-0002-Fix-QtWebKit-build-on-ARM-softfp.patch
|
|
|
|
cd ..
|
|
|
|
|
2013-07-07 22:22:28 +00:00
|
|
|
# Raspberry Pi
|
2014-12-13 23:44:40 +00:00
|
|
|
# if [ "$CARCH" == 'armv6h' ]; then
|
|
|
|
# # Removes pkg-config checks for egl and glesv2 which would interfere with our custom paths below.
|
|
|
|
# # Better solution would be to provide a raspberrypi-libgl package which provides 'libgl' and pkg-config modules
|
|
|
|
# # for the egl, glesv2 libs in /opt/vc/. Not sure if that would break other packages, though. So I'm leaving it
|
|
|
|
# # at this for now.
|
|
|
|
# patch -p1 -i "${srcdir}"/rpi.patch
|
|
|
|
#
|
|
|
|
# # VideoCore libs and includes
|
|
|
|
# vc_include_dir="/opt/vc/include /opt/vc/include/interface/vcos/pthreads /opt/vc/include/interface/vmcs_host/linux"
|
|
|
|
# vc_lib_dir="/opt/vc/lib"
|
|
|
|
# sed -i "/^QMAKE_INCDIR_OPENGL\s/s|=|= $vc_include_dir|g" qtbase/mkspecs/common/linux.conf
|
|
|
|
# sed -i "/^QMAKE_LIBDIR_OPENGL\s/s|=|= $vc_lib_dir|g" qtbase/mkspecs/common/linux.conf
|
|
|
|
#
|
|
|
|
# sed -i "/^QMAKE_INCDIR_EGL\s/s|=|= $vc_include_dir|g" qtbase/mkspecs/common/linux.conf
|
|
|
|
# sed -i "/^QMAKE_LIBDIR_EGL\s/s|=|= $vc_lib_dir|g" qtbase/mkspecs/common/linux.conf
|
|
|
|
# sed -i "/^QMAKE_LIBS_EGL\s/s|= -lEGL|= -lEGL -lGLESv2|g" qtbase/mkspecs/common/linux.conf
|
|
|
|
# sed -i "/^QMAKE_LIBS_OPENGL_ES2\s/s|= -lGLESv2|= -lEGL -lGLESv2|g" qtbase/mkspecs/common/linux.conf
|
|
|
|
#
|
|
|
|
# echo "EGLFS_PLATFORM_HOOKS_SOURCES = $PWD/qtbase/mkspecs/devices/linux-rasp-pi-g++/qeglfshooks_pi.cpp" >> qtbase/mkspecs/common/linux.conf
|
|
|
|
# echo "EGLFS_PLATFORM_HOOKS_LIBS = -lbcm_host" >> qtbase/mkspecs/common/linux.conf
|
|
|
|
# fi
|
2013-03-02 01:46:59 +00:00
|
|
|
|
|
|
|
sed -i "s|-O2|${CXXFLAGS}|" qtbase/mkspecs/common/{g++,gcc}-base.conf
|
|
|
|
sed -i "/^QMAKE_LFLAGS_RPATH/s| -Wl,-rpath,||g" qtbase/mkspecs/common/gcc-base-unix.conf
|
|
|
|
sed -i "/^QMAKE_LFLAGS\s/s|+=|+= ${LDFLAGS}|g" qtbase/mkspecs/common/gcc-base.conf
|
|
|
|
|
|
|
|
# Use python2 for Python 2.x
|
2014-12-12 14:16:19 +00:00
|
|
|
find . -name '*.py' -exec sed -i \
|
|
|
|
's|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} +
|
|
|
|
|
2015-01-20 19:51:02 +00:00
|
|
|
# in qtwebengine there are still a lot of relative calls which need a workaround
|
2014-12-12 14:16:19 +00:00
|
|
|
mkdir "${srcdir}"/python2-path
|
|
|
|
ln -s /usr/bin/python2 "${srcdir}"/python2-path/python
|
2013-07-06 19:22:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${_pkgfqn}
|
2014-06-20 03:11:53 +00:00
|
|
|
|
2013-07-06 19:22:08 +00:00
|
|
|
export QTDIR="${srcdir}"/${_pkgfqn}
|
2013-08-29 13:43:35 +00:00
|
|
|
export LD_LIBRARY_PATH="${QTDIR}"/qtbase/lib:"${QTDIR}"/qttools/lib:"${LD_LIBRARY_PATH}"
|
|
|
|
export QT_PLUGIN_PATH="${QTDIR}"/qtbase/plugins
|
2013-04-11 14:08:05 +00:00
|
|
|
|
2015-01-20 12:42:57 +00:00
|
|
|
# python2 workaround
|
2014-12-12 14:16:19 +00:00
|
|
|
export PATH="${srcdir}/python2-path:$PATH"
|
|
|
|
|
2013-07-06 19:22:08 +00:00
|
|
|
PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource \
|
2013-03-02 01:46:59 +00:00
|
|
|
-prefix /usr \
|
2013-04-11 14:08:05 +00:00
|
|
|
-bindir /usr/lib/qt/bin \
|
2013-03-02 01:46:59 +00:00
|
|
|
-docdir /usr/share/doc/qt \
|
2013-04-11 14:08:05 +00:00
|
|
|
-headerdir /usr/include/qt \
|
2013-03-02 01:46:59 +00:00
|
|
|
-archdatadir /usr/lib/qt \
|
|
|
|
-datadir /usr/share/qt \
|
|
|
|
-sysconfdir /etc/xdg \
|
|
|
|
-examplesdir /usr/share/doc/qt/examples \
|
|
|
|
-plugin-sql-{psql,mysql,sqlite,odbc} \
|
|
|
|
-system-sqlite \
|
|
|
|
-openssl-linked \
|
|
|
|
-nomake examples \
|
|
|
|
-nomake tests \
|
|
|
|
-no-rpath \
|
|
|
|
-optimized-qmake \
|
|
|
|
-dbus-linked \
|
2014-05-28 00:50:28 +00:00
|
|
|
-system-harfbuzz \
|
|
|
|
-journald \
|
2013-03-02 01:46:59 +00:00
|
|
|
-no-sse2 \
|
|
|
|
-no-sse3 \
|
|
|
|
-no-ssse3 \
|
|
|
|
-no-sse4.1 \
|
|
|
|
-no-sse4.2 \
|
|
|
|
-no-avx \
|
|
|
|
-no-avx2 \
|
2014-12-13 22:19:54 +00:00
|
|
|
-opengl es2 \
|
|
|
|
-skip webengine
|
2013-03-02 01:46:59 +00:00
|
|
|
|
|
|
|
make
|
2013-08-29 13:43:35 +00:00
|
|
|
|
2015-01-20 12:42:57 +00:00
|
|
|
# Fix docs build when qt is not installed
|
|
|
|
sed -i "s|/usr/lib/qt/bin/qdoc|${QTDIR}/qtbase/bin/qdoc|g" \
|
|
|
|
"${QTDIR}"/qtbase/qmake/Makefile.qmake-docs
|
|
|
|
find "${QTDIR}" -name Makefile \
|
|
|
|
-exec sed -i "s|/usr/lib/qt/bin/qdoc|${QTDIR}/qtbase/bin/qdoc|g" {} +
|
|
|
|
sed -i "s|/usr/lib/qt/bin/qhelpgenerator|${QTDIR}/qttools/bin/qhelpgenerator|g" \
|
|
|
|
"${QTDIR}"/qtbase/qmake/Makefile.qmake-docs
|
|
|
|
find "${QTDIR}" -name Makefile \
|
|
|
|
-exec sed -i "s|/usr/lib/qt/bin/qhelpgenerator|${QTDIR}/qttools/bin/qhelpgenerator|g" {} +
|
|
|
|
sed -i "s|/usr/lib/qt/bin/qhelpgenerator|${QTDIR}/qttools/bin/qhelpgenerator|g" \
|
|
|
|
qtwebkit/Source/Makefile.api
|
|
|
|
find "${QTDIR}" -name Makefile \
|
|
|
|
-exec sed -i "s|/usr/lib/qt/bin/qmlplugindump|${QTDIR}/qtdeclarative/bin/qmlplugindump|g" {} +
|
2013-08-29 13:43:35 +00:00
|
|
|
|
|
|
|
make docs
|
2013-03-02 01:46:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_qt5-base() {
|
2013-03-04 01:10:31 +00:00
|
|
|
pkgdesc='A cross-platform application and UI framework'
|
2014-07-19 14:49:31 +00:00
|
|
|
depends=('libjpeg-turbo' 'xcb-util-keysyms' 'dbus' 'fontconfig' 'systemd'
|
2013-12-12 17:14:38 +00:00
|
|
|
'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu'
|
2014-10-17 19:01:24 +00:00
|
|
|
'qtchooser' 'libgl')
|
2015-04-09 20:17:36 +00:00
|
|
|
optdepends=('qt5-svg: to use SVG icon themes'
|
|
|
|
'postgresql-libs: PostgreSQL driver'
|
2013-03-25 21:20:48 +00:00
|
|
|
'libmariadbclient: MariaDB driver'
|
2014-05-28 00:50:28 +00:00
|
|
|
'unixodbc: ODBC driver'
|
|
|
|
'mtdev: evdev plugin'
|
|
|
|
'libxkbcommon-x11: xcb plugin'
|
|
|
|
'libsm: xcb plugin'
|
|
|
|
'gtk2: GTK2 plugin')
|
2013-03-02 01:46:59 +00:00
|
|
|
conflicts=('qt')
|
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtbase
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
|
2013-12-11 20:41:53 +00:00
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
2013-03-02 01:46:59 +00:00
|
|
|
|
2015-01-20 19:51:02 +00:00
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
2013-03-02 01:46:59 +00:00
|
|
|
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
|
2015-01-20 19:51:02 +00:00
|
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
2013-03-02 01:46:59 +00:00
|
|
|
|
|
|
|
# Fix wrong qmake path in pri file
|
|
|
|
sed -i "s|${srcdir}/${_pkgfqn}/qtbase|/usr|" \
|
2013-12-12 17:14:38 +00:00
|
|
|
"${pkgdir}"/usr/lib/qt/mkspecs/modules/qt_lib_bootstrap_private.pri
|
2013-04-11 14:08:05 +00:00
|
|
|
|
|
|
|
# Useful symlinks
|
|
|
|
install -d "${pkgdir}"/usr/bin
|
|
|
|
for b in "${pkgdir}"/usr/lib/qt/bin/*; do
|
|
|
|
ln -s /usr/lib/qt/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5
|
|
|
|
done
|
2013-03-02 01:46:59 +00:00
|
|
|
}
|
|
|
|
|
2013-12-12 17:14:38 +00:00
|
|
|
package_qt5-connectivity() {
|
2014-05-28 00:50:28 +00:00
|
|
|
pkgdesc='Provides access to Bluetooth hardware'
|
2014-12-12 14:16:19 +00:00
|
|
|
depends=('qt5-declarative' 'bluez-libs')
|
2013-12-12 17:14:38 +00:00
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtconnectivity
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
|
2015-01-20 19:51:02 +00:00
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
2013-12-12 17:14:38 +00:00
|
|
|
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
|
2015-01-20 19:51:02 +00:00
|
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
2013-12-12 17:14:38 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
|
|
|
}
|
|
|
|
|
2013-03-02 01:46:59 +00:00
|
|
|
package_qt5-declarative() {
|
2014-05-28 00:50:28 +00:00
|
|
|
pkgdesc='Classes for QML and JavaScript languages'
|
|
|
|
depends=('qt5-xmlpatterns' 'libxkbcommon-x11')
|
2013-03-02 01:46:59 +00:00
|
|
|
conflicts=('qt')
|
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtdeclarative
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
|
2015-01-20 19:51:02 +00:00
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
2013-03-02 01:46:59 +00:00
|
|
|
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
|
2015-01-20 19:51:02 +00:00
|
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
2013-04-16 21:25:57 +00:00
|
|
|
|
2013-04-11 14:08:05 +00:00
|
|
|
# Useful symlinks
|
|
|
|
install -d "${pkgdir}"/usr/bin
|
|
|
|
for b in "${pkgdir}"/usr/lib/qt/bin/*; do
|
|
|
|
ln -s /usr/lib/qt/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5
|
|
|
|
done
|
2013-12-11 20:41:53 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
2013-04-11 14:08:05 +00:00
|
|
|
}
|
|
|
|
|
2013-08-29 14:01:31 +00:00
|
|
|
package_qt5-doc() {
|
|
|
|
pkgdesc='A cross-platform application and UI framework (Documentation)'
|
|
|
|
depends=('qt5-base')
|
|
|
|
# arch=('any')
|
|
|
|
conflicts=('qt-doc')
|
|
|
|
replaces=('qt-doc')
|
|
|
|
provides=('qt-doc')
|
2013-12-11 20:41:53 +00:00
|
|
|
options=('docs' '!emptydirs')
|
2013-08-29 14:01:31 +00:00
|
|
|
groups=()
|
|
|
|
|
|
|
|
cd ${_pkgfqn}
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install_docs
|
2013-12-11 20:41:53 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
2013-08-29 14:01:31 +00:00
|
|
|
}
|
|
|
|
|
2014-05-28 00:50:28 +00:00
|
|
|
package_qt5-enginio() {
|
|
|
|
pkgdesc='A Backend-as-a-Service solution to ease the backend development for connected and data-driven application'
|
|
|
|
depends=('qt5-declarative')
|
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtenginio
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
|
2015-01-20 19:51:02 +00:00
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
2014-05-28 00:50:28 +00:00
|
|
|
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
|
2015-01-20 19:51:02 +00:00
|
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
2014-05-28 00:50:28 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
|
|
|
}
|
|
|
|
|
2013-03-02 01:46:59 +00:00
|
|
|
package_qt5-xmlpatterns() {
|
2014-05-28 00:50:28 +00:00
|
|
|
pkgdesc='Support for XPath, XQuery, XSLT and XML schema validation'
|
2013-03-02 01:46:59 +00:00
|
|
|
depends=('qt5-base')
|
|
|
|
conflicts=('qt')
|
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtxmlpatterns
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
|
2015-01-20 19:51:02 +00:00
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
2013-03-02 01:46:59 +00:00
|
|
|
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
|
2015-01-20 19:51:02 +00:00
|
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
2013-04-16 21:25:57 +00:00
|
|
|
|
|
|
|
# Useful symlinks
|
|
|
|
install -d "${pkgdir}"/usr/bin
|
|
|
|
for b in "${pkgdir}"/usr/lib/qt/bin/*; do
|
|
|
|
ln -s /usr/lib/qt/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5
|
|
|
|
done
|
2013-12-11 20:41:53 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
2013-03-02 01:46:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_qt5-translations() {
|
2013-03-04 01:10:31 +00:00
|
|
|
pkgdesc='A cross-platform application and UI framework (Translations)'
|
2013-03-02 01:46:59 +00:00
|
|
|
depends=('qt5-base')
|
2014-12-12 14:16:19 +00:00
|
|
|
optdepends=('gstreamer0.10-bad: Qt MediaService plugin')
|
2013-03-02 01:46:59 +00:00
|
|
|
conflicts=('qt')
|
|
|
|
|
|
|
|
cd ${_pkgfqn}/qttranslations
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
2013-12-11 20:41:53 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
2013-03-02 01:46:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_qt5-multimedia() {
|
2014-05-28 00:50:28 +00:00
|
|
|
pkgdesc='Classes for audio, video, radio and camera functionality'
|
2014-04-28 16:11:44 +00:00
|
|
|
depends=('qt5-declarative' 'libpulse' 'gstreamer0.10-base' 'openal')
|
2013-03-02 01:46:59 +00:00
|
|
|
conflicts=('qt')
|
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtmultimedia
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
|
2015-01-20 19:51:02 +00:00
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
2013-03-02 01:46:59 +00:00
|
|
|
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
|
2015-01-20 19:51:02 +00:00
|
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
2013-12-11 20:41:53 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
2013-03-02 01:46:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_qt5-graphicaleffects() {
|
2014-05-28 00:50:28 +00:00
|
|
|
pkgdesc='Graphical effects for use with Qt Quick 2'
|
2013-03-02 01:46:59 +00:00
|
|
|
depends=('qt5-declarative')
|
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtgraphicaleffects
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
2013-12-11 20:41:53 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
2013-03-02 01:46:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_qt5-imageformats() {
|
2014-05-28 00:50:28 +00:00
|
|
|
pkgdesc='Plugins for additional image formats: TIFF, MNG, TGA, WBMP'
|
2014-12-12 14:16:19 +00:00
|
|
|
depends=('qt5-base' 'jasper' 'libmng' 'libwebp')
|
2013-03-02 01:46:59 +00:00
|
|
|
conflicts=('qt')
|
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtimageformats
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
2013-12-11 20:41:53 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
2013-03-02 01:46:59 +00:00
|
|
|
}
|
|
|
|
|
2013-12-12 17:14:38 +00:00
|
|
|
package_qt5-location() {
|
2014-05-28 00:50:28 +00:00
|
|
|
pkgdesc='Provides access to position, satellite and area monitoring classes'
|
2014-12-12 14:16:19 +00:00
|
|
|
depends=('qt5-declarative' 'geoclue')
|
2013-12-12 17:14:38 +00:00
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtlocation
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
|
2015-01-20 19:51:02 +00:00
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
2013-12-12 17:14:38 +00:00
|
|
|
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
|
2015-01-20 19:51:02 +00:00
|
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
2013-12-12 17:14:38 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
|
|
|
}
|
|
|
|
|
2013-03-02 01:46:59 +00:00
|
|
|
package_qt5-quick1() {
|
2014-05-28 00:50:28 +00:00
|
|
|
pkgdesc='Qt Declarative is provided for Qt 4 compatibility'
|
2013-03-02 01:46:59 +00:00
|
|
|
depends=('qt5-webkit' 'qt5-script')
|
|
|
|
conflicts=('qt')
|
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtquick1
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
|
2015-01-20 19:51:02 +00:00
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
2013-03-02 01:46:59 +00:00
|
|
|
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
|
2015-01-20 19:51:02 +00:00
|
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
2013-07-06 19:22:08 +00:00
|
|
|
|
|
|
|
# Useful symlinks
|
|
|
|
install -d "${pkgdir}"/usr/bin
|
|
|
|
for b in "${pkgdir}"/usr/lib/qt/bin/*; do
|
|
|
|
ln -s /usr/lib/qt/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5
|
|
|
|
done
|
2013-12-11 20:41:53 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
2013-07-06 19:22:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_qt5-quickcontrols() {
|
2014-05-28 00:50:28 +00:00
|
|
|
pkgdesc='Reusable Qt Quick based UI controls to create classic desktop-style user interfaces'
|
2013-07-06 19:22:08 +00:00
|
|
|
depends=('qt5-declarative')
|
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtquickcontrols
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
2013-12-11 20:41:53 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
2013-03-02 01:46:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_qt5-script() {
|
2014-05-28 00:50:28 +00:00
|
|
|
pkgdesc='Classes for making Qt applications scriptable. Provided for Qt 4.x compatibility'
|
2013-03-02 01:46:59 +00:00
|
|
|
depends=('qt5-base')
|
|
|
|
conflicts=('qt')
|
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtscript
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
|
2015-01-20 19:51:02 +00:00
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
2013-03-02 01:46:59 +00:00
|
|
|
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
|
2015-01-20 19:51:02 +00:00
|
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
2013-12-11 20:41:53 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
2013-03-02 01:46:59 +00:00
|
|
|
}
|
|
|
|
|
2013-07-06 19:22:08 +00:00
|
|
|
package_qt5-sensors() {
|
2014-05-28 00:50:28 +00:00
|
|
|
pkgdesc='Provides access to sensor hardware and motion gesture recognition'
|
2013-07-06 19:22:08 +00:00
|
|
|
depends=('qt5-declarative')
|
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtsensors
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
|
2015-01-20 19:51:02 +00:00
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
2013-07-06 19:22:08 +00:00
|
|
|
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
|
2015-01-20 19:51:02 +00:00
|
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
2013-12-11 20:41:53 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
2013-07-06 19:22:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_qt5-serialport() {
|
2014-05-28 00:50:28 +00:00
|
|
|
pkgdesc='Provides access to hardware and virtual serial ports'
|
2013-07-06 19:22:08 +00:00
|
|
|
depends=('qt5-base')
|
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtserialport
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
|
2015-01-20 19:51:02 +00:00
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
2013-07-06 19:22:08 +00:00
|
|
|
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
|
2015-01-20 19:51:02 +00:00
|
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
2013-12-11 20:41:53 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
2013-07-06 19:22:08 +00:00
|
|
|
}
|
|
|
|
|
2013-03-02 01:46:59 +00:00
|
|
|
package_qt5-svg() {
|
2014-05-28 00:50:28 +00:00
|
|
|
pkgdesc='Classes for displaying the contents of SVG files'
|
2013-03-02 01:46:59 +00:00
|
|
|
depends=('qt5-base')
|
|
|
|
conflicts=('qt')
|
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtsvg
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
|
2015-01-20 19:51:02 +00:00
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
2013-03-02 01:46:59 +00:00
|
|
|
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
|
2015-01-20 19:51:02 +00:00
|
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
2013-12-11 20:41:53 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
2013-03-02 01:46:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_qt5-tools() {
|
2013-03-04 01:10:31 +00:00
|
|
|
pkgdesc='A cross-platform application and UI framework (Development Tools, QtHelp)'
|
2013-07-06 19:22:08 +00:00
|
|
|
depends=('qt5-webkit' 'desktop-file-utils' 'qt5-translations' 'hicolor-icon-theme'
|
|
|
|
'xdg-utils')
|
|
|
|
optdepends=('qt5-doc: documentation')
|
2013-03-02 01:46:59 +00:00
|
|
|
install='qt5-tools.install'
|
|
|
|
conflicts=('qt')
|
2013-12-11 20:41:53 +00:00
|
|
|
options=('staticlibs') # libQt5UiTools builds as static only
|
2013-03-02 01:46:59 +00:00
|
|
|
|
|
|
|
cd ${_pkgfqn}/qttools
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
|
|
|
|
# install missing icons and desktop files
|
|
|
|
for icon in src/linguist/linguist/images/icons/linguist-*-32.png ; do
|
|
|
|
size=$(echo $(basename ${icon}) | cut -d- -f2)
|
|
|
|
install -p -D -m644 ${icon} \
|
|
|
|
"${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/linguist.png"
|
|
|
|
done
|
|
|
|
|
2013-07-06 19:22:08 +00:00
|
|
|
install -D -m644 src/assistant/assistant/images/assistant.png \
|
2013-03-02 01:46:59 +00:00
|
|
|
"${pkgdir}/usr/share/icons/hicolor/32x32/apps/assistant.png"
|
2013-07-06 19:22:08 +00:00
|
|
|
install -D -m644 src/assistant/assistant/images/assistant-128.png \
|
2013-03-02 01:46:59 +00:00
|
|
|
"${pkgdir}/usr/share/icons/hicolor/128x128/apps/assistant.png"
|
2013-07-06 19:22:08 +00:00
|
|
|
install -D -m644 src/designer/src/designer/images/designer.png \
|
2015-03-01 16:00:26 +00:00
|
|
|
"${pkgdir}/usr/share/icons/hicolor/128x128/apps/QtProject-designer.png"
|
2013-07-06 19:22:08 +00:00
|
|
|
install -D -m644 src/qdbus/qdbusviewer/images/qdbusviewer.png \
|
|
|
|
"${pkgdir}/usr/share/icons/hicolor/32x32/apps/qdbusviewer.png"
|
|
|
|
install -D -m644 src/qdbus/qdbusviewer/images/qdbusviewer-128.png \
|
|
|
|
"${pkgdir}/usr/share/icons/hicolor/128x128/apps/qdbusviewer.png"
|
2013-03-02 01:46:59 +00:00
|
|
|
install -d "${pkgdir}/usr/share/applications"
|
2013-07-06 19:22:08 +00:00
|
|
|
install -m644 "${srcdir}"/{linguist,designer,assistant,qdbusviewer}.desktop \
|
2013-03-02 01:46:59 +00:00
|
|
|
"${pkgdir}/usr/share/applications/"
|
|
|
|
|
2015-01-20 19:51:02 +00:00
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
2013-03-02 01:46:59 +00:00
|
|
|
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
|
2015-01-20 19:51:02 +00:00
|
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
2013-04-16 21:25:57 +00:00
|
|
|
|
|
|
|
# Useful symlinks
|
|
|
|
install -d "${pkgdir}"/usr/bin
|
|
|
|
for b in "${pkgdir}"/usr/lib/qt/bin/*; do
|
|
|
|
ln -s /usr/lib/qt/bin/$(basename $b) "${pkgdir}"/usr/bin/$(basename $b)-qt5
|
2013-10-23 13:42:51 +00:00
|
|
|
done
|
2013-12-11 20:41:53 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
2013-03-02 01:46:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package_qt5-webkit() {
|
2014-05-28 00:50:28 +00:00
|
|
|
pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
|
2014-12-12 14:16:19 +00:00
|
|
|
depends=('qt5-sensors' 'qt5-location' 'qt5-webchannel' 'gst-plugins-base' 'libxslt'
|
|
|
|
'libxcomposite' 'libwebp')
|
2014-10-20 19:01:58 +00:00
|
|
|
optdepends=('gst-plugins-good: Webm codec support')
|
2013-12-11 20:41:53 +00:00
|
|
|
license=('GPL3' 'LGPL' 'FDL')
|
2013-03-02 01:46:59 +00:00
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtwebkit
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
|
2015-01-20 19:51:02 +00:00
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
2013-03-02 01:46:59 +00:00
|
|
|
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
|
2015-01-20 19:51:02 +00:00
|
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
2013-03-02 01:46:59 +00:00
|
|
|
|
|
|
|
# Fix wrong path in pc file
|
|
|
|
perl -pi -e "s, -L${srcdir}/?\S+,,g" "${pkgdir}"/usr/lib/pkgconfig/Qt5WebKit.pc
|
|
|
|
}
|
2013-07-06 19:22:08 +00:00
|
|
|
|
2014-12-12 14:16:19 +00:00
|
|
|
package_qt5-wayland() {
|
|
|
|
pkgdesc='Provides APIs for Wayland'
|
|
|
|
depends=('qt5-base' 'libxcomposite' 'libxkbcommon')
|
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtwayland
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
|
2015-01-20 19:51:02 +00:00
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
2014-12-12 14:16:19 +00:00
|
|
|
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
|
2015-01-20 19:51:02 +00:00
|
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
2014-12-12 14:16:19 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
|
|
|
}
|
|
|
|
|
|
|
|
package_qt5-webchannel() {
|
|
|
|
pkgdesc='Provides access to QObject or QML objects from HTML clients for seamless integration of Qt applications with HTML/JavaScript clients'
|
|
|
|
depends=('qt5-declarative')
|
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtwebchannel
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
|
2015-01-20 19:51:02 +00:00
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
2014-12-12 14:16:19 +00:00
|
|
|
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
|
2015-01-20 19:51:02 +00:00
|
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
2014-12-12 14:16:19 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
|
|
|
}
|
|
|
|
|
2014-05-28 00:50:28 +00:00
|
|
|
package_qt5-websockets() {
|
|
|
|
pkgdesc='Provides WebSocket communication compliant with RFC 6455'
|
|
|
|
depends=('qt5-declarative')
|
|
|
|
license=('LGPL')
|
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtwebsockets
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
|
2015-01-20 19:51:02 +00:00
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
2014-05-28 00:50:28 +00:00
|
|
|
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
|
2015-01-20 19:51:02 +00:00
|
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
2014-05-28 00:50:28 +00:00
|
|
|
}
|
|
|
|
|
2013-07-06 19:22:08 +00:00
|
|
|
package_qt5-x11extras() {
|
2014-05-28 00:50:28 +00:00
|
|
|
pkgdesc='Provides platform-specific APIs for X11'
|
2013-07-06 19:22:08 +00:00
|
|
|
depends=('qt5-base')
|
|
|
|
|
|
|
|
cd ${_pkgfqn}/qtx11extras
|
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
|
|
|
|
2015-01-20 19:51:02 +00:00
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
2013-07-06 19:22:08 +00:00
|
|
|
find "${pkgdir}/usr/lib" -type f -name '*.prl' \
|
2015-01-20 19:51:02 +00:00
|
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
2013-12-11 20:41:53 +00:00
|
|
|
|
|
|
|
install -D -m644 LGPL_EXCEPTION.txt \
|
|
|
|
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
|
2013-07-06 19:22:08 +00:00
|
|
|
}
|