telepathy-qt5: update to 0.9.8.

This commit is contained in:
classabbyamp 2023-10-07 22:38:20 -04:00 committed by classabbyamp
parent 6ebcc269c5
commit bffe2ca4c3
2 changed files with 6 additions and 22 deletions

View File

@ -2238,7 +2238,7 @@ libqt5keychain.so.1 qtkeychain-qt5-0.7.0_1
libphonon4qt5.so.4 phonon-qt5-4.8.3_1
libphonon4qt5experimental.so.4 phonon-qt5-4.8.3_1
libtelepathy-qt5.so.0 telepathy-qt5-0.9.5_1
libtelepathy-qt5-service.so.0 telepathy-qt5-0.9.7_1
libtelepathy-qt5-service.so.1 telepathy-qt5-0.9.8_1
libtelepathy-qt5-farstream.so.0 telepathy-qt5-farstream-0.9.5_1
libKF5Attica.so.5 attica-5.6.0_1
liblastfm_fingerprint5.so.1 liblastfm-qt5-1.0.9_1

View File

@ -1,43 +1,27 @@
# Template file for 'telepathy-qt5'
pkgname=telepathy-qt5
version=0.9.7
version=0.9.8
revision=1
build_style=cmake
configure_args="
-DENABLE_EXAMPLES=OFF
-DENABLE_TESTS=OFF
-DDESIRED_QT_VERSION=5
-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt5"
hostmakedepends="python pkg-config"
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"
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=21bad30be7ebc4ba667d53d92cd1cec1be23114103f2149404d9740721693d4f
checksum=bf8e2a09060addb80475a4938105b9b41d9e6837999b7a00e5351783857e18ad
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
configure_args+=" -DPYTHON_SHORT_VERSION=2.7"
configure_args+=" -DPYTHON_LONG_VERSION=2.7.3"
configure_args+=" -DPYTHON_SITE_PACKAGES_DIR=${XBPS_CROSS_BASE}/usr/lib/python2.7/site-packages"
configure_args+=" -DPYTHON_INCLUDE_PATH=${XBPS_CROSS_BASE}/usr/include/python2.7"
configure_args+=" -DCMAKE_PYTHON_LIBRARIES=${XBPS_CROSS_BASE}/usr/lib"
fi
CXXFLAGS="-D_DEFAULT_SOURCE"
subpackages="telepathy-qt5-farstream telepathy-qt5-devel"
post_extract() {
if [ -n "$CROSS_BUILD" ]; then
# cmake/FindPythonLibrary.cmake fails when cross compiling
sed -i CMakeLists.txt -e "/find_package(PythonLibrary ${REQUIRED_PY} REQUIRED)/d"
fi
}
telepathy-qt5-farstream_package() {
short_desc+=" - farstream component"
depends="telepathy-qt5>=${version}_${revision}"