blob: 71b4f92ce65ff7d5d323f0b421bce509fe19635b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# $FreeBSD$
PORTNAME= psimedia
PORTVERSION= 1.0.3
PORTREVISION= 1
CATEGORIES= net-im audio multimedia
MASTER_SITES= http://delta.affinix.com/download/psimedia/
MAINTAINER= makc@FreeBSD.org
COMMENT= Voice and video API for Psi-like IM clients
LIB_DEPENDS= oil-0.3:${PORTSDIR}/devel/liboil
USES= pkgconfig
USE_BZIP2= yes
HAS_CONFIGURE= yes
USE_QT4= gui qmake_build moc_build uic_build
USE_GSTREAMER= jpeg speex theora vorbis
QT_NONSTANDARD= yes
CONFIGURE_ARGS= --qtdir=${LOCALBASE} \
--verbose
MAKE_JOBS_UNSAFE= yes
PSI_PLUGIN_DIR= lib/psi/plugins
.if !defined(WITH_DEBUG)
CONFIGURE_ARGS+= --release
PLIST_SUB+= DEBUG="@comment "
.else
CONFIGURE_ARGS+= --debug
PLIST_SUB+= DEBUG=""
.endif
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
${WRKSRC}/gstprovider/rwcontrol.h \
${WRKSRC}/gstprovider/gstthread.h \
${WRKSRC}/gstprovider/gstelements/static/gstelements.h \
${WRKSRC}/gstprovider/gstcustomelements/gstcustomelements.h
do-install:
${MKDIR} ${PREFIX}/${PSI_PLUGIN_DIR}
${INSTALL_PROGRAM} ${WRKSRC}/gstprovider/libgstprovider.so \
${PREFIX}/${PSI_PLUGIN_DIR}
.if defined(WITH_DEBUG)
${INSTALL_DATA} ${WRKSRC}/gstprovider/libgstprovider.so.debug \
${PREFIX}/${PSI_PLUGIN_DIR}
.endif
.include <bsd.port.mk>
|