mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
lensfun: update to 0.3.4.
also fixes python module installation
This commit is contained in:
parent
a0d2860dab
commit
4acbd13a12
2 changed files with 13 additions and 4 deletions
9
srcpkgs/lensfun/patches/setuptools-root.patch
Normal file
9
srcpkgs/lensfun/patches/setuptools-root.patch
Normal 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)
|
|
@ -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*);;
|
||||
|
|
Loading…
Add table
Reference in a new issue