[67978] trunk/dports/games

ryandesign at macports.org ryandesign at macports.org
Sun May 23 11:43:58 PDT 2010


Revision: 67978
          http://trac.macports.org/changeset/67978
Author:   ryandesign at macports.org
Date:     2010-05-23 11:43:52 -0700 (Sun, 23 May 2010)
Log Message:
-----------
sounddecompress: new port, version 1.11

Added Paths:
-----------
    trunk/dports/games/sounddecompress/
    trunk/dports/games/sounddecompress/Portfile
    trunk/dports/games/sounddecompress/files/
    trunk/dports/games/sounddecompress/files/patch-wxSoundDecompress.py.diff

Added: trunk/dports/games/sounddecompress/Portfile
===================================================================
--- trunk/dports/games/sounddecompress/Portfile	                        (rev 0)
+++ trunk/dports/games/sounddecompress/Portfile	2010-05-23 18:43:52 UTC (rev 67978)
@@ -0,0 +1,70 @@
+# $Id$
+
+PortSystem                  1.0
+
+name                        sounddecompress
+version                     1.11
+platforms                   darwin
+categories                  games audio sysutils
+maintainers                 ryandesign
+homepage                    http://uru.zero-factorial.com/index.php?page=tools
+master_sites                http://uru.zero-factorial.com/tools/
+
+description                 decompresses Myst Online: URU Live sounds
+
+long_description            SoundDecompress is a utility to decompress sounds \
+                            used by the game Myst Online: URU Live so that \
+                            they can be played by the game. The game should \
+                            do this on its own, but in certain configurations \
+                            (such as when running the game under Wine) the \
+                            sounds get decompressed incorrectly, resulting in \
+                            silence or static. Run this tool to fix the sounds.
+
+notes                       To have SoundDecompress decompress the sounds in \
+                            a Myst Online: URU Live installation installed by \
+                            the mystonline-cider or mystonline-wine ports, run \
+                            \n\
+                            \nsounddecompress.py -u ${prefix}/share/mystonline/data
+
+distname                    ${name}_v[strsed ${version} {g/\.//}]
+use_bzip2                   yes
+
+checksums                   md5     8a3dace5f7158e65e81fcc337c4b8082 \
+                            sha1    724358f43d38009512d6d03f0b1e28b07efccc4d \
+                            rmd160  4adab63b65699aae5fc0e7941da94cc23718f728
+
+depends_lib                 port:libhsplasma \
+                            port:sox
+#                            port:py26-wxpython
+
+depends_run                 port:python26
+
+extract.mkdir               yes
+
+patchfiles                  patch-wxSoundDecompress.py.diff
+
+post-patch {
+    reinplace "s|^#!/usr/bin/env python$|#!${prefix}/bin/python2.6|g" \
+        ${worksrcpath}/sounddecompress.py \
+        ${worksrcpath}/wxSoundDecompress.py
+    reinplace "s|@PREFIX@|${prefix}|g" \
+        ${worksrcpath}/wxSoundDecompress.py
+}
+
+use_configure               no
+if {[info exists supported_archs]} {
+    supported_archs noarch
+}
+
+build                       {}
+
+destroot {
+    xinstall ${worksrcpath}/sounddecompress.py ${destroot}${prefix}/bin
+#    xinstall ${worksrcpath}/wxSoundDecompress.py ${destroot}${prefix}/bin
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${docdir}
+    xinstall -m 644 ${worksrcpath}/ReadMe.txt ${docdir}
+}
+
+livecheck.type              regex
+livecheck.regex             {(?i)SoundDecompress(?:or)? v([0-9.]+)}


Property changes on: trunk/dports/games/sounddecompress/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/games/sounddecompress/files/patch-wxSoundDecompress.py.diff
===================================================================
--- trunk/dports/games/sounddecompress/files/patch-wxSoundDecompress.py.diff	                        (rev 0)
+++ trunk/dports/games/sounddecompress/files/patch-wxSoundDecompress.py.diff	2010-05-23 18:43:52 UTC (rev 67978)
@@ -0,0 +1,11 @@
+--- wxSoundDecompress.py.orig	2010-03-08 12:32:43.000000000 -0600
++++ wxSoundDecompress.py	2010-05-21 16:26:10.000000000 -0500
+@@ -40,7 +40,7 @@
+     "win32": "C:\\Program Files\\Uru Live\\",
+     }
+ 
+-DefaultUruDir = PlatformDefaultDir[sys.platform]
++DefaultUruDir = "@PREFIX@/share/mystonline/data"
+ DefaultDataDir = "dat"
+ DefaultSFXDir = "sfx"
+ DefaultCacheDir = os.path.join(DefaultSFXDir,"streamingCache")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100523/3f16ce0d/attachment.html>


More information about the macports-changes mailing list