svn commit: r370387 - head/net-im/uTox

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Oct 7 18:28:28 UTC 2014


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 at gmail.com
  Approved by:	fidaj at 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 at 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
 


More information about the svn-ports-head mailing list