Various PLIST fixes for Darwin.

This commit is contained in:
jperkin 2015-08-31 10:59:04 +00:00
parent 9e7c0d9b60
commit 42d17a1248
3 changed files with 16 additions and 7 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.51 2015/07/26 23:25:47 wiz Exp $
# $NetBSD: Makefile,v 1.52 2015/08/31 10:59:04 jperkin Exp $
DISTNAME= clutter-1.22.2
CATEGORIES= graphics gnome
@ -22,6 +22,13 @@ PKGCONFIG_OVERRIDE+= clutter/clutter.pc.in
TEST_TARGET= check
# Broken compat symlinks which fail "test -f" check in mk/plist/shlib-dylib.awk
# so they end up missing from PLIST. We don't need them so just remove.
.if ${OPSYS} == "Darwin"
post-install:
rm -f ${DESTDIR}${PREFIX}/lib/libclutter-glx-1.0.so*
.endif
.include "../../devel/gettext-lib/buildlink3.mk"
BUILDLINK_API_DEPENDS.atk+= atk>=2.5.3
.include "../../devel/atk/buildlink3.mk"

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.11 2015/07/26 23:25:47 wiz Exp $
@comment $NetBSD: PLIST,v 1.12 2015/08/31 10:59:04 jperkin Exp $
include/clutter-1.0/cally/cally-actor.h
include/clutter-1.0/cally/cally-clone.h
include/clutter-1.0/cally/cally-factory.h
@ -65,7 +65,6 @@ include/clutter-1.0/clutter/clutter-main.h
include/clutter-1.0/clutter/clutter-marshal.h
include/clutter-1.0/clutter/clutter-model.h
include/clutter-1.0/clutter/clutter-offscreen-effect.h
${PLIST.osx}include/clutter-1.0/clutter/clutter-osx.h
include/clutter-1.0/clutter/clutter-page-turn-effect.h
include/clutter-1.0/clutter/clutter-paint-node.h
include/clutter-1.0/clutter/clutter-paint-nodes.h
@ -134,6 +133,7 @@ include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h
include/clutter-1.0/clutter/deprecated/clutter-util.h
${PLIST.x11}include/clutter-1.0/clutter/glx/clutter-glx-texture-pixmap.h
${PLIST.x11}include/clutter-1.0/clutter/glx/clutter-glx.h
${PLIST.osx}include/clutter-1.0/clutter/osx/clutter-osx.h
${PLIST.x11}include/clutter-1.0/clutter/x11/clutter-x11-texture-pixmap.h
${PLIST.x11}include/clutter-1.0/clutter/x11/clutter-x11.h
${PLIST.introspection}lib/girepository-1.0/Cally-1.0.typelib

View file

@ -1,4 +1,4 @@
# $NetBSD: options.mk,v 1.8 2014/01/31 11:21:42 obache Exp $
# $NetBSD: options.mk,v 1.9 2015/08/31 10:59:04 jperkin Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.clutter
@ -19,6 +19,10 @@ CONFIGURE_ARGS+= --enable-introspection=yes
CONFIGURE_ARGS+= --enable-introspection=no
.endif
.if ${OPSYS} == "Darwin"
PLIST.osx= yes
.endif
.if !empty(PKG_OPTIONS:Mx11)
PLIST.x11= yes
CONFIGURE_ARGS+= --enable-x11-backend
@ -34,9 +38,7 @@ BUILDLINK_API_DEPENDS.libXcomposite+= libXcomposite>=0.4
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-x
.include "../../mk/bsd.prefs.mk"
. if ${OPSYS} == Darwin
PLIST.osx= yes
. if ${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --with-quartz-backend
. endif
.endif