void-packages/srcpkgs/kfilemetadata/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

23 lines
825 B
Bash

# Template file for 'kfilemetadata'
pkgname=kfilemetadata
version=4.14.2
revision=2
build_style=cmake
configure_args="-Wno-dev -DKDE4_BUILD_TESTS=OFF"
hostmakedepends="cmake automoc4 pkg-config"
makedepends="zlib-devel libressl-devel qt-devel phonon-devel kdelibs-devel
poppler-qt4-devel ffmpeg-devel taglib-devel exiv2-devel"
short_desc="A library for extracting file metadata"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1, LGPL-3"
homepage="https://projects.kde.org/projects/kde/kdelibs/kfilemetadata"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=bffe6f1b5eb46d0abe783c466d0b2cd02085c0bbb444ad1efc614f93997d612b
kfilemetadata-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
}
}