42 lines
1.3 KiB
Bash
42 lines
1.3 KiB
Bash
# Template file for 'telepathy-qt5'
|
|
pkgname=telepathy-qt5
|
|
version=0.9.8
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DENABLE_EXAMPLES=OFF -DENABLE_TESTS=OFF"
|
|
hostmakedepends="python3 pkg-config"
|
|
makedepends="qt5-devel telepathy-farstream-devel telepathy-glib-devel
|
|
gstreamer1-devel libxml2-devel"
|
|
short_desc="Qt5 bindings for the Telepathy D-Bus protocol"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://telepathy.freedesktop.org/"
|
|
distfiles="http://telepathy.freedesktop.org/releases/${pkgname//5/}/${pkgname//5/}-${version}.tar.gz"
|
|
checksum=bf8e2a09060addb80475a4938105b9b41d9e6837999b7a00e5351783857e18ad
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-devel"
|
|
fi
|
|
|
|
CXXFLAGS="-D_DEFAULT_SOURCE"
|
|
|
|
subpackages="telepathy-qt5-farstream telepathy-qt5-devel"
|
|
|
|
telepathy-qt5-farstream_package() {
|
|
short_desc+=" - farstream component"
|
|
depends="telepathy-qt5>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/lib/*-farstream.so.*
|
|
}
|
|
}
|
|
telepathy-qt5-devel_package() {
|
|
depends="telepathy-qt5>=${version}_${revision} telepathy-qt5-farstream>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake/TelepathyQt5*
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|