diff options
author | Sandor Nagy | 2016-03-28 13:24:16 +0200 |
---|---|---|
committer | Sandor Nagy | 2016-03-28 13:24:16 +0200 |
commit | 8f723744f6699c7f3c8f981486f17e800db9e3ec (patch) | |
tree | 5e9defc87bd55e81617ff09c67d1a9cb05aa5d54 | |
parent | 689b9fd463ae7039f7d8f567f97f15396268cd0e (diff) | |
download | aur-8f723744f6699c7f3c8f981486f17e800db9e3ec.tar.gz |
Crashes with Qt5.6 packages from extra
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 23 insertions, 9 deletions
@@ -1,14 +1,12 @@ # Generated by mksrcinfo v8 -# Sun Mar 27 22:26:05 UTC 2016 +# Mon Mar 28 11:20:39 UTC 2016 pkgbase = viber pkgdesc = Proprietary cross-platform IM and VoIP software pkgver = 4.2.2.6 - pkgrel = 15 + pkgrel = 16 url = http://viber.com arch = x86_64 license = custom - depends = qt5-websockets - depends = qt5-svg depends = gstreamer0.10-base depends = libxss source = http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb @@ -6,12 +6,12 @@ pkgname=viber pkgver=4.2.2.6 -pkgrel=15 +pkgrel=16 pkgdesc="Proprietary cross-platform IM and VoIP software" arch=('x86_64') url="http://viber.com" license=('custom') -depends=('qt5-websockets' 'qt5-svg' 'gstreamer0.10-base' 'libxss') # 'qt5-imageformats' +depends=('gstreamer0.10-base' 'libxss') # 'qt5-imageformats' 'qt5-svg' 'qt5-websockets' 'sqlite2' source=("http://download.cdn.viber.com/cdn/desktop/Linux/${pkgname}.deb" "eula.html" "viber") @@ -31,6 +31,8 @@ prepare() { package() { cd "${srcdir}" install -m 755 -d "${pkgdir}"/opt/viber/imageformats + install -m 755 -d "${pkgdir}"/opt/viber/platforms + install -m 755 -d "${pkgdir}"/opt/viber/sqldrivers install -m 755 -d "${pkgdir}"/opt/viber/Sound/{DTMF,Messages,PTT} install -Dm755 viber "${pkgdir}/usr/bin/viber" install -Dm644 eula.html "${pkgdir}/usr/share/licenses/viber/eula.html" @@ -43,15 +45,29 @@ package() { # there's no AUR package for QFacebook yet, so leave this install -Dm644 libqfacebook.so "${pkgdir}/opt/viber" - # crashes on image sending/recieving with system WebKit, so leave this for now - install -Dm644 {libicudata.so.48,libicui18n.so.48,libicuuc.so.48,libQt5WebKit.so.5,libQt5WebKitWidgets.so.5} "${pkgdir}/opt/viber" - # qt5-quick1 package no longer available install -Dm644 libQt5Declarative.so.5 "${pkgdir}/opt/viber" + # crashes without this, even if qt5-base installed + install -Dm644 platforms/*.so "${pkgdir}/opt/viber/platforms" + install -Dm644 {libQt5Core.so.5,libQt5DBus.so.5,libQt5Gui.so.5,libQt5Network.so.5,libQt5OpenGL.so.5,libQt5PrintSupport.so.5,libQt5Sql.so.5,libQt5Widgets.so.5} "${pkgdir}/opt/viber/" + # crashes without this, even if qt5-imageformats installed install -Dm644 imageformats/*.so "${pkgdir}/opt/viber/imageformats" + # crashes on image sending/recieving with system WebKit, so leave this for now + install -Dm644 {libicudata.so.48,libicui18n.so.48,libicuuc.so.48,libQt5WebKit.so.5,libQt5WebKitWidgets.so.5} "${pkgdir}/opt/viber" + + # crashes without this, even if the right Qt5 package installed + install -Dm644 {libQt5Qml.so.5,libQt5Quick.so.5,libQt5QuickWidgets.so.5} "${pkgdir}/opt/viber/" # qt5-declarative + install -Dm644 libQt5Script.so.5 "${pkgdir}/opt/viber/" # qt5-script + install -Dm644 libQt5Svg.so.5 "${pkgdir}/opt/viber/" # qt5-svg + install -Dm644 libQt5WebSockets.so.5 "${pkgdir}/opt/viber/" # qt5-websockets + install -Dm644 libQt5XmlPatterns.so.5 "${pkgdir}/opt/viber/" # qt5-xmlpatterns + + # crashes without this, even if sqlite2 installed + install -Dm644 sqldrivers/libqsqlite.so "${pkgdir}/opt/viber/sqldrivers" + # it appears that 'Sound' path is hardcoded to Viber binary directory install -Dm644 Sound/*.wav "${pkgdir}/opt/viber/Sound" install -Dm644 Sound/DTMF/*.wav "${pkgdir}/opt/viber/Sound/DTMF" |