git: 736d3adf0485 - main - graphics/gdk-pixbuf2: update to 2.42.9 release (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Fri, 12 Aug 2022 09:59:16 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=736d3adf04853d46b7ffac41667159a4c578a074

commit 736d3adf04853d46b7ffac41667159a4c578a074
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2022-08-12 09:57:41 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2022-08-12 09:57:41 +0000

    graphics/gdk-pixbuf2: update to 2.42.9 release (+)
    
    MANPAGES now require rst2man to build
    Add meson flag to skip building tests
    
    Changelog:      https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/releases/2.42.9
---
 graphics/gdk-pixbuf2/Makefile                | 10 +++++++---
 graphics/gdk-pixbuf2/distinfo                |  6 +++---
 graphics/gdk-pixbuf2/files/patch-meson_build | 16 ----------------
 graphics/gdk-pixbuf2/pkg-plist               |  3 ++-
 4 files changed, 12 insertions(+), 23 deletions(-)

diff --git a/graphics/gdk-pixbuf2/Makefile b/graphics/gdk-pixbuf2/Makefile
index 4cca5b59acc2..0fa886864faa 100644
--- a/graphics/gdk-pixbuf2/Makefile
+++ b/graphics/gdk-pixbuf2/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	gdk-pixbuf
-PORTVERSION=	2.42.8
+PORTVERSION=	2.42.9
 CATEGORIES=	graphics
 MASTER_SITES=	GNOME
 PKGNAMESUFFIX=	2
@@ -17,10 +17,13 @@ CPE_VENDOR=	gnome
 USE_GNOME=	glib20 introspection:build libxslt:build
 SHEBANG_FILES=	build-aux/*.py
 USE_LDCONFIG=	yes
-MESON_ARGS=	-Dbuiltin_loaders="none" -Dgtk_doc=false -Dinstalled_tests=false
+MESON_ARGS=	-Dbuiltin_loaders="none" -Dgtk_doc=false -Dinstalled_tests=false -Dtests=false
 TRIGGERS=	gdk-pixbuf-query-loaders
 SUB_LIST=	GTK2_VERSION=${GTK2_VERSION}
 
+LIBVERSION=	0.4200.9
+PLIST_SUB+=	LIBVERSION=${LIBVERSION}
+
 OPTIONS_SUB=	yes
 OPTIONS_DEFINE=	JPEG MANPAGES PNG TIFF
 OPTIONS_DEFAULT=JPEG MANPAGES PNG TIFF
@@ -28,7 +31,8 @@ OPTIONS_DEFAULT=JPEG MANPAGES PNG TIFF
 JPEG_USES=		jpeg
 JPEG_MESON_ENABLE=	jpeg
 
-MANPAGES_BUILD_DEPENDS=	docbook-xsl>0:textproc/docbook-xsl
+MANPAGES_BUILD_DEPENDS=	docbook-xsl>0:textproc/docbook-xsl \
+			rst2man:textproc/py-docutils
 MANPAGES_USE=		gnome=libxslt:build
 MANPAGES_MESON_TRUE=	man
 
diff --git a/graphics/gdk-pixbuf2/distinfo b/graphics/gdk-pixbuf2/distinfo
index 2b9b80bd7a95..11db781852f2 100644
--- a/graphics/gdk-pixbuf2/distinfo
+++ b/graphics/gdk-pixbuf2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1658871645
-SHA256 (gnome/gdk-pixbuf-2.42.8.tar.xz) = 84acea3acb2411b29134b32015a5b1aaa62844b19c4b1ef8b8971c6b0759f4c6
-SIZE (gnome/gdk-pixbuf-2.42.8.tar.xz) = 8503020
+TIMESTAMP = 1660295731
+SHA256 (gnome/gdk-pixbuf-2.42.9.tar.xz) = 28f7958e7bf29a32d4e963556d241d0a41a6786582ff6a5ad11665e0347fc962
+SIZE (gnome/gdk-pixbuf-2.42.9.tar.xz) = 6596068
diff --git a/graphics/gdk-pixbuf2/files/patch-meson_build b/graphics/gdk-pixbuf2/files/patch-meson_build
deleted file mode 100644
index de91b76c75b4..000000000000
--- a/graphics/gdk-pixbuf2/files/patch-meson_build
+++ /dev/null
@@ -1,16 +0,0 @@
-https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues/106
-
-Index: meson.build
---- meson.build.orig
-+++ meson.build
-@@ -414,7 +414,9 @@ subdir('gdk-pixbuf')
- subdir('po')
- 
- if not meson.is_cross_build()
--  subdir('tests')
-+  if get_option('installed_tests')
-+    subdir('tests')
-+  endif
-   subdir('thumbnailer')
- endif
- 
diff --git a/graphics/gdk-pixbuf2/pkg-plist b/graphics/gdk-pixbuf2/pkg-plist
index 0968e86692c0..86b7af3669df 100644
--- a/graphics/gdk-pixbuf2/pkg-plist
+++ b/graphics/gdk-pixbuf2/pkg-plist
@@ -32,12 +32,13 @@ lib/girepository-1.0/GdkPixbuf-2.0.typelib
 lib/girepository-1.0/GdkPixdata-2.0.typelib
 lib/libgdk_pixbuf-2.0.so
 lib/libgdk_pixbuf-2.0.so.0
-lib/libgdk_pixbuf-2.0.so.0.4200.8
+lib/libgdk_pixbuf-2.0.so.%%LIBVERSION%%
 libdata/pkgconfig/gdk-pixbuf-2.0.pc
 %%MANPAGES%%man/man1/gdk-pixbuf-csource.1.gz
 %%MANPAGES%%man/man1/gdk-pixbuf-query-loaders.1.gz
 share/gir-1.0/GdkPixbuf-2.0.gir
 share/gir-1.0/GdkPixdata-2.0.gir
+share/locale/ab/LC_MESSAGES/gdk-pixbuf.mo
 share/locale/af/LC_MESSAGES/gdk-pixbuf.mo
 share/locale/ang/LC_MESSAGES/gdk-pixbuf.mo
 share/locale/ar/LC_MESSAGES/gdk-pixbuf.mo