freebsd-ports/net-im/psimedia/Makefile
Koop Mast 7887c684ad * Update the glib to 2.34.3 and gtk20 to 2.24.17 and gtk30 to 3.6.4 which
are the latest stable releases.
* Update vala to the newest stable release 0.18.1, also update a few ports
  in the gtk/gnome stack.
* The c++ bindings ports for glib, atk, gconf, etc, have now USE_GNOME toggles.
* Remove pkg-config run depends from glib20 and freetype2. This doesn't
  eliminate pkg-config run dependency completely, a second phase is needed
  and is planned.
* Support for .:run. and .:build. for USE_GNOME components was added.
  Currently only libxml2 and libxslt support this mechanism.
* Updates of the telepathy stack and empathy.
* Trim makefile headers, convert ports to new options, trim off library
  versions for some ports.
* Fix other ports so they build with the new glib version.

Thanks to miwi and crees for helping out with some exp-runs.
Approved by:	portmgr (miwi & bapt)
Obtained from:	gnome team repo
2013-03-08 10:51:34 +00:00

55 lines
1.3 KiB
Makefile

# New ports collection makefile for: psimedia
# Date created: 2009-08-10
# Whom: Max Brazhnikov <makc@FreeBSD.org>
#
# $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
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
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>