Alexander Afanasyev | 6368d43 | 2012-10-10 15:11:30 -0700 | [diff] [blame] | 1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
| 2 | # $Id$ |
| 3 | |
| 4 | PortSystem 1.0 |
| 5 | PortGroup github 1.0 |
| 6 | PortGroup python 1.0 |
| 7 | |
Alexander Afanasyev | 4c8fb12 | 2013-07-14 13:19:20 -0700 | [diff] [blame] | 8 | github.setup remap ndnvideo ee2df117eb386fd91ff343b11790b7e8b656e561 |
| 9 | checksums rmd160 56c96068fed580776b4a0d93db706f58497b1568 \ |
| 10 | sha256 1810b2d1d6474517fa1e67e4dbc2ef244071b2e5d701937e3242ee0f9bbc3931 |
Alexander Afanasyev | 6368d43 | 2012-10-10 15:11:30 -0700 | [diff] [blame] | 11 | |
| 12 | name py-ndnvideo |
| 13 | homepage https://github.com/remap/ndnvideo |
| 14 | license Unknown |
| 15 | # version |
Alexander Afanasyev | 4c8fb12 | 2013-07-14 13:19:20 -0700 | [diff] [blame] | 16 | revision 4 |
Alexander Afanasyev | 6368d43 | 2012-10-10 15:11:30 -0700 | [diff] [blame] | 17 | |
| 18 | python.versions 27 |
| 19 | python.default_version 27 |
| 20 | |
| 21 | categories net ccnx |
| 22 | platforms darwin |
| 23 | maintainers ucla.edu:alexander.afanasyev |
| 24 | |
| 25 | description A video toolkit it publishes and plays live video in a segmented stream \ |
| 26 | that also seeks from buffer in CCNx repo |
| 27 | |
| 28 | # long_description |
| 29 | |
| 30 | use_configure false |
| 31 | |
| 32 | if {$subport != $name} { |
| 33 | depends_lib-append port:ccnx \ |
Alexander Afanasyev | 4c8fb12 | 2013-07-14 13:19:20 -0700 | [diff] [blame] | 34 | port:py${python.version}-ndn \ |
Alexander Afanasyev | 7b997f7 | 2013-03-20 10:09:31 -0700 | [diff] [blame] | 35 | port:py${python.version}-gst-python \ |
| 36 | port:gstreamer010-gst-ffmpeg \ |
| 37 | port:gstreamer010-gst-plugins-bad \ |
| 38 | port:gstreamer010-gst-plugins-base \ |
| 39 | port:gstreamer010-gst-plugins-gl \ |
| 40 | port:gstreamer010-gst-plugins-good \ |
| 41 | port:gstreamer010-gst-plugins-ugly \ |
| 42 | port:gstreamer010-gst-rtsp \ |
| 43 | port:gstreamer010 |
Alexander Afanasyev | 6368d43 | 2012-10-10 15:11:30 -0700 | [diff] [blame] | 44 | } |
Alexander Afanasyev | 7b997f7 | 2013-03-20 10:09:31 -0700 | [diff] [blame] | 45 | # port:gstreamer010-gst-rtsp-server \ |
Alexander Afanasyev | 6368d43 | 2012-10-10 15:11:30 -0700 | [diff] [blame] | 46 | |
| 47 | patchfiles fix-play.patch |
| 48 | |
| 49 | build { |
| 50 | reinplace "s|/usr/bin/env python|${python.bin}|g" ${worksrcpath}/videostreaming/play.py |
| 51 | } |
| 52 | |
| 53 | destroot { |
| 54 | xinstall -d ${destroot}${python.pkgd}/ndnvideo |
| 55 | xinstall -d ${destroot}${python.pkgd}/ndnvideo/pytimecode |
| 56 | |
| 57 | # system "echo ${worksrcpath}" |
| 58 | eval xinstall [glob ${worksrcpath}/videostreaming/*.py] ${destroot}${python.pkgd}/ndnvideo |
| 59 | eval xinstall [glob ${worksrcpath}/videostreaming/pytimecode/*.py] ${destroot}${python.pkgd}/ndnvideo/pytimecode |
| 60 | |
| 61 | xinstall ${worksrcpath}/videostreaming/play.py ${destroot}${prefix}/bin/ndnplay |
| 62 | } |
| 63 | |