Ticket #47470: py26-gst-python

File py26-gst-python, 1.9 KB (added by springermac (Jonathan Springer), 10 years ago)

py26-gst-python

Line 
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: Portfile 126417 2014-10-09 20:09:06Z rmstonecipher@macports.org $
3
4PortSystem          1.0
5replaced_by         py27-gst010-python
6PortGroup           obsolete 1.0
7
8name                py26-gst-python
9version             0.10.22
10revision            3
11license             LGPL
12categories          python gnome multimedia
13maintainers         nomaintainer
14description         GStreamer python bindings
15set my_name         gst-python
16long_description    ${my_name} allows python programs built with the gnome toolkit to use gstreamer for multimedia input/output
17homepage            http://gstreamer.freedesktop.org/modules/gst-python.html
18platforms           darwin
19master_sites        http://gstreamer.freedesktop.org/src/${my_name}/
20distname            ${my_name}-${version}
21dist_subdir         py25-gst-python
22use_bzip2           yes
23checksums           md5     937152fe896241f827689f4b53e79b22 \
24                    sha1    7012445d921ae1b325c162500750c9b0e777201f \
25                    rmd160  6c4e43c5464297e0d45aa89f3cb82ed424caa283
26depends_build       port:pkgconfig
27depends_lib         port:py26-pygtk \
28                    port:gstreamer010-gst-plugins-base
29
30#gst-python does not use setup.py, so python arguments are passed to configure
31set python_prefix           ${frameworks_dir}/Python.framework/Versions/2.6
32configure.pre_args-delete   --prefix=${prefix}
33configure.pre_args-append   --prefix=${python_prefix}
34configure.args-append       --includedir=${python_prefix}/include/python2.6 \
35                            --with-libpython-dir=${prefix}/lib
36configure.pkg_config_path   ${python_prefix}/lib/pkgconfig
37configure.python            ${prefix}/bin/python2.6
38
39livecheck.url       http://gstreamer.freedesktop.org/src/${my_name}/
40livecheck.regex     "${my_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"