openbsd-ports/devel/vte/Makefile
espie 5ee810f609 update fix: vte2 should *not* update to vte3.
parts of gnome want vte3, and yet some other stuff (py-vte) still wants vte2.
if we let vte2->vte3 because of gnome, then py-vte will complain, and the
update won't happen.

considering we've set things up so vte2 and vte3 can coexist, the thing to do
is have vte2 update to vte2-newer, let gnome3 pick and install vte3 as well,
keeping py-vte happy and ending with a fully updated machine.

On the way, need to tell quirks AND vte about vte-pyhelper, which vanished
into vte2/vte3 (and again, pick one).

(triggers a bug in pkg_add caching which requires -current, btw ;( )

Solves update issue reported by Mikolaj.

Ports STILL fully locked, this making it in as a vital update thing,
(no don't ask, your silly little update won't make it)

okayed by naddy@
2012-02-06 22:07:09 +00:00

72 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.95 2012/02/06 22:07:09 espie Exp $
# Don't pull in x11/py-gtk2 on these archs; build fails with binutils 2.15
NOT_FOR_ARCHS-python= mips64 mips64el
COMMENT-main= terminal emulation library
COMMENT-python= python bindings for vte
GNOME_PROJECT= vte
GNOME_VERSION= 0.28.2
SHARED_LIBS+= vte 14.1 # 2609.0
FULLPKGNAME-main= vte-${GNOME_VERSION}
FULLPKGNAME-python= py-${DISTNAME}
REVISION-main = 5
REVISION-python = 3
CATEGORIES= devel
HOMEPAGE= http://www.gnome.org/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
Antoine Jacoutot <ajacoutot@openbsd.org>
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= devel/gettext \
lang/python \
x11/gnome
WANTLIB += GL X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender Xxf86vm atk-1.0 cairo drm
WANTLIB += expat ffi fontconfig freetype gdk_pixbuf-2.0 gio-2.0
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 m ncurses
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
WANTLIB += png pthread-stubs xcb xcb-render xcb-shm z
MODPY_RUNDEP= No
MULTI_PACKAGES= -main -python
WANTLIB-python= ${WANTLIB} gdk-x11-2.0 gtk-x11-2.0 vte>=14
LIB_DEPENDS-python= ${LIB_DEPENDS-main} \
${BASE_PKGPATH}
RUN_DEPENDS-python= ${MODPY_RUN_DEPENDS} \
x11/py-gtk2
WANTLIB-main= ${WANTLIB} util
LIB_DEPENDS-main+= ${LIB_DEPENDS} \
x11/gtk+2
WANTLIB-main+= c pthread gdk-x11-2.0 gtk-x11-2.0
. if ! ${MACHINE_ARCH:Mmips64*}
BUILD_DEPENDS+= x11/py-gtk2
CONFIGURE_ARGS+= --enable-python
. endif
MODGNOME_TOOLS= goi
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-Bsymbolic \
--with-gtk=2.0 \
--program-suffix=2
.include <bsd.port.mk>