| @@ -1,41 +1,42 @@ | | | @@ -1,41 +1,42 @@ |
1 | # $NetBSD: Makefile,v 1.45 2020/03/08 16:47:46 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.46 2021/04/12 11:33:16 nia Exp $ |
2 | | | 2 | |
3 | DISTNAME= gdk-pixbuf-${PIXBUF2_VERSION} | | 3 | DISTNAME= gdk-pixbuf-${PIXBUF2_VERSION} |
4 | PKGNAME= ${DISTNAME:S/pixbuf/pixbuf2/} | | 4 | PKGNAME= ${DISTNAME:S/pixbuf/pixbuf2/} |
5 | PKGREVISION= 1 | | 5 | PKGREVISION= 1 |
6 | CATEGORIES= graphics gnome | | 6 | CATEGORIES= graphics gnome |
7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gdk-pixbuf/${MSITE_VERSION}/} | | 7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gdk-pixbuf/${MSITE_VERSION}/} |
8 | EXTRACT_SUFX= .tar.xz | | 8 | EXTRACT_SUFX= .tar.xz |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= https://developer.gnome.org/gdk-pixbuf | | 11 | HOMEPAGE= https://developer.gnome.org/gdk-pixbuf |
12 | COMMENT= Library for image loading and manipulation | | 12 | COMMENT= Library for image loading and manipulation |
13 | LICENSE= gnu-gpl-v2 | | 13 | LICENSE= gnu-gpl-v2 |
14 | | | 14 | |
15 | CONFLICTS+= gtk2+<2.22 | | 15 | CONFLICTS+= gtk2+<2.22 |
16 | | | 16 | |
17 | .include "../../graphics/gdk-pixbuf2/Makefile.version" | | 17 | .include "../../graphics/gdk-pixbuf2/Makefile.version" |
18 | | | 18 | |
19 | USE_TOOLS+= gmake pkg-config xgettext | | 19 | USE_TOOLS+= pkg-config xgettext |
20 | MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/output/gdk-pixbuf | | 20 | MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/output/gdk-pixbuf |
21 | | | 21 | |
22 | MESON_ARGS+= -D installed_tests=false | | 22 | MESON_ARGS+= -D installed_tests=false |
23 | MESON_ARGS+= -D x11=false | | 23 | MESON_ARGS+= -D x11=false |
24 | MESON_ARGS+= -D man=false | | 24 | MESON_ARGS+= -D man=false |
25 | PKGCONFIG_OVERRIDE_STAGE= pre-install | | 25 | PKGCONFIG_OVERRIDE_STAGE= pre-install |
26 | PKGCONFIG_OVERRIDE= output/meson-private/gdk-pixbuf-2.0.pc | | 26 | PKGCONFIG_OVERRIDE= output/meson-private/gdk-pixbuf-2.0.pc |
27 | | | 27 | |
28 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | | 28 | PYTHON_VERSIONS_INCOMPATIBLE= 27 |
| | | 29 | PYTHON_FOR_BUILD_ONLY= tool |
29 | | | 30 | |
30 | .include "../../lang/python/pyversion.mk" | | 31 | .include "../../lang/python/pyversion.mk" |
31 | | | 32 | |
32 | REPLACE_INTERPRETER+= py3 | | 33 | REPLACE_INTERPRETER+= py3 |
33 | REPLACE.py3.old= .*/usr/bin/env python[^ ]* | | 34 | REPLACE.py3.old= .*/usr/bin/env python[^ ]* |
34 | REPLACE.py3.new= ${PYTHONBIN} | | 35 | REPLACE.py3.new= ${PYTHONBIN} |
35 | REPLACE_FILES.py3+= build-aux/gen-installed-test.py | | 36 | REPLACE_FILES.py3+= build-aux/gen-installed-test.py |
36 | REPLACE_FILES.py3+= build-aux/gen-thumbnailer.py | | 37 | REPLACE_FILES.py3+= build-aux/gen-thumbnailer.py |
37 | REPLACE_FILES.py3+= build-aux/gen-resources.py | | 38 | REPLACE_FILES.py3+= build-aux/gen-resources.py |
38 | | | 39 | |
39 | _BUILDING_GTK2= yes | | 40 | _BUILDING_GTK2= yes |
40 | .include "loaders.mk" | | 41 | .include "loaders.mk" |
41 | | | 42 | |