Import of pkgsrc-2014Q1
This commit is contained in:
@@ -1,18 +1,13 @@
|
||||
# $NetBSD: Makefile,v 1.28 2013/06/06 12:54:36 wiz Exp $
|
||||
#
|
||||
# $NetBSD: Makefile,v 1.35.2.1 2014/04/08 19:49:59 tron Exp $
|
||||
|
||||
DISTNAME= ibus-1.4.2
|
||||
PKGREVISION= 9
|
||||
CATEGORIES= inputmethod
|
||||
MASTER_SITES= http://ibus.googlecode.com/files/
|
||||
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 1.5.4
|
||||
|
||||
MAINTAINER= obache@NetBSD.org
|
||||
HOMEPAGE= http://code.google.com/p/ibus/
|
||||
.include "Makefile.common"
|
||||
|
||||
PKGREVISION= 1
|
||||
COMMENT= Intelligent Input Bus
|
||||
LICENSE= gnu-lgpl-v2.1
|
||||
|
||||
DEPENDS+= ${PYPKGPREFIX}-xdg-[0-9]*:../../devel/py-xdg
|
||||
DEPENDS+= ${PYPKGPREFIX}-notify-python>=0.1.1nb3:../../sysutils/py-notify-python
|
||||
DEPENDS+= ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LIBTOOL= yes
|
||||
@@ -25,9 +20,12 @@ PKGCONFIG_OVERRIDE+= ibus-1.0.pc.in
|
||||
|
||||
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
|
||||
CONFIGURE_ARGS+= --localedir=${PREFIX}/${PKGLOCALEDIR}/locale
|
||||
CONFIGURE_ARGS+= --enable-dconf
|
||||
CONFIGURE_ARGS+= --enable-gconf
|
||||
CONFIGURE_ARGS+= --enable-gtk2
|
||||
CONFIGURE_ARGS+= --disable-gtk3
|
||||
CONFIGURE_ARGS+= --enable-gtk3
|
||||
CONFIGURE_ARGS+= --enable-surrounding-text
|
||||
CONFIGURE_ARGS+= --enable-introspection=yes
|
||||
|
||||
SUBST_CLASSES+= dbus
|
||||
SUBST_STAGE.dbus= post-configure
|
||||
@@ -35,21 +33,39 @@ SUBST_FILES.dbus= src/ibusshare.c
|
||||
SUBST_SED.dbus= -e 's,/var/lib/dbus/machine-id,${VARBASE}/db/dbus/machine-id,g'
|
||||
|
||||
BUILD_DEFS+= PKG_SYSCONFBASE VARBASE
|
||||
MANCOMPRESSED= yes
|
||||
|
||||
INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/ibus
|
||||
MAKE_DIRS+= ${PKG_SYSCONFDIR}/dconf/db/ibus.d
|
||||
MAKE_DIRS+= ${PKG_SYSCONFDIR}/dconf/profile
|
||||
CONF_FILES+= ${PREFIX}/share/examples/ibus/dconf/db/ibus.d/00-upstream-settings \
|
||||
${PKG_SYSCONFDIR}/dconf/db/ibus.d/00-upstream-settings
|
||||
CONF_FILES+= ${PREFIX}/share/examples/ibus/dconf/profile/ibus \
|
||||
${PKG_SYSCONFDIR}/dconf/profile/ibus
|
||||
|
||||
.include "../../mk/compiler.mk"
|
||||
.if !empty(CC_VERSION:Mgcc-4.1.[0-9]*)
|
||||
BUILDLINK_TRANSFORM+= rm:-Wno-unused-but-set-variable
|
||||
.endif
|
||||
|
||||
BUILDLINK_API_DEPENDS.GConf+= GConf>=2.12
|
||||
.include "../../devel/GConf/schemas.mk"
|
||||
.include "../../devel/glib2/schemas.mk"
|
||||
.include "../../devel/dconf/buildlink3.mk"
|
||||
BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=0.9.6
|
||||
BUILDLINK_DEPMETHOD.gobject-introspection+= build
|
||||
.include "../../devel/gobject-introspection/buildlink3.mk"
|
||||
.include "../../devel/gettext-lib/buildlink3.mk"
|
||||
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.26.0
|
||||
.include "../../devel/glib2/buildlink3.mk"
|
||||
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
||||
PY_PATCHPLIST= yes
|
||||
.include "../../lang/python/extension.mk"
|
||||
BUILDLINK_API_DEPENDS.py-dbus+= ${PYPKGPREFIX}-dbus>=0.83.0
|
||||
.include "../../sysutils/py-dbus/buildlink3.mk"
|
||||
.include "../../sysutils/libnotify/buildlink3.mk"
|
||||
.include "../../textproc/iso-codes/buildlink3.mk"
|
||||
GTK2_IMMODULES= yes
|
||||
.include "../../x11/gtk2/modules.mk"
|
||||
.include "../../x11/py-gtk2/buildlink3.mk"
|
||||
GTK3_IMMODULES= yes
|
||||
.include "../../x11/gtk3/modules.mk"
|
||||
.include "../../x11/libX11/buildlink3.mk"
|
||||
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
||||
.include "../../lang/python/application.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
||||
Reference in New Issue
Block a user