66 lines
1.9 KiB
Bash
66 lines
1.9 KiB
Bash
# Template file for 'quassel'
|
|
pkgname=quassel
|
|
version=0.13.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DWANT_QTCLIENT=ON -DWANT_MONO=ON -DWANT_CORE=ON -DUSE_QT5=ON
|
|
-DWITH_BUNDLED_ICONS=OFF"
|
|
hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
|
|
makedepends="libdbusmenu-qt5-devel phonon-qt5-devel qca-qt5-devel
|
|
qt5-multimedia-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql
|
|
qt5-plugin-sqlite qt5-plugin-tds qt5-script-devel qt5-tools-devel
|
|
snorenotify-devel $(vopt_if ldap libldap-devel)"
|
|
depends="qt5-plugin-sqlite quassel-client-shared>=${version}_${revision}"
|
|
_desc="Modern, cross-platform, distributed graphical IRC client"
|
|
short_desc="${_desc} - standalone client"
|
|
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
|
|
license="GPL-2.0-only, GPL-3.0-only"
|
|
homepage="https://www.quassel-irc.org"
|
|
distfiles="https://quassel-irc.org/pub/quassel-${version}.tar.bz2"
|
|
checksum=48efee9778743b1db9f44efb91d1c913104db01190c57f2ff57483c39a97e855
|
|
|
|
build_options="ldap"
|
|
|
|
post_install() {
|
|
vsv quasselcore
|
|
}
|
|
|
|
quassel-client-shared_package() {
|
|
replaces="quassel-shared>=0"
|
|
conflicts="quassel-shared>=0"
|
|
short_desc="${_desc} - common client files"
|
|
depends="desktop-file-utils"
|
|
pkg_install() {
|
|
vmove /usr/share/quassel
|
|
vmove /usr/share/icons
|
|
vmove /usr/share/pixmaps
|
|
}
|
|
}
|
|
|
|
quassel-core_package() {
|
|
replaces="quasselcore>=0"
|
|
conflicts="quasselcore>=0"
|
|
depends="qt5-plugin-sqlite"
|
|
short_desc="${_desc} - server"
|
|
system_accounts="quassel"
|
|
quassel_homedir=/var/lib/quassel
|
|
make_dirs="
|
|
/var/lib/quassel 0750 quassel quassel
|
|
/var/log/quassel 0750 quassel quassel"
|
|
pkg_install() {
|
|
vmove /usr/bin/quasselcore
|
|
vmove /etc/sv
|
|
}
|
|
}
|
|
|
|
quassel-client_package() {
|
|
replaces="quasselclient>=0"
|
|
conflicts="quasselclient>=0"
|
|
depends="quassel-client-shared>=${version}_${revision}"
|
|
short_desc="${_desc} - distributed client"
|
|
pkg_install() {
|
|
vmove /usr/share/applications/quasselclient.desktop
|
|
vmove /usr/bin/quasselclient
|
|
}
|
|
}
|