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

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

totem: white space cleanup (tabs to spaces.)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# $Id: Portfile 49427 2009-04-09 16:14:49Z devans@macports.org $
2
3PortSystem      1.0
4
5name            totem
6version         2.24.4
7set branch      [join [lrange [split ${version} .] 0 1] .]
8categories      gnome
9maintainers     nomaintainer
10description     Official movie player of the GNOME desktop environment
11long_description \
12        Totem is based on xine-lib or GStreamer. It features a \
13        playlist, a full-screen mode, seek and volume controls, \
14        as well as keyboard navigation. It comes with added \
15        functionality such as: \
16            * Video thumbnailer for the file manager \
17            * Nautilus properties tab \
18            * Mozilla (Firefox) plugin to view movies inside your \
19              browser (in development) \
20            * Webcam utility (in development)
21
22homepage        http://live.gnome.org/Totem
23platforms       darwin
24master_sites    gnome:sources/totem/${branch}/
25checksums       md5     f5d96849a4ca0a4edce9bd6f62b93f7d \
26                sha1    0fadda7c9eb70f3407866b18f97a9757ed65c6a2 \
27                rmd160  42bfbace2d213c7c51adcc4d72852d7793928472
28distname        totem-${version}
29use_bzip2       yes
30patchfiles      patch-bindings-python-totem.override.diff \
31                patch-src-plugins-totem-python-module.c.diff
32depends_build   port:pkgconfig
33depends_lib     port:gstreamer \
34                port:p5-xml-parser \
35                port:gnome-doc-utils \
36                port:gst-plugins-base port:gst-plugins-good \
37                port:gnome-icon-theme \
38                port:totem-pl-parser \
39                port:eel \
40                port:dbus-glib
41
42configure.python  ${prefix}/bin/python2.5
43
44configure.args  --with-plugins="thumbnail screensaver ontop gromit media-player-keys properties sidebar-test skipto youtube pythonconsole" \
45                --disable-static \
46                --enable-browser-plugins \
47                --enable-complex-plugin \
48                BROWSER_PLUGIN_DIR=${prefix}/lib/nsplugins
49
50variant xine description {Use xine-lib instead of gstreamer} {
51    depends_lib-delete port:gstreamer
52    depends_lib-append port:xine-lib
53    configure.args-append --enable-xine
54}
55
56post-patch {
57    reinplace "s:libdbus-glib-1.so.2:${prefix}/lib/libdbus-glib-1.2.dylib:" ${worksrcpath}/browser-plugin/totemPluginGlue.cpp
58}
59
60post-destroot {
61    eval delete [glob "${destroot}${prefix}/lib/nsplugins/*.la"]
62}
Note: See TracBrowser for help on using the repository browser.