From owner-freebsd-python@FreeBSD.ORG Fri Nov 29 18:10:19 2013 Return-Path: Delivered-To: freebsd-python@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 D22D7124; Fri, 29 Nov 2013 18:10:19 +0000 (UTC) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 8918A1604; Fri, 29 Nov 2013 18:10:18 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 992BA1E007C4; Fri, 29 Nov 2013 19:10:15 +0100 (CET) Received: from enceladus10.kn-bremen.de (noident@localhost [127.0.0.1]) by enceladus10.kn-bremen.de (8.14.5/8.14.5) with ESMTP id rATI7Ihc030830; Fri, 29 Nov 2013 19:07:18 +0100 (CET) (envelope-from nox@enceladus10.kn-bremen.de) Received: (from nox@localhost) by enceladus10.kn-bremen.de (8.14.5/8.14.5/Submit) id rATI7HON030829; Fri, 29 Nov 2013 19:07:17 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Fri, 29 Nov 2013 19:07:17 +0100 To: William Grzybowski Subject: Re: livestreamer port; anyone want to help porting python-librtmp? Message-ID: <20131129180717.GA30379@enceladus10.kn-bremen.de> References: <20131128232053.GA19413@enceladus10.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: multimedia-list freebsd , Juergen Lock , freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2013 18:10:19 -0000 On Thu, Nov 28, 2013 at 10:42:18PM -0200, William Grzybowski wrote: > On Thu, Nov 28, 2013 at 9:57 PM, William Grzybowski wrote: > > Hi, > > > > I can do it, give me a day or so ;) > > > Actually, done! :) > > Your livestreamer port looks OK at a quick glance, you can remove > NO_STAGE, python ports are stage ready. > Thanx! Turns out tho python-librtmp needs python singledispatch too: https://pypi.python.org/pypi/singledispatch Preliminary port: http://people.freebsd.org/~nox/tmp/py-singledispatch.shar And I updated the livestreamer shar too: http://people.freebsd.org/~nox/tmp/livestreamer.shar Index: multimedia/py-librtmp/Makefile =================================================================== --- multimedia/py-librtmp/Makefile (revision 335161) +++ multimedia/py-librtmp/Makefile (working copy) @@ -15,6 +15,7 @@ LIB_DEPENDS= librtmp.so:${PORTSDIR}/multimedia/librtmp BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=0:${PORTSDIR}/devel/py-cffi +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}singledispatch>=0:${PORTSDIR}/devel/py-singledispatch CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib Does this look ok to commit? Thanx again, :) Juergen PS: With these livestreamer plays rtmp ustream links too so you can watch say NASA TV: livestreamer http://www.ustream.tv/channel/nasa-hd-tv (to list the available streams) livestreamer http://www.ustream.tv/channel/nasa-hd-tv 360p (to play one of them in vlc, or:) livestreamer -p mplayer http://www.ustream.tv/channel/nasa-hd-tv 360p (to play the same in mplayer.)