2015-07-10 21:32:38 +00:00
|
|
|
# Template file for 'kadu'
|
|
|
|
pkgname=kadu
|
2016-03-02 14:54:15 +00:00
|
|
|
version=3.0
|
2016-03-23 14:19:52 +00:00
|
|
|
revision=3
|
2015-07-10 21:32:38 +00:00
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DCMAKE_PREFIX_PATH=${XBPS_CROSS_BASE}/usr
|
|
|
|
-DQCA2_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include/QtCrypto
|
|
|
|
-DQCA2_LIBRARIES=qca -Wno-dev"
|
|
|
|
hostmakedepends="cmake pkg-config"
|
|
|
|
makedepends="libao-devel libsndfile-devel libarchive-devel
|
|
|
|
enchant-devel injeqt-devel libgadu-devel libotr-devel
|
2016-03-21 15:08:31 +00:00
|
|
|
qt5-devel qt5-xmlpatterns-devel qt5-declarative-devel qt5-multimedia-devel
|
2015-07-10 21:32:38 +00:00
|
|
|
qt5-script-devel qt5-svg-devel qt5-tools-devel qt5-webkit-devel qt5-x11extras-devel
|
2016-03-02 14:54:15 +00:00
|
|
|
qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
|
|
|
|
libmpdclient-devel qca-qt5-devel qxmpp-devel phonon-qt5-devel libXScrnSaver-devel"
|
2015-07-10 21:32:38 +00:00
|
|
|
depends="hicolor-icon-theme qca-qt5-ossl ${pkgname}-data-${version}_${revision}"
|
|
|
|
short_desc="Instant Messenger client"
|
|
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.kadu.im/"
|
|
|
|
distfiles="http://download.kadu.im/stable/${pkgname}-${version}.tar.bz2"
|
2016-03-02 14:54:15 +00:00
|
|
|
checksum=3f5c0a66a33d1244acd981aef5c268d94185956754ca62e0c4295f7b50700366
|
2015-07-10 21:32:38 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
# Disable plugins which require pkgs Void does not ship (yet)
|
|
|
|
# unity_integration: Ubuntu
|
|
|
|
# indicator_docking: requires messaging-menu
|
|
|
|
# word_fix: not packaged
|
|
|
|
sed -i ${wrksrc}/Plugins.cmake \
|
|
|
|
-e "s;unity_integration$;;" \
|
|
|
|
-e "s;indicator_docking$;;" \
|
|
|
|
-e "s;word_fix$;;"
|
|
|
|
# Using the __useconds_t type is wrong here, see man usleep(3)
|
|
|
|
sed -i ${wrksrc}/plugins/pcspeaker/pcspeaker.cpp \
|
|
|
|
-e "s;__useconds_t;useconds_t;g"
|
|
|
|
}
|
|
|
|
|
|
|
|
kadu-data_package() {
|
|
|
|
short_desc+=" - data files"
|
|
|
|
noarch=yes
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/share/icons
|
|
|
|
vmove "usr/share/kadu/configuration/*.ui"
|
|
|
|
vmove usr/share/kadu/themes
|
|
|
|
vmove usr/share/kadu/scripts
|
|
|
|
vmove usr/share/kadu/syntax
|
|
|
|
vmove "usr/share/kadu/plugins/*.desc"
|
|
|
|
vmove "usr/share/kadu/plugins/configuration/*.ui"
|
|
|
|
vmove usr/share/kadu/translations
|
|
|
|
vmove usr/share/kadu/plugins/data
|
|
|
|
vmove usr/share/kadu/plugins/translations
|
|
|
|
}
|
|
|
|
}
|
|
|
|
kadu-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share/cmake
|
|
|
|
vmove usr/share/kadu/sdk
|
|
|
|
}
|
|
|
|
}
|