forked from ports/contrib
lensfun: initial commit, version 0.3.2
This commit is contained in:
parent
58bb0f6d0a
commit
e209a00011
77
lensfun/.footprint
Normal file
77
lensfun/.footprint
Normal file
@ -0,0 +1,77 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/g-lensfun-update-data
|
||||
-rwxr-xr-x root/root usr/bin/lensfun-add-adapter
|
||||
-rwxr-xr-x root/root usr/bin/lensfun-update-data
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/lensfun/
|
||||
-rw-r--r-- root/root usr/include/lensfun/lensfun.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
lrwxrwxrwx root/root usr/lib/liblensfun.so -> liblensfun.so.1
|
||||
-rwxr-xr-x root/root usr/lib/liblensfun.so.0.3.2
|
||||
lrwxrwxrwx root/root usr/lib/liblensfun.so.1 -> liblensfun.so.0.3.2
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/lensfun.pc
|
||||
drwxr-xr-x root/root usr/lib/python3.7/
|
||||
drwxr-xr-x root/root usr/lib/python3.7/site-packages/
|
||||
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lensfun-0.3.2-py3.7.egg-info
|
||||
drwxr-xr-x root/root usr/lib/python3.7/site-packages/lensfun/
|
||||
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lensfun/__init__.py
|
||||
drwxr-xr-x root/root usr/lib/python3.7/site-packages/lensfun/__pycache__/
|
||||
-rw-r--r-- root/root usr/lib/python3.7/site-packages/lensfun/__pycache__/__init__.cpython-37.pyc
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/lensfun/
|
||||
drwxr-xr-x root/root usr/share/lensfun/version_1/
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/6x6.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/actioncams.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/compact-canon.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/compact-casio.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/compact-fujifilm.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/compact-kodak.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/compact-konica-minolta.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/compact-leica.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/compact-nikon.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/compact-olympus.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/compact-panasonic.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/compact-pentax.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/compact-ricoh.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/compact-samsung.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/compact-sigma.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/compact-sony.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/contax.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/generic.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/mil-canon.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/mil-fujifilm.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/mil-nikon.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/mil-olympus.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/mil-panasonic.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/mil-pentax.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/mil-samsung.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/mil-samyang.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/mil-sigma.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/mil-sony.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/mil-tamron.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/mil-zeiss.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/misc.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/rf-leica.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-canon.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-hasselblad.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-konica-minolta.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-leica.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-nikon.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-olympus.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-panasonic.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-pentax.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-ricoh.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-samsung.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-samyang.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-schneider.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-sigma.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-soligor.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-sony.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-tamron.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-tokina.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-ussr.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-vivitar.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/slr-zeiss.xml
|
||||
-rw-r--r-- root/root usr/share/lensfun/version_1/timestamp.txt
|
6
lensfun/.signature
Normal file
6
lensfun/.signature
Normal file
@ -0,0 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF36YThASdhIXUoSbXFXzzose+w+LyU0ZmVcTWVj8ukLsOpPx09tAWMWdGgRs0xsFDIqEpruCtZt+pIjJPpZNeAQg=
|
||||
SHA256 (Pkgfile) = a163d392263f79185adb763e9ad8d31341cda40c818dac83b376f1c55860418b
|
||||
SHA256 (.footprint) = 04abd4549e0b16e2332cbb2314fadbdc962ee902b9193df64425b39c456df854
|
||||
SHA256 (lensfun-0.3.2.tar.gz) = ae8bcad46614ca47f5bda65b00af4a257a9564a61725df9c74cb260da544d331
|
||||
SHA256 (lensfun-fix-python-install-dir.patch) = 11e0f9ce2d5c5fef4373ce6adbb19dbcbcd8a10efa02447db9c92b03798d5654
|
21
lensfun/Pkgfile
Normal file
21
lensfun/Pkgfile
Normal file
@ -0,0 +1,21 @@
|
||||
# Description: Database of photographic lenses and a library that allows advanced access to the database
|
||||
# URL: https://lensfun.github.io/
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: cmake glib
|
||||
|
||||
name=lensfun
|
||||
version=0.3.2
|
||||
release=1
|
||||
source=(https://github.com/lensfun/lensfun/archive/v$version/$name-$version.tar.gz
|
||||
lensfun-fix-python-install-dir.patch)
|
||||
|
||||
build() {
|
||||
patch -p1 -d $name-$version -i $SRC/lensfun-fix-python-install-dir.patch
|
||||
cmake -S$name-$version -Bbuild -GNinja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCMAKE_CXX_FLAGS="${CXXFLAGS} -fno-delete-null-pointer-checks"
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --build build --target install
|
||||
}
|
27
lensfun/lensfun-fix-python-install-dir.patch
Normal file
27
lensfun/lensfun-fix-python-install-dir.patch
Normal file
@ -0,0 +1,27 @@
|
||||
From 3b46bb2a4eada7f29e016d586229782f6d1c35bb Mon Sep 17 00:00:00 2001
|
||||
From: Pino Toscano <toscano.pino@tiscali.it>
|
||||
Date: Sat, 9 Jan 2016 11:47:37 +0100
|
||||
Subject: [PATCH] cmake: fix DESTDIR installation for python
|
||||
|
||||
When running `setup.py install`, respect the value of the DESTDIR
|
||||
environment variable so staged installs (used by distros, for example)
|
||||
work.
|
||||
---
|
||||
apps/CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt
|
||||
index 70c77fd..2f6f8f1 100644
|
||||
--- a/apps/CMakeLists.txt
|
||||
+++ b/apps/CMakeLists.txt
|
||||
@@ -42,5 +42,5 @@ IF(PYTHON)
|
||||
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=${SETUP_PY_INSTALL_PREFIX})")
|
||||
+ INSTALL(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install --prefix=\$ENV{DESTDIR}${SETUP_PY_INSTALL_PREFIX})")
|
||||
ENDIF(PYTHON)
|
||||
--
|
||||
2.6.4
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user