1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python25 1.0 |
---|
5 | name py25-quodlibet |
---|
6 | set my_name quodlibet |
---|
7 | version 2.1 |
---|
8 | categories python audio |
---|
9 | maintainers wanadoo.fr:neric27 openmaintainer |
---|
10 | platforms darwin |
---|
11 | description audio library manager and player for GTK+ |
---|
12 | |
---|
13 | long_description \ |
---|
14 | Quod Libet is a GTK+-based audio player written in Python, \ |
---|
15 | using the Mutagen tagging library and GStreamer for playback.\ |
---|
16 | It provides several different ways to view your audio library, \ |
---|
17 | as well as support for Internet radio and audio feeds.\ |
---|
18 | It has extremely flexible metadata tag editing and searching capabilities. |
---|
19 | |
---|
20 | homepage http://code.google.com/p/quodlibet/ |
---|
21 | master_sites http://quodlibet.googlecode.com/files/ |
---|
22 | distname ${my_name}-${version} |
---|
23 | |
---|
24 | checksums md5 abd362699a7118c7720c13fbda0c8c9e \ |
---|
25 | sha1 15a40c054955d1ad539432a265b2c96225b864c2 \ |
---|
26 | rmd160 349b9ac2f913e83a2f3216e1f804c9cd8b41766f |
---|
27 | |
---|
28 | depends_lib port:gst-python \ |
---|
29 | port:py25-mutagen \ |
---|
30 | port:py25-feedparser |
---|
31 | |
---|
32 | patchfiles patch-setup.py.diff \ |
---|
33 | patch-quodlibet_quodlibet___init__.py.diff |
---|
34 | |
---|
35 | post-patch { |
---|
36 | foreach file { quodlibet.py exfalso.py } { |
---|
37 | reinplace "s|/usr/bin/env python|${frameworks_dir}/Python.framework/Versions/2.5/bin/python2.5|g" \ |
---|
38 | ${worksrcpath}/${file} |
---|
39 | } |
---|
40 | } |
---|
41 | |
---|
42 | # temporary fix for #20522 : create manually a link in Python 2.5 Framework directory to /opt/local/share. |
---|
43 | # This is necessary for translations to work |
---|
44 | post-destroot { |
---|
45 | xinstall -d ${destroot}/${frameworks_dir}/Python.framework/Versions/2.5 |
---|
46 | ln -s ${prefix}/share ${destroot}/${frameworks_dir}/Python.framework/Versions/2.5/share |
---|
47 | } |
---|