pkgsrc/graphics/eog/Makefile
nia 773cde7da8 *: Use the tools framework for itstool
Now it should be more obvious when a package needs it as a dependency,
as it will fail loudly if it isn't declared as a tool.

While here, some duplicate dependencies on itstool were removed from the
MATE packages
2021-05-02 10:24:47 +00:00

57 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.111 2021/05/02 10:24:49 nia Exp $
DISTNAME= eog-3.38.0
PKGREVISION= 1
CATEGORIES= graphics gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/eog/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= prlw1@cam.ac.uk
HOMEPAGE= https://www.gnome.org/
COMMENT= Eye of GNOME: an image viewing and cataloging program
LICENSE= gnu-gpl-v2
PREV_PKGPATH= graphics/eog3
USE_TOOLS+= msgfmt pkg-config xgettext itstool
# some linux-only packaging thing
MESON_ARGS+= -Dlibportal=false
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/eog
.include "../../mk/bsd.prefs.mk"
# msgfmt: unknown option -- desktop
.if ${OPSYS} == "NetBSD"
TOOLS_PLATFORM.msgfmt=
.endif
PYTHON_FOR_BUILD_ONLY= tool
PKGCONFIG_OVERRIDE_STAGE= pre-install
PKGCONFIG_OVERRIDE+= output/meson-private/eog.pc
.include "../../devel/meson/build.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.42.0
.include "../../devel/glib2/schemas.mk"
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../devel/libpeas/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/gnome-desktop3/buildlink3.mk"
BUILDLINK_API_DEPENDS.gtk3+= gtk3+>=3.22.0
.include "../../x11/gtk3/buildlink3.mk"
# "semi-optional":
.include "../../mk/jpeg.buildlink3.mk"
.include "../../devel/exempi/buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"
BUILDLINK_API_DEPENDS.libexif+= libexif>=0.6.14
.include "../../graphics/libexif/buildlink3.mk"
BUILDLINK_API_DEPENDS.librsvg+= librsvg>=2.36.2
.include "../../graphics/librsvg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"