[49438] trunk/dports/gnome/totem/Portfile

devans at macports.org devans at macports.org
Thu Apr 9 14:47:41 PDT 2009


Revision: 49438
          http://trac.macports.org/changeset/49438
Author:   devans at macports.org
Date:     2009-04-09 14:47:41 -0700 (Thu, 09 Apr 2009)
Log Message:
-----------
totem: add mode line, remove redundant declaration of default distname, simplify gstreamer dependencies, fix livecheck.

Modified Paths:
--------------
    trunk/dports/gnome/totem/Portfile

Modified: trunk/dports/gnome/totem/Portfile
===================================================================
--- trunk/dports/gnome/totem/Portfile	2009-04-09 21:38:15 UTC (rev 49437)
+++ trunk/dports/gnome/totem/Portfile	2009-04-09 21:47:41 UTC (rev 49438)
@@ -1,3 +1,4 @@
+# -*- 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
 # $Id$
 
 PortSystem      1.0
@@ -21,19 +22,22 @@
 
 homepage        http://live.gnome.org/Totem
 platforms       darwin
-master_sites    gnome:sources/totem/${branch}/
+master_sites    gnome:sources/${name}/${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 \
+
+depends_lib     port:p5-xml-parser \
                 port:gnome-doc-utils \
-                port:gst-plugins-base port:gst-plugins-good \
+                port:gst-plugins-good \
                 port:gnome-icon-theme \
                 port:totem-pl-parser \
                 port:eel \
@@ -48,7 +52,7 @@
                 BROWSER_PLUGIN_DIR=${prefix}/lib/nsplugins
 
 variant xine description {Use xine-lib instead of gstreamer} {
-    depends_lib-delete port:gstreamer
+    depends_lib-delete port:gst-plugins-good
     depends_lib-append port:xine-lib
     configure.args-append --enable-xine
 }
@@ -60,3 +64,7 @@
 post-destroot {
     eval delete [glob "${destroot}${prefix}/lib/nsplugins/*.la"]
 }
+
+livecheck.check regex
+livecheck.url   http://ftp.gnome.org/pub/gnome/sources/${name}/${branch}/
+livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090409/cf5dab2b/attachment.html>


More information about the macports-changes mailing list