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