void-packages/srcpkgs/libkexiv2/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

24 lines
762 B
Bash

# Template file for 'libkexiv2'
pkgname=libkexiv2
version=4.14.2
revision=1
build_style=cmake
hostmakedepends="cmake automoc4 pkg-config"
makedepends="qt-devel phonon-devel exiv2-devel kdelibs-devel"
short_desc="A library to manipulate pictures metadata"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL, LGPL, FDL"
homepage="https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=7cb2132659099a5e7b6f04075837b97fbe4f1d6d2c0844b9d474f41c5a3710a7
libkexiv2-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}