Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2014 18:28:28 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370387 - head/net-im/uTox
Message-ID:  <201410071828.s97ISSut037236@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Oct  7 18:28:27 2014
New Revision: 370387
URL: https://svnweb.freebsd.org/changeset/ports/370387
QAT: https://qat.redports.org/buildarchive/r370387/

Log:
  - Add runtime dependency on net-im/tox (workaround).
  - Remove stale libXft dependency. Add instead:
    * Fontconfig / freetype2 dependencies.
    * USE_XORG = x11 xext xrender.
  - Add missing dependencies (libv4l / libvpx / openal).
  - Make dbus dependency optional.
  
  PR:		194136
  Submitted by:	s3erios@gmail.com
  Approved by:	fidaj@ukr.net (maintainer)

Modified:
  head/net-im/uTox/Makefile

Modified: head/net-im/uTox/Makefile
==============================================================================
--- head/net-im/uTox/Makefile	Tue Oct  7 18:13:11 2014	(r370386)
+++ head/net-im/uTox/Makefile	Tue Oct  7 18:28:27 2014	(r370387)
@@ -2,6 +2,7 @@
 
 PORTNAME=	uTox
 DISTVERSION=	0.1.8.git20140925
+PORTREVISION=	1
 CATEGORIES=	net-im net-p2p
 
 MAINTAINER=	fidaj@ukr.net
@@ -12,8 +13,11 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox \
 		${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat
-LIB_DEPENDS=	libdbus-1.so:${PORTSDIR}/devel/dbus \
-		libXft.so:${PORTSDIR}/x11-fonts/libXft
+LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2 \
+		libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
+		libv4lconvert.so:${PORTSDIR}/multimedia/libv4l \
+		libvpx.so:${PORTSDIR}/multimedia/libvpx
+RUN_DEPENDS=	${LOCALBASE}/lib/libtoxcore.a:${PORTSDIR}/net-im/tox
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	notsecure
@@ -21,9 +25,16 @@ GH_PROJECT=	${PORTNAME}
 GH_TAGNAME=	${GH_COMMIT}
 GH_COMMIT=	3f86bb5
 
-USES=		compiler:c11 desktop-file-utils gmake pkgconfig
+USES=		compiler:c11 desktop-file-utils gmake openal:al pkgconfig
+USE_XORG=	x11 xext xrender
 INSTALLS_ICONS=	yes
 
+OPTIONS_DEFINE=		DBUS
+OPTIONS_DEFAULT=	DBUS
+
+DBUS_LIB_DEPENDS=	libdbus-1.so:${PORTSDIR}/devel/dbus
+DBUS_MAKE_ARGS_OFF=	DBUS=0
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/utox
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410071828.s97ISSut037236>