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 103325 2013-02-22 03:58:11Z rmstonecipher@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | set my_name gst-python |
---|
7 | name py34-${my_name} |
---|
8 | version 1.2.1 |
---|
9 | revision 1 |
---|
10 | license LGPL |
---|
11 | categories python gnome multimedia |
---|
12 | maintainers rmstonecipher openmaintainer |
---|
13 | description GStreamer python bindings |
---|
14 | set my_name gst-python |
---|
15 | long_description ${my_name} allows python programs built with the gnome toolkit to use gstreamer for multimedia input/output |
---|
16 | homepage http://gstreamer.freedesktop.org/modules/gst-python.html |
---|
17 | platforms darwin |
---|
18 | master_sites http://gstreamer.freedesktop.org/src/${my_name}/ |
---|
19 | distname ${my_name}-${version} |
---|
20 | dist_subdir py34-gst-python |
---|
21 | use_bzip2 yes |
---|
22 | checksums rmd160 1391c17c3175345c72d83fdaa5588b55b38bfca4\ |
---|
23 | sha256 8823e5a9ffc51212df412652da44dc3f2a0e23295da769de2d111c770280efd4 |
---|
24 | depends_build port:py34-gobject3 \ |
---|
25 | port:pkgconfig |
---|
26 | depends_lib port:gstreamer1-gst-plugins-base |
---|
27 | |
---|
28 | #gst-python does not use setup.py, so python arguments are passed to configure |
---|
29 | set python_prefix ${frameworks_dir}/Python.framework/Versions/3.4 |
---|
30 | configure.pre_args-delete --prefix=${prefix} |
---|
31 | configure.pre_args-append --prefix=${python_prefix} |
---|
32 | configure.args-append --includedir=${python_prefix}/include/python3.4 \ |
---|
33 | --with-libpython-dir=${prefix}/lib |
---|
34 | configure.pkg_config_path ${python_prefix}/lib/pkgconfig |
---|
35 | configure.python ${prefix}/bin/python3.4 |
---|
36 | |
---|
37 | livecheck.url http://gstreamer.freedesktop.org/src/${my_name}/ |
---|
38 | livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" |
---|