summaryrefslogtreecommitdiff
path: root/manualPorts
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-07-28 20:15:31 +0200
committerErich Eckner <git@eckner.net>2021-07-28 20:15:31 +0200
commit9f72c0660710d7f285b0d506ca536a9c26400961 (patch)
tree9caafe8cf76fa08ec3521326f0c3b74d27ac39d0 /manualPorts
parentb003a057a1e67e43ae3cc491660ee799b7252694 (diff)
downloadcrux-ports-9f72c0660710d7f285b0d506ca536a9c26400961.tar.xz
vigra: 1.11.1-2 -> 1.11.1-3
Diffstat (limited to 'manualPorts')
-rw-r--r--manualPorts/vigra/.md5sum1
-rw-r--r--manualPorts/vigra/.signature5
-rw-r--r--manualPorts/vigra/Pkgfile5
-rw-r--r--manualPorts/vigra/vigra-openexr3.patch21
4 files changed, 28 insertions, 4 deletions
diff --git a/manualPorts/vigra/.md5sum b/manualPorts/vigra/.md5sum
index e2ca22b..01aec61 100644
--- a/manualPorts/vigra/.md5sum
+++ b/manualPorts/vigra/.md5sum
@@ -1 +1,2 @@
e72faf9fb82fa71fa63ba064bb63b703 vigra-1.11.1-src.tar.gz
+f9de2112633e58b6e3bcefb83b7108f1 vigra-openexr3.patch
diff --git a/manualPorts/vigra/.signature b/manualPorts/vigra/.signature
index e32461b..6ffe623 100644
--- a/manualPorts/vigra/.signature
+++ b/manualPorts/vigra/.signature
@@ -1,5 +1,6 @@
untrusted comment: verify with /etc/ports/deepthought.pub
-RWQxCptPusLGGlAZ9XncuQkZy+LqRIQz6mqs1b1QO1CNok8Uztm1Hr9KIjEtGDgurb+3ibAbL9BhOjkHLJ3iZTGOL3XKcKfS6gc=
-SHA256 (Pkgfile) = 6036d6eafcb482c4039ca683770b635f7641f0d489c5c4075281d0d3765b047b
+RWQxCptPusLGGhWjfWWEeBkhpsFxVx16dthWqDbgYJA2U0TN3qzO4KhKuHDW/Q7uOYoRwkBXpN+jpAkqv5uCNefKI9/uK8xiNQU=
+SHA256 (Pkgfile) = aaf18855070340883686984d43b88148818984c3b1e21080f27280c8ca97b32a
SHA256 (.footprint) = 3bb1e9dc3dddcd2d200ba49b65788b42ded8a27817b9f4175b0f8674fad3064e
SHA256 (vigra-1.11.1-src.tar.gz) = a5564e1083f6af6a885431c1ee718bad77d11f117198b277557f8558fa461aaf
+SHA256 (vigra-openexr3.patch) = 2572717e39f916c7c463b8f49306b683c5923906be2721f7da181c58b3a2b34b
diff --git a/manualPorts/vigra/Pkgfile b/manualPorts/vigra/Pkgfile
index 8958d8e..1eeeaea 100644
--- a/manualPorts/vigra/Pkgfile
+++ b/manualPorts/vigra/Pkgfile
@@ -5,12 +5,13 @@
name=vigra
version=1.11.1
-release=2
-source=("https://github.com/ukoethe/${name}/releases/download/Version-${version//./-}/${name}-${version}-src.tar.gz")
+release=3
+source=("https://github.com/ukoethe/${name}/releases/download/Version-${version//./-}/${name}-${version}-src.tar.gz" vigra-openexr3.patch)
build() {
cd "${SRC}"/${name}-${version}
+ patch -p1 -i ../vigra-openexr3.patch
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DPYTHON_EXECUTABLE=/usr/bin/python \
-DWITH_OPENEXR=true \
diff --git a/manualPorts/vigra/vigra-openexr3.patch b/manualPorts/vigra/vigra-openexr3.patch
new file mode 100644
index 0000000..f87e552
--- /dev/null
+++ b/manualPorts/vigra/vigra-openexr3.patch
@@ -0,0 +1,21 @@
+diff --git a/config/FindOpenEXR.cmake b/config/FindOpenEXR.cmake
+index ef36cdbf..0423e247 100644
+--- a/config/FindOpenEXR.cmake
++++ b/config/FindOpenEXR.cmake
+@@ -23,6 +23,16 @@
+ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
++find_package(OpenEXR 3.0 CONFIG QUIET)
++if(TARGET OpenEXR::OpenEXR)
++ find_package(Threads)
++ SET(OPENEXR_FOUND TRUE)
++ SET(OPENEXR_INCLUDE_DIR OpenEXR::OpenEXR)
++ SET(OPENEXR_LIBRARIES OpenEXR::OpenEXR)
++ SET(OPENEXR_VERSION ${OpenEXR_VERSION})
++ return()
++endif()
++
+ FIND_PATH(OPENEXR_INCLUDE_DIR ImfRgbaFile.h PATH_SUFFIXES OpenEXR)
+
+ FOREACH(V "" -2_2 -2_1 -2_0 -1_7)