[arch-commits] Commit in quassel/repos (6 files)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Sun Nov 18 10:26:48 UTC 2018
Date: Sunday, November 18, 2018 @ 10:26:47
Author: jlichtblau
Revision: 408673
archrelease: copy trunk to community-testing-x86_64
Added:
quassel/repos/community-testing-x86_64/
quassel/repos/community-testing-x86_64/PKGBUILD
(from rev 408672, quassel/trunk/PKGBUILD)
quassel/repos/community-testing-x86_64/quassel.conf
(from rev 408672, quassel/trunk/quassel.conf)
quassel/repos/community-testing-x86_64/quassel.service
(from rev 408672, quassel/trunk/quassel.service)
quassel/repos/community-testing-x86_64/quassel.sysusers
(from rev 408672, quassel/trunk/quassel.sysusers)
quassel/repos/community-testing-x86_64/quassel.tmpfiles
(from rev 408672, quassel/trunk/quassel.tmpfiles)
------------------+
PKGBUILD | 122 +++++++++++++++++++++++++++++++++++++++++++++++++++++
quassel.conf | 2
quassel.service | 14 ++++++
quassel.sysusers | 1
quassel.tmpfiles | 1
5 files changed, 140 insertions(+)
Copied: quassel/repos/community-testing-x86_64/PKGBUILD (from rev 408672, quassel/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2018-11-18 10:26:47 UTC (rev 408673)
@@ -0,0 +1,122 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Vesa Kaihlavirta <vegai at iki.fi>
+
+pkgbase=quassel
+pkgname=('quassel-core'
+ 'quassel-client'
+ 'quassel-client-small'
+ 'quassel-monolithic')
+pkgver=0.13.0
+pkgrel=1
+pkgdesc="Next-generation distributed IRC client"
+arch=('x86_64')
+url="https://quassel-irc.org/"
+license=('GPL')
+makedepends=('qt5-base' 'qt5-tools' 'qt5-webengine' 'qca-qt5' 'qt5-script'
+ 'qt5-multimedia' 'knotifyconfig' 'sonnet' 'libldap' 'cmake'
+ 'extra-cmake-modules' 'python' 'hicolor-icon-theme' 'ninja')
+source=(https://quassel-irc.org/pub/$pkgbase-$pkgver.tar.bz2
+ $pkgbase.service
+ $pkgbase.sysusers
+ $pkgbase.tmpfiles
+ $pkgbase.conf)
+sha256sums=('d9822002de5bb1fd1002cccd537e5a0bc8ec365d355fdff4fb7818daefade976'
+ '5dbe20290f3361b9b7a74a52905137e76b656976febf2d31082a2276f9dcde7f'
+ '3c72441a99e2668c6a8a751fa07beeb44f937576c8a1b5f615e4a55f841d93d9'
+ '2afd4340c7713f6533e5d175a86b28fd118ecd907776c2b10925d1a4fb31cdca'
+ 'f3031ea8217e01ba42cea14606169e3e27affa5918968ffd5a03c21ae92fe2b8')
+
+prepare() {
+ cd $pkgbase-$pkgver
+}
+
+_build() (
+ mkdir -p build-$1
+ cd build-$1
+ cmake -G Ninja ../$pkgbase-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr/ \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DHAVE_SSL=ON \
+ "${@:2}" \
+ -Wno-dev
+ cmake --build .
+)
+
+_install() {
+ DESTDIR="${pkgdir}" cmake --build build-$1 --target install
+}
+
+build() {
+ _build core \
+ -DWANT_QTCLIENT=OFF \
+ -DWANT_MONO=OFF \
+ -DWITH_BUNDLED_ICONS=OFF \
+ -DWITH_WEBENGINE=OFF
+
+ _build monolithic \
+ -DWANT_CORE=OFF \
+ -DWANT_QTCLIENT=OFF \
+ -DWITH_KDE=ON
+
+ _build client \
+ -DWANT_CORE=OFF \
+ -DWANT_MONO=OFF \
+ -DWITH_KDE=ON
+
+ _build client-small \
+ -DWANT_CORE=OFF \
+ -DWANT_MONO=OFF \
+ -DWITH_WEBENGINE=OFF \
+ -DCMAKE_DISABLE_FIND_PACKAGE_dbusmenu-qt5=ON \
+ -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Multimedia=ON \
+ -DCMAKE_DISABLE_FIND_PACKAGE_Phonon4Qt5=ON
+}
+
+package_quassel-core() {
+pkgdesc="Next-generation distributed IRC client - core only"
+depends=('icu' 'qca-qt5' 'qt5-script' 'libldap')
+optdepends=('postgresql: PostgreSQL database support')
+backup=(etc/conf.d/quassel)
+
+ _install core
+
+ # Remove unneeded pixmap icons
+ rm -r "${pkgdir}"/usr/share
+
+ install -Dm644 $pkgbase.sysusers \
+ "${pkgdir}"/usr/lib/sysusers.d/$pkgbase.conf
+ install -Dm644 $pkgbase.tmpfiles \
+ "${pkgdir}"/usr/lib/tmpfiles.d/$pkgbase.conf
+ install -Dm644 $pkgbase.service \
+ "${pkgdir}"/usr/lib/systemd/system/$pkgbase.service
+ install -Dm644 $pkgbase.conf \
+ "${pkgdir}"/etc/conf.d/$pkgbase
+}
+
+package_quassel-client() {
+pkgdesc="Next-generation distributed IRC client - client only"
+depends=('qt5-base' 'qt5-webengine' 'qt5-multimedia' 'knotifyconfig'
+ 'hicolor-icon-theme')
+conflicts=('quassel-monolithic' 'quassel-client-small')
+
+ _install client
+}
+
+package_quassel-client-small() {
+pkgdesc="Next-generation distributed IRC client - client only, reduced deps"
+depends=('qt5-base' 'sonnet' 'hicolor-icon-theme')
+conflicts=('quassel-monolithic' 'quassel-client')
+replaces=('quassel-remote')
+
+ _install client-small
+}
+
+package_quassel-monolithic() {
+pkgdesc="Next-generation distributed IRC client - monolithic"
+depends=('qt5-base' 'qt5-webengine' 'qt5-multimedia' 'qt5-script' 'qca-qt5'
+ 'knotifyconfig' 'libldap' 'hicolor-icon-theme')
+optdepends=('postgresql: PostgreSQL database support')
+conflicts=('quassel-client' 'quassel-client-small')
+
+ _install monolithic
+}
Copied: quassel/repos/community-testing-x86_64/quassel.conf (from rev 408672, quassel/trunk/quassel.conf)
===================================================================
--- community-testing-x86_64/quassel.conf (rev 0)
+++ community-testing-x86_64/quassel.conf 2018-11-18 10:26:47 UTC (rev 408673)
@@ -0,0 +1,2 @@
+QUASSEL_USER=quassel
+LISTEN=127.0.0.1
Copied: quassel/repos/community-testing-x86_64/quassel.service (from rev 408672, quassel/trunk/quassel.service)
===================================================================
--- community-testing-x86_64/quassel.service (rev 0)
+++ community-testing-x86_64/quassel.service 2018-11-18 10:26:47 UTC (rev 408673)
@@ -0,0 +1,14 @@
+[Unit]
+Description=Quassel Core
+After=network.target postgresql.service
+Wants=postgresql.service
+
+[Service]
+User=quassel
+Group=quassel
+PIDFile=/var/run/quassel.pid
+EnvironmentFile=/etc/conf.d/quassel
+ExecStart=/usr/bin/quasselcore --configdir=/var/lib/quassel
+
+[Install]
+WantedBy=multi-user.target
Copied: quassel/repos/community-testing-x86_64/quassel.sysusers (from rev 408672, quassel/trunk/quassel.sysusers)
===================================================================
--- community-testing-x86_64/quassel.sysusers (rev 0)
+++ community-testing-x86_64/quassel.sysusers 2018-11-18 10:26:47 UTC (rev 408673)
@@ -0,0 +1 @@
+u quassel - - /var/lib/quassel
Copied: quassel/repos/community-testing-x86_64/quassel.tmpfiles (from rev 408672, quassel/trunk/quassel.tmpfiles)
===================================================================
--- community-testing-x86_64/quassel.tmpfiles (rev 0)
+++ community-testing-x86_64/quassel.tmpfiles 2018-11-18 10:26:47 UTC (rev 408673)
@@ -0,0 +1 @@
+d /var/lib/quassel - quassel quassel - -
More information about the arch-commits
mailing list