lensfun: update to 0.3.4.

also fixes python module installation
This commit is contained in:
classabbyamp 2023-11-11 23:15:09 -05:00 committed by classabbyamp
parent a0d2860dab
commit 4acbd13a12
2 changed files with 13 additions and 4 deletions

View file

@ -0,0 +1,9 @@
--- a/apps/CMakeLists.txt
+++ b/apps/CMakeLists.txt
@@ -42,5 +42,5 @@
IF(NOT DEFINED SETUP_PY_INSTALL_PREFIX)
SET(SETUP_PY_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
ENDIF()
- INSTALL(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install --prefix=\$ENV{DESTDIR}${SETUP_PY_INSTALL_PREFIX})")
+ INSTALL(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install --root=\$ENV{DESTDIR} --prefix=${SETUP_PY_INSTALL_PREFIX})")
ENDIF(PYTHON)

View file

@ -1,10 +1,10 @@
# Template file for 'lensfun'
pkgname=lensfun
version=0.3.3
revision=3
version=0.3.4
revision=1
build_style=cmake
configure_args="-DINSTALL_HELPER_SCRIPTS=0"
hostmakedepends="pkg-config python3 python3-setuptools"
hostmakedepends="pkg-config python3-setuptools"
makedepends="libglib-devel"
short_desc="Library for rectifying and simulating photographic lens distortions"
maintainer="Orphaned <orphan@voidlinux.org>"
@ -12,7 +12,7 @@ license="LGPL-3.0-only, CC-BY-SA-3.0"
homepage="https://lensfun.github.io"
changelog="https://raw.githubusercontent.com/lensfun/lensfun/master/ChangeLog"
distfiles="https://github.com/lensfun/lensfun/archive/refs/tags/v${version}.tar.gz"
checksum=57ba5a0377f24948972339e18be946af12eda22b7c707eb0ddd26586370f6765
checksum=dafb39c08ef24a0e2abd00d05d7341b1bf1f0c38bfcd5a4c69cf5f0ecb6db112
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*);;