2014-05-02 09:33:45 +00:00
|
|
|
# Template file for 'lensfun'
|
|
|
|
pkgname=lensfun
|
2015-05-11 07:16:10 +00:00
|
|
|
version=0.3.1
|
2014-11-24 14:52:32 +00:00
|
|
|
revision=1
|
2014-05-02 09:33:45 +00:00
|
|
|
build_style=cmake
|
2015-05-11 07:16:10 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-05-02 09:33:45 +00:00
|
|
|
homepage="http://lensfun.sourceforge.net/"
|
2014-11-24 14:52:32 +00:00
|
|
|
license="LGPL-3"
|
2014-05-02 09:54:47 +00:00
|
|
|
short_desc="Library to correct optical lens defects and lens database"
|
2015-05-11 07:23:52 +00:00
|
|
|
hostmakedepends="cmake pkg-config python"
|
|
|
|
makedepends="libglib-devel"
|
2015-05-11 07:16:10 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=216c23754212e051c8b834437e46af3812533bd770c09714e8c06c9d91cdb535
|
2014-05-02 09:33:45 +00:00
|
|
|
|
2014-11-24 16:27:06 +00:00
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
i686*|x86_64*);;
|
|
|
|
*) configure_args+=" -DBUILD_FOR_SSE=0 -DBUILD_FOR_SSE2=0";;
|
|
|
|
esac
|
|
|
|
|
2014-05-02 09:33:45 +00:00
|
|
|
lensfun-devel_package() {
|
2014-05-02 09:54:47 +00:00
|
|
|
depends="lensfun>=${version}_${revision}"
|
2014-05-02 09:33:45 +00:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-05-02 09:54:47 +00:00
|
|
|
vmove usr/lib/*.so
|
2014-05-02 09:33:45 +00:00
|
|
|
}
|
2014-05-02 09:54:47 +00:00
|
|
|
}
|