summaryrefslogtreecommitdiff
path: root/libre/quassel/PKGBUILD
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2021-04-21 12:49:57 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2021-04-25 13:26:15 -0400
commite42c02d2d2084519ee604a4952e9720d080772fe (patch)
treef784355ead242dca52483c3a088bb593a3912d65 /libre/quassel/PKGBUILD
parent7ad91ac43839d3bb6df2b20c901a14f75fc3b7c8 (diff)
downloadabslibre-e42c02d2d2084519ee604a4952e9720d080772fe.tar.gz
abslibre-e42c02d2d2084519ee604a4952e9720d080772fe.tar.bz2
abslibre-e42c02d2d2084519ee604a4952e9720d080772fe.zip
[quassel]: rebuild against latest icu
Diffstat (limited to 'libre/quassel/PKGBUILD')
-rw-r--r--libre/quassel/PKGBUILD33
1 files changed, 26 insertions, 7 deletions
diff --git a/libre/quassel/PKGBUILD b/libre/quassel/PKGBUILD
index abd0d2d3c..3802c9964 100644
--- a/libre/quassel/PKGBUILD
+++ b/libre/quassel/PKGBUILD
@@ -2,6 +2,9 @@
# Contributor: Vesa Kaihlavirta <vegai@iki.fi>
# Maintainer: bill-auger <bill-auger@programmer.net>
+# parabola changes and rationale:
+# - repalce qt5-webengine with qt5-webkit (for URL previews)
+
pkgbase=quassel
pkgname=('quassel-core'
@@ -9,18 +12,20 @@ pkgname=('quassel-core'
'quassel-client-small'
'quassel-monolithic')
pkgver=0.13.1
-pkgrel=2
+pkgrel=4
pkgrel+=.parabola1
pkgdesc="Next-generation distributed IRC client"
arch=('x86_64')
arch+=('armv7h' 'i686')
url="https://quassel-irc.org/"
license=('GPL')
-makedepends=('qt5-base' 'qt5-tools' 'qt5-webkit' 'qca-qt5' 'qt5-script'
+makedepends=('qt5-base' 'qt5-tools' 'qt5-webengine' 'qca-qt5' 'qt5-script'
'qt5-multimedia' 'knotifyconfig' 'sonnet' 'libldap' 'cmake'
'extra-cmake-modules' 'python' 'hicolor-icon-theme')
+makedepends=(${makedepends[*]/qt5-webengine/qt5-webkit})
source=(https://quassel-irc.org/pub/$pkgbase-$pkgver.tar.bz2
0001-qtui-Set-desktop-file-name.patch
+ quassel-0.13.1-qt5.14.patch
search-duck.patch
$pkgbase.service
$pkgbase.sysusers
@@ -28,6 +33,7 @@ source=(https://quassel-irc.org/pub/$pkgbase-$pkgver.tar.bz2
$pkgbase.conf)
sha256sums=('48efee9778743b1db9f44efb91d1c913104db01190c57f2ff57483c39a97e855'
'695ff3b605ea62ccfdf9ec4b9e6ffa74f3e2c0ac81402d51a74d263c47886c92'
+ '3d43f498df04db59a5199e0a81b8fd7ac37ef46fffb0c69ab5a17bcafb6d8c65'
'3d90a7edfa2b2e27e5f56b25f7583585efbcd35219c04a3bf138d9fe9bb9eab2'
'5dbe20290f3361b9b7a74a52905137e76b656976febf2d31082a2276f9dcde7f'
'3c72441a99e2668c6a8a751fa07beeb44f937576c8a1b5f615e4a55f841d93d9'
@@ -37,6 +43,7 @@ sha256sums=('48efee9778743b1db9f44efb91d1c913104db01190c57f2ff57483c39a97e855'
prepare() {
cd $pkgbase-$pkgver
patch -Np1 -i ../0001-qtui-Set-desktop-file-name.patch
+ patch -Np1 -i ../quassel-0.13.1-qt5.14.patch
patch -Np1 -i ../search-duck.patch
}
@@ -109,29 +116,41 @@ backup=(etc/conf.d/quassel)
}
package_quassel-client() {
-pkgdesc="Next-generation distributed IRC client - client only (with webkit)"
-depends=('qt5-base' 'qt5-webkit' 'qt5-multimedia' 'knotifyconfig'
+pkgdesc="Next-generation distributed IRC client - client only"
+pkgdesc+=" (with webkit HTML rendering)"
+depends=('qt5-base' 'qt5-webengine' 'qt5-multimedia' 'knotifyconfig'
'hicolor-icon-theme')
+depends=(${depends[*]/qt5-webengine/qt5-webkit})
+optdepends=('perl: for builtin /exec scripts')
conflicts=('quassel-monolithic' 'quassel-client-small')
_install client
+ install -Dm644 $pkgbase-$pkgver/data/quasselclient.appdata.xml "$pkgdir/usr/share/metainfo/quasselclient.appdata.xml"
}
package_quassel-client-small() {
pkgdesc="Next-generation distributed IRC client - client only, reduced deps"
depends=('qt5-base' 'qt5-svg' 'sonnet' 'hicolor-icon-theme')
+optdepends=('perl: for builtin /exec scripts')
conflicts=('quassel-monolithic' 'quassel-client')
replaces=('quassel-remote')
_install client-small
+
+ # Ignore package by AppStream to avoid duplicated IDs
+ echo 'X-AppStream-Ignore=true' >> "$pkgdir/usr/share/applications/quasselclient.desktop"
}
package_quassel-monolithic() {
-pkgdesc="Next-generation distributed IRC client - complete standalone (with webkit)"
-depends=('qt5-base' 'qt5-webkit' 'qt5-multimedia' 'qt5-script' 'qca-qt5'
+pkgdesc="Next-generation distributed IRC client - monolithic"
+pkgdesc+=" (with webkit HTML rendering)"
+depends=('qt5-base' 'qt5-webengine' 'qt5-multimedia' 'qt5-script' 'qca-qt5'
'knotifyconfig' 'libldap' 'hicolor-icon-theme')
-optdepends=('postgresql: PostgreSQL database support')
+depends=(${depends[*]/qt5-webengine/qt5-webkit})
+optdepends=('perl: for builtin /exec scripts'
+ 'postgresql: PostgreSQL database support')
conflicts=('quassel-client' 'quassel-client-small')
_install monolithic
+ install -Dm644 $pkgbase-$pkgver/data/quassel.appdata.xml "$pkgdir/usr/share/metainfo/quassel.appdata.xml"
}