diff --git a/srcpkgs/lensfun/patches/setuptools-root.patch b/srcpkgs/lensfun/patches/setuptools-root.patch new file mode 100644 index 00000000000..f490619702b --- /dev/null +++ b/srcpkgs/lensfun/patches/setuptools-root.patch @@ -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) diff --git a/srcpkgs/lensfun/template b/srcpkgs/lensfun/template index 7336c311916..fb81b590969 100644 --- a/srcpkgs/lensfun/template +++ b/srcpkgs/lensfun/template @@ -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 " @@ -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*);;