2014-05-02 09:33:45 +00:00
|
|
|
# Template file for 'lensfun'
|
|
|
|
pkgname=lensfun
|
2015-11-16 08:40:25 +00:00
|
|
|
version=0.3.2
|
|
|
|
revision=1
|
2014-05-02 09:33:45 +00:00
|
|
|
build_style=cmake
|
2015-11-16 08:40:25 +00:00
|
|
|
configure_args="-DINSTALL_HELPER_SCRIPTS=0"
|
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/"
|
2015-08-15 23:38:16 +00:00
|
|
|
license="LGPL-3, CC-BY-SA-3.0"
|
|
|
|
short_desc="Library for rectifying and simulating photographic lens distortions"
|
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"
|
2015-11-16 08:40:25 +00:00
|
|
|
checksum=ae8bcad46614ca47f5bda65b00af4a257a9564a61725df9c74cb260da544d331
|
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() {
|
2015-08-15 23:38:16 +00:00
|
|
|
depends="${makedepends} ${sourcepkg}-${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
|
|
|
}
|