Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2019 10:30:04 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r499627 - head/audio/lv2
Message-ID:  <201904221030.x3MAU4rq007074@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Mon Apr 22 10:30:03 2019
New Revision: 499627
URL: https://svnweb.freebsd.org/changeset/ports/499627

Log:
  audio/lv2: Fix Python (3.x) build, Add missing dependencies
  
  While lv2 itself works fine with any Python version we support, the build
  fails using a Python > 3.6, since the build bundles an old version of waf.
  
  waf upstream fixed the bug in a later version. [1]
  
  Restrict Python to up to 3.6 for now. [2]
  
  While here:
  
    - Add missing dependencies identified in QA. [3]
    - Pet portlint (USES order)
  
  [1] https://gitlab.com/ita1024/waf/commit/facdc0b173d933073832c768ec1917c553cb369c
  
  PR:		235103
  Reported by:	cs [3]
  Submitted by:	Charlie Li <ml+freebsd vishwin info> [2][3]
  Approved by:	Michael Beer <beerml sigma6audio de>
  MFH:		2019Q2 (blanket: build fix, missing dependencies)

Modified:
  head/audio/lv2/Makefile

Modified: head/audio/lv2/Makefile
==============================================================================
--- head/audio/lv2/Makefile	Mon Apr 22 09:31:20 2019	(r499626)
+++ head/audio/lv2/Makefile	Mon Apr 22 10:30:03 2019	(r499627)
@@ -3,7 +3,7 @@
 
 PORTNAME=	lv2
 PORTVERSION=	1.14.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 MASTER_SITES=	http://lv2plug.in/spec/
 
@@ -19,11 +19,12 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lx
 		${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rdflib>0:textproc/py-rdflib@${PY_FLAVOR}
 
-CONFLICTS_INSTALL=	lv2core
+USES=		python:-3.6 shebangfix tar:bzip2 waf
 
-USES=		python shebangfix tar:bzip2 waf
 SHEBANG_FILES=	lv2specgen/lv2specgen.py
 
+CONFLICTS_INSTALL=	lv2core
+
 OPTIONS_DEFINE=	DOCS DOXYGEN EXAMPLES
 OPTIONS_SUB=	yes
 
@@ -34,9 +35,11 @@ DOXYGEN_PORTDOCS=	*
 DOXYGEN_IMPLIES=	DOCS
 
 EXAMPLES_CONFIGURE_OFF=	--no-plugins
-EXAMPLES_LIB_DEPENDS=	libsndfile.so:audio/libsndfile
-EXAMPLES_USES=		pkgconfig
-EXAMPLES_USE=		GNOME=cairo,gtk20
+EXAMPLES_LIB_DEPENDS=	libsndfile.so:audio/libsndfile \
+			libfontconfig.so:x11-fonts/fontconfig \
+			libfreetype.so:print/freetype2
+EXAMPLES_USES=		pkgconfig gnome
+EXAMPLES_USE=		GNOME=atk,cairo,gdkpixbuf2,glib20,gtk20,pango
 EXAMPLES_CONFIGURE_ENV=	CC='${CC} -Wl,--as-needed' # Gtk deps
 
 post-install:



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