41 lines
1.2 KiB
Bash
41 lines
1.2 KiB
Bash
|
# Template file for 'telepathy-qt'
|
||
|
pkgname=telepathy-qt5
|
||
|
version=0.9.5
|
||
|
revision=1
|
||
|
wrksrc=${pkgname//5/}-${version}
|
||
|
build_style=cmake
|
||
|
configure_args="
|
||
|
-DENABLE_EXAMPLES=OFF
|
||
|
-DENABLE_TESTS=OFF
|
||
|
-DDESIRED_QT_VERSION=5
|
||
|
-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt5"
|
||
|
hostmakedepends="cmake pkg-config"
|
||
|
makedepends="qt5-devel telepathy-farstream-devel telepathy-glib-devel gstreamer-devel"
|
||
|
short_desc="Qt5 bindings for the Telepathy D-Bus protocol"
|
||
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||
|
license="LGPL-2.1"
|
||
|
homepage="http://telepathy.freedesktop.org/"
|
||
|
distfiles="http://telepathy.freedesktop.org/releases/${pkgname//5/}/${pkgname//5/}-${version}.tar.gz"
|
||
|
checksum=93474858efe55bf45ee9352f88b852d4a24505939dc81a3a3c6fa5a686809c8e
|
||
|
|
||
|
subpackages="telepathy-qt5-farstream telepathy-qt5-devel"
|
||
|
|
||
|
telepathy-qt5-farstream_package() {
|
||
|
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/*.a
|
||
|
vmove usr/lib/pkgconfig
|
||
|
}
|
||
|
}
|