# -*- 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

PortSystem          1.0

name                py27-gst-python
version             0.10.22
revision            2
license             LGPL
categories          python gnome multimedia
maintainers         nomaintainer
description         GStreamer python bindings
set my_name         gst-python
long_description    ${my_name} allows python programs built with the gnome toolkit to use gstreamer for multimedia input/output
homepage            https://gstreamer.freedesktop.org/modules/gst-python.html
platforms           darwin
master_sites        https://gstreamer.freedesktop.org/src/${my_name}/
distname            ${my_name}-${version}
dist_subdir         py25-gst-python
use_bzip2           yes
checksums           md5     937152fe896241f827689f4b53e79b22 \
                    sha1    7012445d921ae1b325c162500750c9b0e777201f \
                    rmd160  6c4e43c5464297e0d45aa89f3cb82ed424caa283
depends_build       port:pkgconfig
depends_lib         port:py27-pygtk \
                    port:gstreamer010-gst-plugins-base

#gst-python does not use setup.py, so python arguments are passed to configure
set python_prefix           ${frameworks_dir}/Python.framework/Versions/2.7
configure.pre_args-delete   --prefix=${prefix}
configure.pre_args-append   --prefix=${python_prefix}
configure.args-append       --includedir=${python_prefix}/include/python2.7 \
                            --with-libpython-dir=${prefix}/lib
configure.pkg_config_path   ${python_prefix}/lib/pkgconfig
configure.python            ${prefix}/bin/python2.7

# 0.10.22 was the last release in the 0.10.x API series
# not to be confused with the current 1.x API series
livecheck.type      none
