Drop the gtk2 FLAVOR.

This commit is contained in:
ajacoutot 2011-09-12 08:47:23 +00:00
parent d85dc5ddf6
commit 2ef87f1040
8 changed files with 24 additions and 54 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.466 2011/09/12 08:13:31 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.467 2011/09/12 08:47:23 ajacoutot Exp $
# $FreeBSD: Makefile,v 1.178 1997/11/24 05:32:52 fenner Exp $
SUBDIR =
@ -88,7 +88,6 @@
SUBDIR += gtk-chtheme
SUBDIR += gtk-engines2
SUBDIR += gtk-vnc
SUBDIR += gtk-vnc,gtk2
SUBDIR += gtk2-aurora-engine
SUBDIR += gtk2-equinox-engine
SUBDIR += gtk2-murrine-engine

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.30 2011/07/15 07:06:06 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.31 2011/09/12 08:47:23 ajacoutot Exp $
COMMENT= VNC viewer widget for GTK
@ -7,8 +7,9 @@ GNOME_VERSION= 0.4.3
PKGNAME= ${DISTNAME}
REVISION= 3
REVISION= 4
SHARED_LIBS += gtk-vnc-2.0 0.0 # 0.2
SHARED_LIBS += gvnc-1.0 0.0 # 0.1
CATEGORIES= x11 net
@ -27,7 +28,8 @@ WANTLIB += drm expat fontconfig freetype gcrypt gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gmp gnutls gobject-2.0
WANTLIB += gpg-error gthread-2.0 hogweed m nettle pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs
WANTLIB += sasl2 tasn1 xcb xcb-render xcb-shm z
WANTLIB += sasl2 tasn1 xcb xcb-render xcb-shm z p11-kit
WANTLIB += cairo-gobject gdk-3 gtk-3
MODULES= devel/gettext \
x11/gnome
@ -37,14 +39,16 @@ BUILD_DEPENDS= ${RUN_DEPENDS} \
LIB_DEPENDS= security/gnutls \
security/cyrus-sasl2 \
security/libgcrypt
security/libgcrypt \
x11/gtk+3
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-introspection \
--without-examples \
--with-sasl \
--without-libview
--without-libview \
--with-gtk=3.0
# mozilla plugin and python bindings are gtk+2 only
CONFIGURE_ARGS += --disable-plugin \
@ -53,19 +57,4 @@ CONFIGURE_ARGS += --disable-plugin \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
FLAVORS= gtk2
FLAVOR?=
.if ${FLAVOR:L:Mgtk2}
SHARED_LIBS += gtk-vnc-1.0 2.0 # 0.1
CONFIGURE_ARGS += --with-gtk=2.0
LIB_DEPENDS += x11/gtk+2
WANTLIB += gdk-x11-2.0 gtk-x11-2.0
.else
SHARED_LIBS += gtk-vnc-2.0 0.0 # 0.2
CONFIGURE_ARGS += --with-gtk=3.0
LIB_DEPENDS += x11/gtk+3
WANTLIB += cairo-gobject gdk-3 gtk-3
.endif
.include <bsd.port.mk>

View File

@ -1,11 +0,0 @@
@comment $OpenBSD: PFRAG.gtk2,v 1.1 2011/07/15 07:06:06 ajacoutot Exp $
include/gtk-vnc-1.0/
include/gtk-vnc-1.0/vncdisplay.h
include/gtk-vnc-1.0/vncdisplayenums.h
include/gtk-vnc-1.0/vncgrabsequence.h
include/gtk-vnc-1.0/vncimageframebuffer.h
lib/girepository-1.0/GtkVnc-1.0.typelib
lib/libgtk-vnc-1.0.a
lib/libgtk-vnc-1.0.la
lib/pkgconfig/gtk-vnc-1.0.pc
share/gir-1.0/GtkVnc-1.0.gir

View File

