Mon Apr 12 11:33:16 2021 UTC ()
gdk-pixbuf2: remove gmake dependency, set PYTHON_FOR_BUILD_ONLY


(nia)
diff -r1.45 -r1.46 pkgsrc/graphics/gdk-pixbuf2/Makefile

cvs diff -r1.45 -r1.46 pkgsrc/graphics/gdk-pixbuf2/Makefile (expand / switch to unified diff)

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