svn commit: r425985 - head/net-p2p/sonarr

Mark Felder feld at FreeBSD.org
Sat Nov 12 19:13:09 UTC 2016


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}


More information about the svn-ports-head mailing list