@ -1,2 +0,0 @@
@comment $OpenBSD: PFRAG.gtk2-shared,v 1.1 2011/07/15 07:06:06 ajacoutot Exp $
@lib lib/libgtk-vnc-1.0.so.${LIBgtk-vnc-1.0_VERSION}

View File

@ -1,11 +0,0 @@
@comment $OpenBSD: PFRAG.no-gtk2,v 1.1 2011/07/15 07:06:06 ajacoutot Exp $
include/gtk-vnc-2.0/
include/gtk-vnc-2.0/vncdisplay.h
include/gtk-vnc-2.0/vncdisplayenums.h
include/gtk-vnc-2.0/vncgrabsequence.h
include/gtk-vnc-2.0/vncimageframebuffer.h
lib/girepository-1.0/GtkVnc-2.0.typelib
lib/libgtk-vnc-2.0.a
lib/libgtk-vnc-2.0.la
lib/pkgconfig/gtk-vnc-2.0.pc
share/gir-1.0/GtkVnc-2.0.gir

View File

@ -1,2 +0,0 @@
@comment $OpenBSD: PFRAG.no-gtk2-shared,v 1.1 2011/07/15 07:06:06 ajacoutot Exp $
@lib lib/libgtk-vnc-2.0.so.${LIBgtk-vnc-2.0_VERSION}

View File

@ -1,3 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.3 2011/07/15 07:06:06 ajacoutot Exp $
%%gtk2%%
!%%gtk2%%
@comment $OpenBSD: PFRAG.shared,v 1.4 2011/09/12 08:47:23 ajacoutot Exp $
@lib lib/libgtk-vnc-2.0.so.${LIBgtk-vnc-2.0_VERSION}

View File

@ -1,8 +1,14 @@
@comment $OpenBSD: PLIST,v 1.3 2011/07/15 07:06:06 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.4 2011/09/12 08:47:23 ajacoutot Exp $
@pkgpath ${BASE_PKGPATH}
@pkgpath ${BASE_PKGPATH},-main
@pkgpath x11/gtk-vnc,gtk2
%%SHARED%%
@bin bin/gvnccapture
include/gtk-vnc-2.0/
include/gtk-vnc-2.0/vncdisplay.h
include/gtk-vnc-2.0/vncdisplayenums.h
include/gtk-vnc-2.0/vncgrabsequence.h
include/gtk-vnc-2.0/vncimageframebuffer.h
include/gvnc-1.0/
include/gvnc-1.0/vncbaseframebuffer.h
include/gvnc-1.0/vnccolormap.h
@ -14,14 +20,19 @@ include/gvnc-1.0/vncpixelformat.h
include/gvnc-1.0/vncutil.h
lib/girepository-1.0/
lib/girepository-1.0/GVnc-1.0.typelib
lib/girepository-1.0/GtkVnc-2.0.typelib
lib/libgtk-vnc-2.0.a
lib/libgtk-vnc-2.0.la
lib/libgvnc-1.0.a
lib/libgvnc-1.0.la
@lib lib/libgvnc-1.0.so.${LIBgvnc-1.0_VERSION}
lib/pkgconfig/
lib/pkgconfig/gtk-vnc-2.0.pc
lib/pkgconfig/gvnc-1.0.pc
@man man/man1/gvnccapture.1
share/gir-1.0/
share/gir-1.0/GVnc-1.0.gir
share/gir-1.0/GtkVnc-2.0.gir
share/locale/ca/LC_MESSAGES/gtk-vnc.mo
share/locale/ca@valencia/
share/locale/ca@valencia/LC_MESSAGES/
@ -60,5 +71,3 @@ share/locale/th/LC_MESSAGES/gtk-vnc.mo
share/locale/zh_CN/LC_MESSAGES/gtk-vnc.mo
share/locale/zh_HK/LC_MESSAGES/gtk-vnc.mo
share/locale/zh_TW/LC_MESSAGES/gtk-vnc.mo
%%gtk2%%
!%%gtk2%%