[arch-commits] Commit in quassel/repos/community-i686 (6 files)

Jaroslav Lichtblau jlichtblau at archlinux.org
Tue Apr 28 21:36:26 UTC 2015


    Date: Tuesday, April 28, 2015 @ 23:36:26
  Author: jlichtblau
Revision: 132477

archrelease: copy trunk to community-i686

Added:
  quassel/repos/community-i686/PKGBUILD
    (from rev 132476, quassel/trunk/PKGBUILD)
  quassel/repos/community-i686/quassel-client.install
    (from rev 132476, quassel/trunk/quassel-client.install)
  quassel/repos/community-i686/quassel-monolithic.install
    (from rev 132476, quassel/trunk/quassel-monolithic.install)
  quassel/repos/community-i686/quassel.conf
    (from rev 132476, quassel/trunk/quassel.conf)
  quassel/repos/community-i686/quassel.install
    (from rev 132476, quassel/trunk/quassel.install)
  quassel/repos/community-i686/quassel.service
    (from rev 132476, quassel/trunk/quassel.service)

----------------------------+
 PKGBUILD                   |  113 +++++++++++++++++++++++++++++++++++++++++++
 quassel-client.install     |    9 +++
 quassel-monolithic.install |    9 +++
 quassel.conf               |    2 
 quassel.install            |   21 +++++++
 quassel.service            |   14 +++++
 6 files changed, 168 insertions(+)

