pkgsrc/x11/gnome-desktop3/Makefile

49 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.18 2014/09/11 14:00:18 prlw1 Exp $
DISTNAME= gnome-desktop-3.10.2
PKGNAME= ${DISTNAME:S/desktop/desktop3/}
PKGREVISION= 2
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-desktop/${PKGVERSION_NOREV:R}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= prlw1@cam.ac.uk
HOMEPAGE= http://www.gnome.org/
COMMENT= GNOME3 desktop-wide documents and libgnome-desktop library
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2 AND gnu-fdl-v1.1
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake intltool msgfmt pkg-config
USE_PKGLOCALEDIR= yes
# For https://bugzilla.gnome.org/show_bug.cgi?id=735974
# to fix build on systems which lack openat()
USE_TOOLS+= autoconf automake
pre-configure:
cd ${WRKSRC} && autoreconf -i
#
PKGCONFIG_OVERRIDE+= libgnome-desktop/gnome-desktop-3.0.pc.in
CONFIGURE_ARGS+= --with-gnome-distributor="The NetBSD Foundation"
CONFIGURE_ARGS+= --disable-date-in-gnome-version
CONFIGURE_ARGS+= --disable-desktop-docs
CONFIGURE_ARGS+= --disable-scrollkeeper
CONFIGURE_ARGS+= --disable-gtk-doc
BUILD_DEPENDS+= itstool-[0-9]*:../../textproc/itstool
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.35.0
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/gobject-introspection/buildlink3.mk"
BUILDLINK_API_DEPENDS.gsettings-desktop-schemas+= gsettings-desktop-schemas>=3.5.91
.include "../../sysutils/gsettings-desktop-schemas/buildlink3.mk"
.include "../../textproc/iso-codes/buildlink3.mk"
.include "../../x11/gtk3/buildlink3.mk"
.include "../../x11/libXrandr/buildlink3.mk"
.include "../../x11/libxkbfile/buildlink3.mk"
.include "../../x11/xkeyboard-config/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"