aboutsummaryrefslogtreecommitdiffstats
path: root/qt5/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'qt5/PKGBUILD')
-rw-r--r--qt5/PKGBUILD200
1 files changed, 133 insertions, 67 deletions
diff --git a/qt5/PKGBUILD b/qt5/PKGBUILD
index a8e92e8..3f72f27 100644
--- a/qt5/PKGBUILD
+++ b/qt5/PKGBUILD
@@ -3,32 +3,32 @@
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgbase=qt5
-pkgname=('qt5-3d'
- 'qt5-base'
- 'qt5-canvas3d'
- 'qt5-connectivity'
- 'qt5-declarative'
- 'qt5-doc'
- 'qt5-enginio'
- 'qt5-graphicaleffects'
- 'qt5-imageformats'
- 'qt5-location'
- 'qt5-multimedia'
- 'qt5-quick1'
- 'qt5-quickcontrols'
- 'qt5-script'
- 'qt5-sensors'
- 'qt5-serialport'
- 'qt5-svg'
- 'qt5-tools'
- 'qt5-translations'
- 'qt5-wayland'
- 'qt5-webchannel'
- 'qt5-webengine'
- 'qt5-webkit'
- 'qt5-websockets'
- 'qt5-x11extras'
- 'qt5-xmlpatterns')
+pkgname=('qt5-3d-debug'
+ 'qt5-base-debug'
+ 'qt5-canvas3d-debug'
+ 'qt5-connectivity-debug'
+ 'qt5-declarative-debug'
+ 'qt5-doc-debug'
+ 'qt5-enginio-debug'
+ 'qt5-graphicaleffects-debug'
+ 'qt5-imageformats-debug'
+ 'qt5-location-debug'
+ 'qt5-multimedia-debug'
+ 'qt5-quick1-debug'
+ 'qt5-quickcontrols-debug'
+ 'qt5-script-debug'
+ 'qt5-sensors-debug'
+ 'qt5-serialport-debug'
+ 'qt5-svg-debug'
+ 'qt5-tools-debug'
+ 'qt5-translations-debug'
+ 'qt5-wayland-debug'
+ 'qt5-webchannel-debug'
+ 'qt5-webengine-debug'
+ 'qt5-webkit-debug'
+ 'qt5-websockets-debug'
+ 'qt5-x11extras-debug'
+ 'qt5-xmlpatterns-debug')
pkgver=5.5.1
pkgrel=2
arch=('i686' 'x86_64')
@@ -50,6 +50,7 @@ md5sums=('c2a249e8795d45200d997d96860d0353'
'76e150b20178d2d43801f7367232e5f7'
'188da8f4c87316e730ebf1c6217bf5a0'
'322b419b16c75d4de0ee7ad0a246caa1')
+options=('debug' '!strip')
prepare() {
cd ${_pkgfqn}
@@ -102,7 +103,8 @@ build() {
-journald \
-libinput \
-no-use-gold-linker \
- -no-reduce-relocations ${SSE2}
+ -no-reduce-relocations ${SSE2} \
+ -force-debug-info
make
@@ -123,10 +125,13 @@ build() {
make docs
}
-package_qt5-3d() {
+package_qt5-3d-debug() {
pkgdesc='C++ and QML APIs for easy inclusion of 3D graphics'
depends=('qt5-declarative')
license=('LGPL')
+ provides=("qt5-3d=$pkgver")
+ conflicts=('qt5-3d')
+ options=('debug' '!strip')
cd ${_pkgfqn}/qt3d
make INSTALL_ROOT="${pkgdir}" install
@@ -136,7 +141,7 @@ package_qt5-3d() {
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
}
-package_qt5-base() {
+package_qt5-base-debug() {
pkgdesc='A cross-platform application and UI framework'
depends=('libjpeg-turbo' 'xcb-util-keysyms' 'libgl' 'dbus' 'fontconfig' 'systemd'
'xcb-util-wm' 'libxrender' 'libxi' 'sqlite' 'xcb-util-image' 'icu'
@@ -150,7 +155,9 @@ package_qt5-base() {
'libxkbcommon-x11: xcb plugin'
'libsm: xcb plugin'
'gtk2: GTK2 plugin')
- conflicts=('qt')
+ conflicts=('qt' 'qt5-base')
+ provides=("qt5-base=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtbase
make INSTALL_ROOT="${pkgdir}" install
@@ -173,10 +180,13 @@ package_qt5-base() {
done
}
-package_qt5-canvas3d() {
+package_qt5-canvas3d-debug() {
pkgdesc='A JavaScript 3D rendering API for Qt Quick'
depends=('qt5-declarative')
license=('LGPL')
+ provides=("qt5-canvas3d=$pkgver")
+ conflicts=('qt5-canvas3d')
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtcanvas3d
make INSTALL_ROOT="${pkgdir}" install
@@ -186,9 +196,12 @@ package_qt5-canvas3d() {
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
}
-package_qt5-connectivity() {
+package_qt5-connectivity-debug() {
pkgdesc='Provides access to Bluetooth hardware'
depends=('qt5-declarative' 'bluez-libs')
+ provides=("qt5-connectivity=$pkgver")
+ conflicts=('qt5-connectivity')
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtconnectivity
make INSTALL_ROOT="${pkgdir}" install
@@ -201,10 +214,12 @@ package_qt5-connectivity() {
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
-package_qt5-declarative() {
+package_qt5-declarative-debug() {
pkgdesc='Classes for QML and JavaScript languages'
depends=('qt5-xmlpatterns' 'libxkbcommon-x11' 'libsm')
- conflicts=('qt')
+ conflicts=('qt' 'qt5-declarative')
+ provides=("qt5-declarative=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtdeclarative
make INSTALL_ROOT="${pkgdir}" install
@@ -223,14 +238,14 @@ package_qt5-declarative() {
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
-package_qt5-doc() {
+package_qt5-doc-debug() {
pkgdesc='A cross-platform application and UI framework (Documentation)'
depends=('qt5-base')
# arch=('any')
- conflicts=('qt-doc')
+ conflicts=('qt-doc' 'qt5-doc')
replaces=('qt-doc')
- provides=('qt-doc')
- options=('docs' '!emptydirs')
+ provides=('qt-doc' 'qt5-doc')
+ options=('docs' '!emptydirs' 'debug' '!strip')
groups=()
cd ${_pkgfqn}
@@ -240,9 +255,12 @@ package_qt5-doc() {
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
-package_qt5-enginio() {
+package_qt5-enginio-debug() {
pkgdesc='A Backend-as-a-Service solution to ease the backend development for connected and data-driven application'
depends=('qt5-declarative')
+ conflicts=('qt5-enginio')
+ provides=("qt5-enginio=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtenginio
make INSTALL_ROOT="${pkgdir}" install
@@ -255,9 +273,12 @@ package_qt5-enginio() {
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
-package_qt5-graphicaleffects() {
+package_qt5-graphicaleffects-debug() {
pkgdesc='Graphical effects for use with Qt Quick 2'
depends=('qt5-declarative')
+ conflicts=('qt5-graphicaleffects')
+ provides=("qt5-graphicaleffects=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtgraphicaleffects
make INSTALL_ROOT="${pkgdir}" install
@@ -266,10 +287,12 @@ package_qt5-graphicaleffects() {
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
-package_qt5-imageformats() {
+package_qt5-imageformats-debug() {
pkgdesc='Plugins for additional image formats: TIFF, MNG, TGA, WBMP'
depends=('qt5-base' 'jasper' 'libmng' 'libwebp')
- conflicts=('qt')
+ conflicts=('qt' 'qt5-imageformats')
+ provides=("qt5-imageformats=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtimageformats
make INSTALL_ROOT="${pkgdir}" install
@@ -278,9 +301,12 @@ package_qt5-imageformats() {
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
-package_qt5-location() {
+package_qt5-location-debug() {
pkgdesc='Provides access to position, satellite and area monitoring classes'
depends=('qt5-declarative' 'geoclue')
+ conflicts=('qt5-location')
+ provides=("qt5-location=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtlocation
make INSTALL_ROOT="${pkgdir}" install
@@ -293,11 +319,13 @@ package_qt5-location() {
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
-package_qt5-multimedia() {
+package_qt5-multimedia-debug() {
pkgdesc='Classes for audio, video, radio and camera functionality'
depends=('qt5-declarative' 'libpulse' 'gst-plugins-base-libs' 'openal')
optdepends=('gst-plugins-bad: Qt MediaService plugin')
- conflicts=('qt')
+ conflicts=('qt' 'qt5-multimedia')
+ provides=("qt5-multimedia=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtmultimedia
make INSTALL_ROOT="${pkgdir}" install
@@ -310,10 +338,12 @@ package_qt5-multimedia() {
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
-package_qt5-quick1() {
+package_qt5-quick1-debug() {
pkgdesc='Qt Declarative is provided for Qt 4 compatibility'
depends=('qt5-webkit' 'qt5-script')
- conflicts=('qt')
+ conflicts=('qt' 'qt5-quick1')
+ provides=("qt5-quick1=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtquick1
make INSTALL_ROOT="${pkgdir}" install
@@ -332,19 +362,24 @@ package_qt5-quick1() {
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
-package_qt5-quickcontrols() {
+package_qt5-quickcontrols-debug() {
pkgdesc='Reusable Qt Quick based UI controls to create classic desktop-style user interfaces'
depends=('qt5-declarative')
license=('LGPL')
+ conflicts=('qt5-quickcontrols')
+ provides=("qt5-quickcontrols=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtquickcontrols
make INSTALL_ROOT="${pkgdir}" install
}
-package_qt5-script() {
+package_qt5-script-debug() {
pkgdesc='Classes for making Qt applications scriptable. Provided for Qt 4.x compatibility'
depends=('qt5-base')
- conflicts=('qt')
+ conflicts=('qt' 'qt5-script')
+ provides=("qt5-script=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtscript
make INSTALL_ROOT="${pkgdir}" install
@@ -357,9 +392,12 @@ package_qt5-script() {
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
-package_qt5-sensors() {
+package_qt5-sensors-debug() {
pkgdesc='Provides access to sensor hardware and motion gesture recognition'
depends=('qt5-declarative')
+ conflicts=('qt5-sensors')
+ provides=("qt5-sensors=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtsensors
make INSTALL_ROOT="${pkgdir}" install
@@ -372,9 +410,12 @@ package_qt5-sensors() {
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
-package_qt5-serialport() {
+package_qt5-serialport-debug() {
pkgdesc='Provides access to hardware and virtual serial ports'
depends=('qt5-base')
+ conflicts=('qt5-serialport')
+ provides=("qt5-serialport=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtserialport
make INSTALL_ROOT="${pkgdir}" install
@@ -387,10 +428,12 @@ package_qt5-serialport() {
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
-package_qt5-svg() {
+package_qt5-svg-debug() {
pkgdesc='Classes for displaying the contents of SVG files'
depends=('qt5-base')
- conflicts=('qt')
+ conflicts=('qt' 'qt5-svg')
+ provides=("qt5-svg=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtsvg
make INSTALL_ROOT="${pkgdir}" install
@@ -403,14 +446,15 @@ package_qt5-svg() {
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
-package_qt5-tools() {
+package_qt5-tools-debug() {
pkgdesc='A cross-platform application and UI framework (Development Tools, QtHelp)'
depends=('qt5-webkit' 'desktop-file-utils' 'qt5-translations' 'hicolor-icon-theme'
'xdg-utils')
optdepends=('qt5-doc: documentation')
install='qt5-tools.install'
- conflicts=('qt')
- options=('staticlibs') # libQt5UiTools builds as static only$
+ conflicts=('qt' 'qt5-tools')
+ options=('staticlibs' 'debug' '!strip') # libQt5UiTools builds as static only$
+ provides=("qt5-tools=$pkgver")
cd ${_pkgfqn}/qttools
make INSTALL_ROOT="${pkgdir}" install
@@ -450,10 +494,12 @@ package_qt5-tools() {
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
-package_qt5-translations() {
+package_qt5-translations-debug() {
pkgdesc='A cross-platform application and UI framework (Translations)'
depends=('qt5-base')
- conflicts=('qt')
+ conflicts=('qt' 'qt5-translations')
+ provides=("qt5-translations=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qttranslations
make INSTALL_ROOT="${pkgdir}" install
@@ -462,9 +508,12 @@ package_qt5-translations() {
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
-package_qt5-wayland() {
+package_qt5-wayland-debug() {
pkgdesc='Provides APIs for Wayland'
depends=('qt5-base' 'libxcomposite' 'libxkbcommon')
+ conflicts=('qt5-wayland')
+ provides=("qt5-wayland=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtwayland
make INSTALL_ROOT="${pkgdir}" install
@@ -477,9 +526,12 @@ package_qt5-wayland() {
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
-package_qt5-webchannel() {
+package_qt5-webchannel-debug() {
pkgdesc='Provides access to QObject or QML objects from HTML clients for seamless integration of Qt applications with HTML/JavaScript clients'
depends=('qt5-declarative')
+ conflicts=('qt5-webchannel')
+ provides=("qt5-webchannel=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtwebchannel
make INSTALL_ROOT="${pkgdir}" install
@@ -492,10 +544,13 @@ package_qt5-webchannel() {
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
-package_qt5-webengine() {
+package_qt5-webengine-debug() {
pkgdesc='Provides support for web applications using the Chromium browser project'
depends=('qt5-webchannel' 'qt5-location' 'nss' 'libxtst' 'libxcursor' 'libxrandr' 'alsa-lib' 'libxcomposite')
license=('LGPL')
+ conflicts=('qt5-webengine')
+ provides=("qt5-webengine=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtwebengine
make INSTALL_ROOT="${pkgdir}" install
@@ -503,12 +558,15 @@ package_qt5-webengine() {
rm -rf "${pkgdir}"/usr/share/doc
}
-package_qt5-webkit() {
+package_qt5-webkit-debug() {
pkgdesc='Classes for a WebKit2 based implementation and a new QML API'
depends=('qt5-sensors' 'qt5-location' 'qt5-webchannel' 'gst-plugins-base' 'libxslt'
'libxcomposite' 'libwebp')
optdepends=('gst-plugins-good: Webm codec support')
license=('GPL3' 'LGPL' 'FDL')
+ conflicts=('qt5-webkit')
+ provides=("qt5-webkit=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtwebkit
make INSTALL_ROOT="${pkgdir}" install
@@ -521,9 +579,12 @@ package_qt5-webkit() {
perl -pi -e "s, -L${srcdir}/?\S+,,g" "${pkgdir}"/usr/lib/pkgconfig/Qt5WebKit.pc
}
-package_qt5-websockets() {
+package_qt5-websockets-debug() {
pkgdesc='Provides WebSocket communication compliant with RFC 6455'
depends=('qt5-declarative')
+ conflicts=('qt5-websockets')
+ provides=("qt5-websockets=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtwebsockets
make INSTALL_ROOT="${pkgdir}" install
@@ -536,9 +597,12 @@ package_qt5-websockets() {
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
-package_qt5-x11extras() {
+package_qt5-x11extras-debug() {
pkgdesc='Provides platform-specific APIs for X11'
depends=('qt5-base')
+ conflicts=('qt5-x11extras')
+ provides=("qt5-x11extras=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtx11extras
make INSTALL_ROOT="${pkgdir}" install
@@ -551,10 +615,12 @@ package_qt5-x11extras() {
"${pkgdir}"/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
}
-package_qt5-xmlpatterns() {
+package_qt5-xmlpatterns-debug() {
pkgdesc='Support for XPath, XQuery, XSLT and XML schema validation'
depends=('qt5-base')
- conflicts=('qt')
+ conflicts=('qt' 'qt5-xmlpatterns')
+ provides=("qt5-xmlpatterns=$pkgver")
+ options=('debug' '!strip')
cd ${_pkgfqn}/qtxmlpatterns
make INSTALL_ROOT="${pkgdir}" install