Copied: quassel/repos/community-i686/PKGBUILD (from rev 132476, quassel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-04-28 21:36:26 UTC (rev 132477)
@@ -0,0 +1,113 @@
+# $Id$
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+
+pkgbase=quassel
+pkgname=('quassel-client' 'quassel-core' 'quassel-monolithic')
+pkgver=0.12.2
+pkgrel=1
+pkgdesc="Next-generation distributed IRC client"
+arch=('i686' 'x86_64')
+url="http://quassel-irc.org/"
+license=('GPL')
+makedepends=('cmake' 'extra-cmake-modules' 'qt5-base' 'qt5-tools' 'qca-qt5' 'qt5-script' 'knotifyconfig')
+source=(http://quassel-irc.org/pub/$pkgbase-$pkgver.tar.bz2
+        $pkgbase.service
+        $pkgbase.conf)
+sha256sums=('6bd6f79ecb88fb857bea7e89c767a3bd0f413ff01bae9298dd2e563478947897'
+            '5dbe20290f3361b9b7a74a52905137e76b656976febf2d31082a2276f9dcde7f'
+            'f3031ea8217e01ba42cea14606169e3e27affa5918968ffd5a03c21ae92fe2b8')
+
+build() {
+  cd "${srcdir}"
+  [[ ! -d build ]] && mkdir build
+  [[ ! -d build-client ]] && mkdir build-client
+  [[ ! -d build-mono ]] && mkdir build-mono
+
+  # Core
+  cd "${srcdir}"/build
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr/ \
+    -DWITH_KDE=OFF \
+    -DUSE_QT5=ON \
+    -DWITH_OPENSSL=ON \
+    -DWANT_CORE=ON \
+    -DWANT_MONO=OFF \
+    -DWANT_QTCLIENT=OFF \
+    -DWITH_DBUS=OFF \
+    -DWITH_OXYGEN=OFF \
+    -DWITH_PHONON=OFF \
+    -DWITH_WEBKIT=OFF \
+    -DCMAKE_BUILD_TYPE="Release" \
+    ../quassel-${pkgver}/ \
+    -Wno-dev
+  make
+
+  # Client
+  cd "${srcdir}"/build-client
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr/ \
+    -DUSE_QT5=ON \
+    -DWITH_KDE=ON \
+    -DWITH_OPENSSL=ON \
+    -DWANT_CORE=OFF \
+    -DWANT_QTCLIENT=ON \
+    -DWANT_MONO=OFF \
+    -DCMAKE_BUILD_TYPE="Release" \
+    ../quassel-${pkgver}/ \
+    -Wno-dev
+  make
+
+  # Monolithic
+  cd "${srcdir}"/build-mono
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr/ \
+    -DUSE_QT5=ON \
+    -DWITH_KDE=ON \
+    -DWITH_OPENSSL=ON \
+    -DWANT_CORE=OFF \
+    -DWANT_QTCLIENT=OFF \
+    -DWANT_MONO=ON \
+    -DCMAKE_BUILD_TYPE="Release" \
+    ../quassel-${pkgver}/ \
+    -Wno-dev
+  make
+}
+
+package_quassel-core() {
+pkgdesc="Next-generation distributed IRC client - core only"
+depends=('icu' 'qca-qt5' 'qt5-script')
+backup=(etc/conf.d/quassel)
+install=quassel.install
+  cd "${srcdir}"/build
+
+  make DESTDIR="${pkgdir}" install
+
+  # Remove unneeded pixmap icons
+  rm -r "${pkgdir}"/usr/share
+
+  install -Dm644 "${srcdir}"/$pkgbase.service \
+    "${pkgdir}"/usr/lib/systemd/system/$pkgbase.service
+  install -Dm644 "${srcdir}"/$pkgbase.conf \
+    "${pkgdir}"/etc/conf.d/$pkgbase
+}
+
+package_quassel-client() {
+pkgdesc="Next-generation distributed IRC client - client only"
+depends=('qt5-base' 'knotifyconfig' 'qt5-webkit')
+conflicts=('quassel-monolithic')
+install=quassel-client.install
+  cd "${srcdir}"/build-client
+
+  make DESTDIR="${pkgdir}" install
+}
+
+package_quassel-monolithic() {
+pkgdesc="Next-generation distributed IRC client - monolithic"
+depends=('qt5-base' 'knotifyconfig' 'qt5-webkit' 'qt5-script')
+conflicts=('quassel-client')
+install=quassel-monolithic.install
+  cd "${srcdir}"/build-mono
+
+  make DESTDIR="${pkgdir}" install
+}

Copied: quassel/repos/community-i686/quassel-client.install (from rev 132476, quassel/trunk/quassel-client.install)
===================================================================
--- quassel-client.install	                        (rev 0)
+++ quassel-client.install	2015-04-28 21:36:26 UTC (rev 132477)
@@ -0,0 +1,9 @@
+post_install() {
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+post_upgrade() {
+    post_install
+}
+post_remove() {
+    post_install
+}

Copied: quassel/repos/community-i686/quassel-monolithic.install (from rev 132476, quassel/trunk/quassel-monolithic.install)
===================================================================
--- quassel-monolithic.install	                        (rev 0)
+++ quassel-monolithic.install	2015-04-28 21:36:26 UTC (rev 132477)
@@ -0,0 +1,9 @@
+post_install() {
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+post_upgrade() {
+    post_install
+}
+post_remove() {
+    post_install
+}

Copied: quassel/repos/community-i686/quassel.conf (from rev 132476, quassel/trunk/quassel.conf)
===================================================================
--- quassel.conf	                        (rev 0)
+++ quassel.conf	2015-04-28 21:36:26 UTC (rev 132477)
@@ -0,0 +1,2 @@
+QUASSEL_USER=quassel
+LISTEN=127.0.0.1

Copied: quassel/repos/community-i686/quassel.install (from rev 132476, quassel/trunk/quassel.install)
===================================================================
--- quassel.install	                        (rev 0)
+++ quassel.install	2015-04-28 21:36:26 UTC (rev 132477)
@@ -0,0 +1,21 @@
+post_install() {
+  useradd -r -s /bin/false -d /var/lib/quassel quassel
+  mkdir -p /var/lib/quassel && chown -R quassel:quassel /var/lib/quassel
+#  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+  [ `vercmp $2 0.5.2-1` -le 0 ] && (
+    cat <<EOF
+
+==> - quasselcore now runs as the quassel user
+==> - quasselcore now listens to port 127.0.0.1 by default
+==> - both of above are configurable: /etc/conf.d/quassel
+EOF
+    post_install
+  ) || true
+}
+
+post_remove() {
+  userdel quassel
+}

Copied: quassel/repos/community-i686/quassel.service (from rev 132476, quassel/trunk/quassel.service)
===================================================================
--- quassel.service	                        (rev 0)
+++ quassel.service	2015-04-28 21:36:26 UTC (rev 132477)
@@ -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



More information about the arch-commits mailing list