Ticket #44813: Portfile

File Portfile, 1.8 KB (added by davidcorry, 10 years ago)

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