As naddy noticed, my last build picked up glib2 stuff.
Embrace glib2 support, namely produce a subpackage that glib2 applications can use to get mcop support. (disabled with pseudo flavor no_glib if you're in a hurry)
This commit is contained in:
parent
c43f93f261
commit
06d982b9fd
@ -1,6 +1,7 @@
|
||||
# $OpenBSD: Makefile,v 1.14 2002/12/02 16:27:21 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.15 2002/12/03 13:58:19 espie Exp $
|
||||
|
||||
COMMENT= "X11 toolkit, multimedia hub"
|
||||
COMMENT-gmcop= "glib support for mcop"
|
||||
CATEGORIES= x11 x11/kde
|
||||
VERSION= 3.0.5
|
||||
DISTNAME= arts-1.0.5
|
||||
@ -8,6 +9,22 @@ DISTNAME= arts-1.0.5
|
||||
NOT_FOR_ARCHS=
|
||||
LIB_DEPENDS= audiofile::devel/libaudiofile
|
||||
SEPARATE_BUILD=simple
|
||||
|
||||
PSEUDO_FLAVORS=no_glib
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:L}=="no_glib"
|
||||
CONFIGURE_ENV+=ac_cv_path_PKG_CONFIG=no
|
||||
.else
|
||||
MULTI_PACKAGES=-gmcop
|
||||
BUILD_DEPENDS=::devel/glib2
|
||||
.endif
|
||||
|
||||
SUBPACKAGE?=
|
||||
|
||||
.if ${SUBPACKAGE} == "-gmcop"
|
||||
LIB_DEPENDS+=glib-2.0.0.0,gmodule-2.0.0.0,gobject-2.0.0.0,gthread-2.0.0.0::devel/glib2
|
||||
.endif
|
||||
|
||||
pre-build:
|
||||
@if pkg dependencies check kdelibs-\*; then \
|
||||
|
1
x11/kde/arts3/pkg/DESCR-gmcop
Normal file
1
x11/kde/arts3/pkg/DESCR-gmcop
Normal file
@ -0,0 +1 @@
|
||||
gmcop provides mcop support for glib applications.
|
2
x11/kde/arts3/pkg/PFRAG.no-shared-gmcop
Normal file
2
x11/kde/arts3/pkg/PFRAG.no-shared-gmcop
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.no-shared-gmcop,v 1.1 2002/12/03 13:58:19 espie Exp $
|
||||
lib/libgmcop.a
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.7 2002/12/02 16:27:21 espie Exp $
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.8 2002/12/03 13:58:19 espie Exp $
|
||||
lib/libartsc.so.0.0
|
||||
lib/libartscbackend.so.0.0
|
||||
lib/libartsdsp.so.0.0
|
||||
@ -6,7 +6,6 @@ lib/libartsdsp_st.so.0.0
|
||||
lib/libartsflow.so.1.0
|
||||
lib/libartsflow_idl.so.1.0
|
||||
lib/libartswavplayobject.so.0.0
|
||||
lib/libgmcop.so.1.0
|
||||
lib/libkmedia2.so.1.0
|
||||
lib/libkmedia2_idl.so.1.0
|
||||
lib/libmcop.so.1.0
|
||||
|
3
x11/kde/arts3/pkg/PFRAG.shared-gmcop
Normal file
3
x11/kde/arts3/pkg/PFRAG.shared-gmcop
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared-gmcop,v 1.1 2002/12/03 13:58:19 espie Exp $
|
||||
lib/libgmcop.so.1.0
|
||||
DYNLIBDIR(%D/lib)
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.7 2002/12/02 16:27:21 espie Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.8 2002/12/03 13:58:19 espie Exp $
|
||||
@pkgcfl kdelibs-2.*
|
||||
bin/artsc-config
|
||||
bin/artscat
|
||||
@ -37,7 +37,6 @@ include/arts/extensionloader.h
|
||||
include/arts/factory.h
|
||||
include/arts/fft.h
|
||||
include/arts/flowsystem.h
|
||||
include/arts/giomanager.h
|
||||
include/arts/idlfilereg.h
|
||||
include/arts/ifacerepo_impl.h
|
||||
include/arts/iomanager.h
|
||||
@ -75,7 +74,6 @@ lib/libartsdsp_st.la
|
||||
lib/libartsflow.la
|
||||
lib/libartsflow_idl.la
|
||||
lib/libartswavplayobject.la
|
||||
lib/libgmcop.la
|
||||
lib/libkmedia2.la
|
||||
lib/libkmedia2_idl.la
|
||||
lib/libmcop.la
|
||||
|
4
x11/kde/arts3/pkg/PLIST-gmcop
Normal file
4
x11/kde/arts3/pkg/PLIST-gmcop
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-gmcop,v 1.1 2002/12/03 13:58:19 espie Exp $
|
||||
include/arts/giomanager.h
|
||||
lib/libgmcop.la
|
||||
%%SHARED%%
|
Loading…
x
Reference in New Issue
Block a user