pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/libavif



Module Name:    pkgsrc
Committed By:   pho
Date:           Thu Oct 31 07:32:57 UTC 2024

Modified Files:
        pkgsrc/graphics/libavif: Makefile PLIST

Log Message:
graphics/libavif: Build and install gdk-pixbuf loader and thumbnailer

I considered making it a package option, but I thought it's okay to build
it unconditionally because gdk-pixbuf2 isn't a particularly large
dependency. graphics/librsvg{,-c} also do this.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/graphics/libavif/Makefile \
    pkgsrc/graphics/libavif/PLIST

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

Modified files:

Index: pkgsrc/graphics/libavif/Makefile
diff -u pkgsrc/graphics/libavif/Makefile:1.3 pkgsrc/graphics/libavif/Makefile:1.4
--- pkgsrc/graphics/libavif/Makefile:1.3        Wed Jul 31 07:05:38 2024
+++ pkgsrc/graphics/libavif/Makefile    Thu Oct 31 07:32:57 2024
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2024/07/31 07:05:38 adam Exp $
+# $NetBSD: Makefile,v 1.4 2024/10/31 07:32:57 pho Exp $
 
 DISTNAME=      libavif-1.1.1
+PKGREVISION=   1
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=AOMediaCodec/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -14,6 +15,7 @@ USE_CC_FEATURES=      c99
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            pkg-config
 
+CMAKE_CONFIGURE_ARGS+= -DAVIF_BUILD_GDK_PIXBUF=ON
 CMAKE_CONFIGURE_ARGS+= -DAVIF_CODEC_AOM=SYSTEM
 CMAKE_CONFIGURE_ARGS+= -DAVIF_ENABLE_WERROR=OFF
 CMAKE_CONFIGURE_ARGS+= -DAVIF_LIBYUV=OFF
@@ -21,5 +23,6 @@ CMAKE_CONFIGURE_ARGS+=        -DAVIF_LIBYUV=OFF
 PKGCONFIG_OVERRIDE=    libavif.pc.cmake
 
 .include "../../devel/cmake/build.mk"
+.include "../../graphics/gdk-pixbuf2/loaders.mk"
 .include "../../multimedia/libaom/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/libavif/PLIST
diff -u pkgsrc/graphics/libavif/PLIST:1.3 pkgsrc/graphics/libavif/PLIST:1.4
--- pkgsrc/graphics/libavif/PLIST:1.3   Wed Jul 31 07:05:38 2024
+++ pkgsrc/graphics/libavif/PLIST       Thu Oct 31 07:32:57 2024
@@ -1,10 +1,12 @@
-@comment $NetBSD: PLIST,v 1.3 2024/07/31 07:05:38 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2024/10/31 07:32:57 pho Exp $
 include/avif/avif.h
 include/avif/avif_cxx.h
 lib/cmake/libavif/libavif-config-noconfig.cmake
 lib/cmake/libavif/libavif-config-version.cmake
 lib/cmake/libavif/libavif-config.cmake
+lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-avif.so
 lib/libavif.so
 lib/libavif.so.16
 lib/libavif.so.16.1.1
 lib/pkgconfig/libavif.pc
+share/thumbnailers/avif.thumbnailer



Home | Main Index | Thread Index | Old Index