From owner-svn-ports-head@FreeBSD.ORG Thu Jan 23 18:09:03 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BCB86784; Thu, 23 Jan 2014 18:09:03 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9D683195B; Thu, 23 Jan 2014 18:09:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0NI93QL055565; Thu, 23 Jan 2014 18:09:03 GMT (envelope-from dbn@svn.freebsd.org) Received: (from dbn@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0NI93Da055563; Thu, 23 Jan 2014 18:09:03 GMT (envelope-from dbn@svn.freebsd.org) Message-Id: <201401231809.s0NI93Da055563@svn.freebsd.org> From: David Naylor Date: Thu, 23 Jan 2014 18:09:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340844 - head/x11-toolkits/py-kivy X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2014 18:09:03 -0000 Author: dbn Date: Thu Jan 23 18:09:03 2014 New Revision: 340844 URL: http://svnweb.freebsd.org/changeset/ports/340844 QAT: https://qat.redports.org/buildarchive/r340844/ Log: Add py-ffmpeg as an optional dependency for x11-toolkits/py-kivy. While here simplify the port by using more option macros. Modified: head/x11-toolkits/py-kivy/Makefile Modified: head/x11-toolkits/py-kivy/Makefile ============================================================================== --- head/x11-toolkits/py-kivy/Makefile Thu Jan 23 18:06:23 2014 (r340843) +++ head/x11-toolkits/py-kivy/Makefile Thu Jan 23 18:09:03 2014 (r340844) @@ -31,13 +31,13 @@ USE_PYTHON= 2 SHEBANG_FILES= kivy/lib/osc/OSC.py OPTIONS_DEFINE= DOCS PDF TEST -OPTIONS_SET= ENCHANT OPENCV PYGAME # FFMPEG +OPTIONS_SET= ENCHANT OPENCV PYGAME OPTIONS_SUB= yes OPTIONS_GROUP= VIDEO AUDIO IMAGE CAMERA SPELLING CLIPBOARD OPTIONS_MULTI= WINDOW TEXT OPTIONS_MULTI_WINDOW= PYGAME X11 SDL2 OPTIONS_MULTI_TEXT= PIL PYGAME SDL2 -OPTIONS_GROUP_VIDEO= GSTREAMER # FFMPEG +OPTIONS_GROUP_VIDEO= GSTREAMER FFMPEG OPTIONS_GROUP_AUDIO= GSTREAMER PYGAME SDL2 OPTIONS_GROUP_IMAGE= PIL PYGAME OPTIONS_GROUP_CAMERA= OPENCV GSTREAMER @@ -64,10 +64,12 @@ WINDOW_DESC= Window support (compulsory) DOCS_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx ENCHANT_DESC= Spell checking support via Enchant ENCHANT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enchant>=0:${PORTSDIR}/textproc/py-enchant +FFMPEG_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ffmpeg/__init__.py:${PORTSDIR}/multimedia/py-ffmpeg GSTREAMER_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygst.py:${PORTSDIR}/multimedia/py-gstreamer OPENCV_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cv.py:${PORTSDIR}/graphics/py-opencv PDF_DESC= Build PDF documentation (required TeXLive, DOCS) PDF_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx +PDF_USE= TEX=texlive,pdftex:build,dvipsk:build PDF_USES= gmake PIL_DESC= Text and window rendering support via PIL PIL_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PIL:${PORTSDIR}/graphics/py-imaging @@ -76,18 +78,15 @@ PYGAME_RUN_DEPENDS= ${PYTHON_SITELIBDIR} PYGLET_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pyglet:${PORTSDIR}/graphics/py-pyglet SDL2_DESC= Simple Direct Media Layer v2.0 support SDL2_MAKE_ENV= USE_SDL=1 +SDL2_USE= SDL=sdl2,ttf2,mixer2 TEST_BUILD_DEPENDS= nosetests:${PORTSDIR}/devel/py-nose TEST_USES= display:build -X11_MAKE_ENV+= USE_X11=1 - -.if defined(NOT_IMPLEMENTED) -FFMPEG_RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ffmpeg:${PORTSDIR}/multimedia/py-ffmpeg -.endif +X11_MAKE_ENV= USE_X11=1 +X11_USE= XORG=x11 .include .if ${PORT_OPTIONS:MPDF} -USE_TEX= texlive pdftex:build dvipsk:build .if empty(PORT_OPTIONS:MDOCS) IGNORE= option PDF requires DOCS .endif @@ -97,14 +96,6 @@ IGNORE= option PDF requires DOCS NOSE_ARGS+= --exclude=test_fbo_pixels .endif -.if ${PORT_OPTIONS:MSDL2} -USE_SDL= sdl2 ttf2 mixer2 -.endif - -.if ${PORT_OPTIONS:MX11} -USE_XORG= x11 -.endif - .if ${PORT_OPTIONS:MTEST} post-build: do-test-build