void-packages/srcpkgs/kdnssd/template

26 lines
837 B
Bash

# Template file for 'kdnssd'
pkgname=kdnssd
version=5.39.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-tools-devel"
makedepends="qt5-devel qt5-tools-devel avahi-libs-devel"
short_desc="Network service discovery using Zeroconf"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kdnssd"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=e550cf9af93f9b22b49a812610cd31f286caf17cf44c82ed9b6d4290390f0db1
kdnssd-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/qt5/mkspecs
vmove usr/lib/cmake
vmove usr/lib/*.so
}
}