void-packages/srcpkgs/telepathy-qt/template

36 lines
1.1 KiB
Bash
Raw Normal View History

# Template file for 'telepathy-qt'
pkgname=telepathy-qt
2015-05-16 11:46:01 +02:00
version=0.9.6
revision=2
build_style=cmake
configure_args="-DENABLE_EXAMPLES=OFF -DENABLE_TESTS=OFF"
hostmakedepends="cmake pkg-config"
makedepends="qt-devel telepathy-farstream-devel telepathy-glib-devel gstreamer-devel"
short_desc="Qt4 bindings for the Telepathy D-Bus protocol"
2015-05-16 11:46:01 +02:00
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://telepathy.freedesktop.org/"
distfiles="http://telepathy.freedesktop.org/releases/${pkgname}/${pkgname}-${version}.tar.gz"
2015-05-16 11:46:01 +02:00
checksum=0c57dd7bf7adcf24e6c60f1f52d22b159c17b30257ac61214baf74560ad0f048
2015-05-16 11:46:01 +02:00
subpackages="telepathy-qt-farstream telepathy-qt-devel"
telepathy-qt-farstream_package() {
depends="telepathy-qt>=${version}_${revision}"
pkg_install() {
vmove usr/lib/pkgconfig/TelepathyQt4Farstream.pc
vmove usr/lib/*-farstream.so.*
}
}
telepathy-qt-devel_package() {
depends="telepathy-qt>=${version}_${revision} telepathy-qt-farstream>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake/TelepathyQt4*
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}