Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Nov 2016 19:13:08 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r425985 - head/net-p2p/sonarr
Message-ID:  <201611121913.uACJD8lB074406@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Sat Nov 12 19:13:07 2016
New Revision: 425985
URL: https://svnweb.freebsd.org/changeset/ports/425985

Log:
  net-p2p/sonarr: Make X11 optional
  
  X11 dependencies were added to resolve a crashing issue in newer
  versions of sonarr. This has been resolved upstream and is now optional.
  The role of X11 (libgdiplus) is to enable image file resizing.
  
  PR:		214244

Modified:
  head/net-p2p/sonarr/Makefile

Modified: head/net-p2p/sonarr/Makefile
==============================================================================
--- head/net-p2p/sonarr/Makefile	Sat Nov 12 18:50:34 2016	(r425984)
+++ head/net-p2p/sonarr/Makefile	Sat Nov 12 19:13:07 2016	(r425985)
@@ -2,7 +2,7 @@
 
 PORTNAME=	sonarr
 PORTVERSION=	2.0.0.4389
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	net-p2p
 MASTER_SITES=	http://download.sonarr.tv/v2/master/mono/
 DISTNAME=	NzbDrone.master.${PORTVERSION}.mono
@@ -15,8 +15,7 @@ LICENSE=	GPLv3
 RUN_DEPENDS=	mono>0:lang/mono \
 		mediainfo>0:multimedia/mediainfo \
 		sqlite3>0:databases/sqlite3
-LIB_DEPENDS=	libcurl.so:ftp/curl \
-		libgdiplus.so:x11-toolkits/libgdiplus
+LIB_DEPENDS=	libcurl.so:ftp/curl
 
 USE_RC_SUBR=	sonarr
 
@@ -25,6 +24,13 @@ WRKSRC=	${WRKDIR}/NzbDrone
 
 USERS=	sonarr
 
+OPTIONS_DEFINE=	X11
+
+# Permits image resizing
+X11_LIB_DEPENDS+=libgdiplus.so:x11-toolkits/libgdiplus
+
+.include <bsd.port.options.mk>
+
 do-install:
 	${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}
 	cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}



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