# $Id: Portfile 49427 2009-04-09 16:14:49Z devans@macports.org $ PortSystem 1.0 name totem version 2.24.4 set branch [join [lrange [split ${version} .] 0 1] .] categories gnome maintainers nomaintainer description Official movie player of the GNOME desktop environment long_description \ Totem is based on xine-lib or GStreamer. It features a \ playlist, a full-screen mode, seek and volume controls, \ as well as keyboard navigation. It comes with added \ functionality such as: \ * Video thumbnailer for the file manager \ * Nautilus properties tab \ * Mozilla (Firefox) plugin to view movies inside your \ browser (in development) \ * Webcam utility (in development) homepage http://live.gnome.org/Totem platforms darwin master_sites gnome:sources/totem/${branch}/ checksums md5 f5d96849a4ca0a4edce9bd6f62b93f7d \ sha1 0fadda7c9eb70f3407866b18f97a9757ed65c6a2 \ rmd160 42bfbace2d213c7c51adcc4d72852d7793928472 distname totem-${version} use_bzip2 yes patchfiles patch-bindings-python-totem.override.diff \ patch-src-plugins-totem-python-module.c.diff depends_build port:pkgconfig depends_lib port:gstreamer \ port:p5-xml-parser \ port:gnome-doc-utils \ port:gst-plugins-base port:gst-plugins-good \ port:gnome-icon-theme \ port:totem-pl-parser \ port:eel \ port:dbus-glib configure.python ${prefix}/bin/python2.5 configure.args --with-plugins="thumbnail screensaver ontop gromit media-player-keys properties sidebar-test skipto youtube pythonconsole" \ --disable-static \ --enable-browser-plugins \ --enable-complex-plugin \ BROWSER_PLUGIN_DIR=${prefix}/lib/nsplugins variant xine description {Use xine-lib instead of gstreamer} { depends_lib-delete port:gstreamer depends_lib-append port:xine-lib configure.args-append --enable-xine } post-patch { reinplace "s:libdbus-glib-1.so.2:${prefix}/lib/libdbus-glib-1.2.dylib:" ${worksrcpath}/browser-plugin/totemPluginGlue.cpp } post-destroot { eval delete [glob "${destroot}${prefix}/lib/nsplugins/*.la"] }