graphics/gdk-pixbuf2: make manpages optional, pet portlint (+)

MANPAGES option is on by default to mimic previous behaviour.
Relax Python handling with shebangfix
This commit is contained in:
Daniel Engberg 2022-08-11 17:25:50 +03:00 committed by Dima Panov
parent 4458ee6e52
commit 3444b0a0df
2 changed files with 14 additions and 13 deletions

View file

@ -11,30 +11,31 @@ COMMENT= Graphic library for GTK+
LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl
USES= cpe gettext gnome localbase:ldflags meson pkgconfig \
python:3.7+,build shared-mime-info tar:xz trigger
python:3.7+,build shared-mime-info shebangfix tar:xz trigger
CPE_VENDOR= gnome
USE_GNOME= glib20 introspection:build libxslt:build
SHEBANG_FILES= build-aux/*.py
USE_LDCONFIG= yes
MESON_ARGS= -Dman=true -Dbuiltin_loaders="none" -Dinstalled_tests=false
MESON_ARGS= -Dbuiltin_loaders="none" -Dgtk_doc=false -Dinstalled_tests=false
TRIGGERS= gdk-pixbuf-query-loaders
SUB_LIST= GTK2_VERSION=${GTK2_VERSION}
BINARY_ALIAS= python3=${PYTHON_VERSION}
OPTIONS_SUB= yes
OPTIONS_DEFINE= JPEG PNG TIFF
OPTIONS_DEFAULT=JPEG PNG TIFF
OPTIONS_DEFINE= JPEG MANPAGES PNG TIFF
OPTIONS_DEFAULT=JPEG MANPAGES PNG TIFF
JPEG_MESON_ENABLE= jpeg
JPEG_USES= jpeg
JPEG_MESON_ENABLE= jpeg
MANPAGES_BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl
MANPAGES_USE= gnome=libxslt:build
MANPAGES_MESON_TRUE= man
PNG_MESON_ENABLE= png
PNG_LIB_DEPENDS= libpng.so:graphics/png
PNG_MESON_ENABLE= png
TIFF_MESON_ENABLE= tiff
TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff
TIFF_MESON_ENABLE= tiff
.include <bsd.port.mk>

View file

@ -34,8 +34,8 @@ lib/libgdk_pixbuf-2.0.so
lib/libgdk_pixbuf-2.0.so.0
lib/libgdk_pixbuf-2.0.so.0.4200.8
libdata/pkgconfig/gdk-pixbuf-2.0.pc
man/man1/gdk-pixbuf-csource.1.gz
man/man1/gdk-pixbuf-query-loaders.1.gz
%%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/af/LC_MESSAGES/gdk-pixbuf.mo