pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/libheif



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Jul 22 08:37:49 UTC 2023

Modified Files:
        pkgsrc/graphics/libheif: Makefile distinfo
Added Files:
        pkgsrc/graphics/libheif/patches: patch-libheif_plugins_CMakeLists.txt
Removed Files:
        pkgsrc/graphics/libheif/patches: patch-libheif_hevc.cc

Log Message:
libheif: fix build on Darwin, remove unused patch, cleanups


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/graphics/libheif/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/graphics/libheif/distinfo
cvs rdiff -u -r1.2 -r0 pkgsrc/graphics/libheif/patches/patch-libheif_hevc.cc
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/libheif/patches/patch-libheif_plugins_CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/libheif/Makefile
diff -u pkgsrc/graphics/libheif/Makefile:1.20 pkgsrc/graphics/libheif/Makefile:1.21
--- pkgsrc/graphics/libheif/Makefile:1.20       Tue Jul 11 22:36:43 2023
+++ pkgsrc/graphics/libheif/Makefile    Sat Jul 22 08:37:49 2023
@@ -1,14 +1,13 @@
-# $NetBSD: Makefile,v 1.20 2023/07/11 22:36:43 abs Exp $
+# $NetBSD: Makefile,v 1.21 2023/07/22 08:37:49 adam Exp $
 
 DISTNAME=      libheif-1.16.2
 PKGREVISION=   1
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=strukturag/}
-GITHUB_PROJECT=        libheif
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}
 
 MAINTAINER=    ryoon%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/strukturag/libheif/
+HOMEPAGE=      https://github.com/strukturag/libheif
 COMMENT=       HEIF and AVIF file format decoder and encoder library
 LICENSE=       gnu-lgpl-v3
 

Index: pkgsrc/graphics/libheif/distinfo
diff -u pkgsrc/graphics/libheif/distinfo:1.22 pkgsrc/graphics/libheif/distinfo:1.23
--- pkgsrc/graphics/libheif/distinfo:1.22       Sun May 28 17:08:43 2023
+++ pkgsrc/graphics/libheif/distinfo    Sat Jul 22 08:37:49 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.22 2023/05/28 17:08:43 wiz Exp $
+$NetBSD: distinfo,v 1.23 2023/07/22 08:37:49 adam Exp $
 
 BLAKE2s (libheif-1.16.2.tar.gz) = e045526f4d9e54f27855df50a4e48b317eaf989025caa736e497c605a5c2bfda
 SHA512 (libheif-1.16.2.tar.gz) = a9c377d66bd85f8a3809d9b8c7b26b8d06eef511b14b86ade9db1cd934f0cef8339eeb8290d605fad3e0f5a1e4f104439356c62f893559f8ada957ea21625313
 Size (libheif-1.16.2.tar.gz) = 1339068 bytes
-SHA1 (patch-libheif_hevc.cc) = a7e6a49c5769a0f26556f416d3538ff61d54810e
+SHA1 (patch-libheif_plugins_CMakeLists.txt) = d8a8e74b6efcb51f3bc0ed8a738b5076426fe751

Added files:

Index: pkgsrc/graphics/libheif/patches/patch-libheif_plugins_CMakeLists.txt
diff -u /dev/null pkgsrc/graphics/libheif/patches/patch-libheif_plugins_CMakeLists.txt:1.1
--- /dev/null   Sat Jul 22 08:37:50 2023
+++ pkgsrc/graphics/libheif/patches/patch-libheif_plugins_CMakeLists.txt        Sat Jul 22 08:37:49 2023
@@ -0,0 +1,20 @@
+$NetBSD: patch-libheif_plugins_CMakeLists.txt,v 1.1 2023/07/22 08:37:49 adam Exp $
+
+Fix build for plugins on Darwin.
+https://github.com/strukturag/libheif/pull/923
+
+--- libheif/plugins/CMakeLists.txt.orig        2023-07-22 08:22:16.000000000 +0000
++++ libheif/plugins/CMakeLists.txt
+@@ -11,10 +11,12 @@ macro(plugin_compilation name varName op
+                     MODULE ${${optionName}_sources} ${${optionName}_extra_plugin_sources}
+                     ../heif_plugin.cc
+                     )
++            if (NOT APPLE)
+             set_target_properties(heif-${name}
+                     PROPERTIES
+                     VERSION ${PROJECT_VERSION}
+                     SOVERSION ${PROJECT_VERSION_MAJOR})
++            endif ()
+             target_compile_definitions(heif-${name}
+                     PUBLIC
+                     LIBHEIF_EXPORTS



Home | Main Index | Thread Index | Old Index