File:  [cvs.NetBSD.org] / pkgsrc / x11 / gnome-desktop / Makefile
Revision 1.152: download - view: text, annotated - select for diffs
Fri Dec 4 20:45:50 2020 UTC (3 years, 11 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, HEAD
Revbump packages with a runtime Python dep but no version prefix.

For the Python 3.8 default switch.

# $NetBSD: Makefile,v 1.152 2020/12/04 20:45:50 nia Exp $
#

DISTNAME=		gnome-desktop-2.32.1
PKGREVISION=		44
CATEGORIES=		x11 gnome
MASTER_SITES=		${MASTER_SITE_GNOME:=sources/gnome-desktop/2.32/}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		https://www.gnome.org/
COMMENT=		Common GNOME2 desktop files and libgnome-desktop library

GNU_CONFIGURE=		yes
USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		gmake intltool msgfmt perl:run pkg-config
USE_LIBTOOL=		yes

AUTOCONF_REQD=		2.62

CONFIGURE_ARGS+=	--with-gnome-distributor="The NetBSD Foundation"

BUILD_DEPENDS+=		gettext-m4>=0.14.6:../../devel/gettext-m4

post-install:
.for f in netbsd-logo-icon.png netbsd-logo-icon-transparent.png
	${INSTALL_DATA} ${FILESDIR}/${f} ${DESTDIR}${PREFIX}/share/pixmaps/${f}
.endfor

.include "../../devel/GConf/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+=	glib2>=2.19.1
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../textproc/gnome-doc-utils/buildlink3.mk"
.include "../../mk/omf-scrollkeeper.mk"
BUILDLINK_API_DEPENDS.gtk2+=	gtk2+>=2.11.3
.include "../../x11/gtk2/buildlink3.mk"
BUILDLINK_API_DEPENDS.libXrandr+=	libXrandr>=1.2
.include "../../x11/libXrandr/buildlink3.mk"
.include "../../x11/startup-notification/buildlink3.mk"
# gnome-about needs py-gnome2-desktop at runtime, which needs us, so
# we have a circular dependency. To work around this, just depend on
# Python and hope that py-gnome2-desktop gets the same version.
CONFIGURE_ENV+=	PYTHON=${PYTHONBIN}
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>