source: trunk/dports/gnome/totem/Portfile @ 71857

Last change on this file since 71857 was 71857, checked in by devans@…, 9 years ago

various GNOME related ports: update comments concerning universal variant

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.4 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 71857 2010-09-24 17:42:03Z devans@macports.org $
3
4PortSystem      1.0
5
6name            totem
7version         2.30.2
8set branch      [join [lrange [split ${version} .] 0 1] .]
9categories      gnome
10maintainers     devans openmaintainer
11description     Official movie player of the GNOME desktop environment
12long_description \
13        Totem is based on GStreamer. It features a \
14        playlist, a full-screen mode, seek and volume controls, \
15        as well as keyboard navigation. It comes with added \
16        functionality such as: \
17            * Video thumbnailer for the file manager \
18            * Nautilus properties tab \
19            * Mozilla (Firefox) plugin to view movies inside your \
20              browser (in development) \
21            * Webcam utility (in development)
22
23homepage        http://live.gnome.org/Totem
24platforms       darwin
25master_sites    gnome:sources/${name}/${branch}/
26
27checksums       md5     4ff658d6178fdb57f310c54daf596de7 \
28                sha1    78b59e0e61a620718b2e87c82046ea1f1fe4607d \
29                rmd160  78ab8d58eb8e0349190042c34434c3ce8ac8f3e0
30
31use_bzip2       yes
32
33patchfiles      patch-configure.diff \
34                patch-src-plugins-totem-python-module.c.diff \
35                patch-bindings-python-totem.override.diff \
36                patch-browser-plugin-totemPlugin.cpp.diff
37
38depends_build   port:pkgconfig \
39                port:intltool \
40                port:gnome-doc-utils \
41                port:gtk-doc
42
43depends_lib     port:gconf \
44                port:libgdata \
45                port:totem-pl-parser \
46                port:xorg-libXtst \
47                port:xorg-libXxf86vm \
48                port:py26-gtk \
49                port:gst-plugins-good \
50                port:gst-plugins-bad \
51                port:gst-plugins-ugly \
52                port:gst-ffmpeg \
53                port:nautilus
54
55depends_run     port:gnome-settings-daemon
56
57configure.args  --with-plugins="thumbnail ontop gromit media-player-keys properties sidebar-test skipto youtube pythonconsole dbus-service" \
58                --disable-static \
59                --enable-browser-plugins \
60                --enable-easy-codec-installation \
61                --enable-nautilus \
62                --disable-vala \
63                --disable-schemas-install \
64                --disable-scrollkeeper \
65                --x-includes=${prefix}/include \
66                --x-libraries=${prefix}/lib \
67                BROWSER_PLUGIN_DIR=${prefix}/lib/nsplugins
68
69set python_prefix          ${frameworks_dir}/Python.framework/Versions/2.6
70configure.python           ${prefix}/bin/python2.6
71configure.pkg_config_path  ${python_prefix}/lib/pkgconfig
72configure.env              PATH=${python_prefix}/bin:$env(PATH)
73
74post-patch {
75    reinplace "s:libdbus-glib-1.so.2:${prefix}/lib/libdbus-glib-1.2.dylib:" ${worksrcpath}/browser-plugin/totemPluginGlue.cpp
76}
77
78#
79# py26-gtk -> py26-cairo -> py26-numpy is not universal
80#
81
82universal_variant no
83
84post-destroot {
85    eval delete [glob "${destroot}${prefix}/lib/nsplugins/*.la"]
86}
87
88post-activate {
89    system "scrollkeeper-update"
90    system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
91        gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
92}
93
94livecheck.type  regex
95livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
96livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.