[MacPorts] #27694: New Updated Port py27-gst-python
MacPorts
noreply at macports.org
Thu Dec 16 18:36:38 PST 2010
#27694: New Updated Port py27-gst-python
---------------------------------+------------------------------------------
Reporter: nDiScReEt@… | Owner: macports-tickets@…
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: python, gst | Port: py27-gst-python
---------------------------------+------------------------------------------
I modified the py26-gst-python port to support python 2.7 and found that
it compiled and installed. Please commit this new port. Here is the
modified working Portfile:
{{{
PortSystem 1.0
name py27-gst-python
version 0.10.20
categories python gnome multimedia
maintainers rmstonecipher elelay openmaintainer
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 http://gstreamer.freedesktop.org/modules/gst-
python.html
platforms darwin
master_sites http://gstreamer.freedesktop.org/src/${my_name}/
distname ${my_name}-${version}
use_bzip2 yes
checksums md5 d706ea52819305f698d80343a583b03b \
sha1 378b96087f7b6037e6f4da1a431081aad46c3902 \
rmd160 558e3cec6b6b73a065f139f0e5f2c7478e49844a
depends_lib port:py27-gtk \
port: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
configure.pkg_config_path ${python_prefix}/lib/pkgconfig
configure.python ${prefix}/bin/python2.7
livecheck.url http://gstreamer.freedesktop.org/src/${my_name}/
livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
}}}
--
Ticket URL: <https://trac.macports.org/ticket/27694>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list