summaryrefslogtreecommitdiff
path: root/community/quassel/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-05-30 11:55:09 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-05-30 11:55:09 +0200
commitb0fdec08ea3b6e162b710ca98b0dd56f9ae105eb (patch)
tree376cc5751d9a587815d7270caa61070f38832766 /community/quassel/PKGBUILD
parent8abbf69cf497489fb7a0ac3538cb6975285486b7 (diff)
parent76ee9007095484a113d1856786b81e2d2fae8202 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/apcupsd/PKGBUILD community/bmp-musepack/PKGBUILD community/bmp-wma/PKGBUILD community/bonnie++/PKGBUILD community/cantata/PKGBUILD community/checkinstall/PKGBUILD community/chrootuid/PKGBUILD community/compiz-bcop/PKGBUILD community/compiz-fusion-plugins-extra/PKGBUILD community/compiz-fusion-plugins-main/PKGBUILD community/compiz/PKGBUILD community/compizconfig-backend-gconf/PKGBUILD community/compizconfig-python/PKGBUILD community/ekg2/PKGBUILD community/emerald/PKGBUILD community/fbgetty/PKGBUILD community/flumotion/PKGBUILD community/leafnode/PKGBUILD community/libcompizconfig/PKGBUILD community/libdnet/PKGBUILD community/libee/PKGBUILD community/libtxc_dxtn/PKGBUILD community/linux-tools/PKGBUILD community/openntpd/PKGBUILD community/osiris/PKGBUILD community/perl-package-stash-xs/PKGBUILD community/perl-params-util/PKGBUILD community/procstatd/PKGBUILD community/scponly/PKGBUILD community/sniffit/PKGBUILD community/synergy/PKGBUILD community/turbojpeg/PKGBUILD community/unbound/PKGBUILD community/uucp/PKGBUILD core/gawk/PKGBUILD core/ifenslave/PKGBUILD core/jfsutils/PKGBUILD core/openldap/PKGBUILD core/rfkill/PKGBUILD core/systemd/PKGBUILD core/wireless_tools/PKGBUILD core/xinetd/PKGBUILD extra/avahi/PKGBUILD extra/calligra/PKGBUILD extra/clutter-gst/PKGBUILD extra/flac/PKGBUILD extra/hddtemp/PKGBUILD extra/libbluray/PKGBUILD extra/libdmx/PKGBUILD extra/libfs/PKGBUILD extra/libjpeg-turbo/PKGBUILD extra/libtiff/PKGBUILD extra/libxau/PKGBUILD extra/libxfixes/PKGBUILD extra/licq/PKGBUILD extra/mariadb/PKGBUILD extra/mesa/PKGBUILD extra/perl-guard/PKGBUILD extra/perl-template-toolkit/PKGBUILD extra/pidgin/PKGBUILD extra/pigeonhole/PKGBUILD extra/poppler/PKGBUILD extra/postgresql/PKGBUILD extra/python-geoip/PKGBUILD extra/python/PKGBUILD extra/samba/PKGBUILD extra/sqlite/PKGBUILD extra/vde2/PKGBUILD extra/vim/PKGBUILD extra/vlc/PKGBUILD extra/wireshark/PKGBUILD extra/xfce4-dict/PKGBUILD libre/libquicktime-libre/PKGBUILD libre/xscreensaver-libre/PKGBUILD
Diffstat (limited to 'community/quassel/PKGBUILD')
-rw-r--r--community/quassel/PKGBUILD86
1 files changed, 63 insertions, 23 deletions
diff --git a/community/quassel/PKGBUILD b/community/quassel/PKGBUILD
index d47a1edc8..da26dca53 100644
--- a/community/quassel/PKGBUILD
+++ b/community/quassel/PKGBUILD
@@ -1,50 +1,90 @@
-# $Id: PKGBUILD 79252 2012-11-01 19:02:54Z mtorromeo $
+# $Id: PKGBUILD 91733 2013-05-26 19:25:26Z jelle $
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
-pkgname=quassel
-pkgver=0.8.0
-pkgrel=2
+pkgbase=quassel
+pkgname=('quassel-client' 'quassel-core')
+pkgver=0.9.0
+pkgrel=1
pkgdesc="QT4 irc client with a separated core"
arch=('i686' 'x86_64' 'mips64el')
url="http://quassel-irc.org/"
license=('GPL')
-depends=('kdebase-runtime')
-makedepends=('cmake' 'automoc4')
-install=quassel.install
-backup=(etc/conf.d/quassel)
-source=("http://quassel-irc.org/pub/$pkgname-$pkgver.tar.bz2"
+makedepends=('cmake' 'automoc4' 'qt4' 'icu')
+source=("http://quassel-irc.org/pub/quassel-$pkgver.tar.bz2"
'quassel.service'
- 'rc.quassel'
'quassel.conf')
-sha256sums=('a3515bd18e2b100eb9a72480e76b1faefaa5e84cdb236b6af1f05b477a1e9071'
+
+sha256sums=('2e3fe06ae3731c829aa3c2f6bb5320619bad264c831f322985c3aa3fe58b6027'
'91a1aaae47d41c11aa418dd560039ddbbfb659e02b86379d8c4789c5ada362d3'
- '845e621448a51ec181554e9327bfcc3a3de1501ae8f70410f0b9b8991ac171b0'
'f3031ea8217e01ba42cea14606169e3e27affa5918968ffd5a03c21ae92fe2b8')
-
build() {
+ cd $srcdir
[[ ! -d build ]] && mkdir build
+ mkdir build-client
+
+ # Core
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr/ \
- -DWITH_KDE=1 \
+ -DWITH_KDE=0 \
+ -DCMAKE_BUILD_TYPE="Release" \
+ -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/ \
+ -DWITH_KDE=0 \
+ -DWITH_OPENSSL=ON \
-DCMAKE_BUILD_TYPE="Release" \
- ../${pkgname}-${pkgver}/ \
+ -DWANT_CORE=OFF \
+ -DWANT_QTCLIENT=ON \
+ -DWANT_MONO=ON \
+ ../quassel-${pkgver}/ \
-Wno-dev
make
+
}
-package() {
- cd build
+package_quassel-core() {
+pkgdesc="Qt4 IRC client with a separated core - core only"
+depends=('qt4' 'icu')
+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="Qt4 IRC client with a separated core - client only"
+depends=('qt4')
+install=quassel-client.install
+ cd $srcdir/build-client
- install -Dm644 "${srcdir}"/$pkgname.service \
- "${pkgdir}"/usr/lib/systemd/system/$pkgname.service
- install -D "${srcdir}"/rc.$pkgname \
- "${pkgdir}"/etc/rc.d/$pkgname
- install -Dm644 "${srcdir}"/$pkgname.conf \
- "${pkgdir}"/etc/conf.d/$pkgname
+ make DESTDIR=${pkgdir} install
}