Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/sound
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv25918

Added Files:
        quodlibet.info quodlibet.patch 
Log Message:
new pkg quodlibet 2.6.3

--- NEW FILE: quodlibet.info ---
Info2: <<
Package: quodlibet
Version: 2.6.3
Revision: 1
Description: Audio library tagger, manager, and player
Type: python (2.7)
License: GPL
Maintainer: Hanspeter Niederstrasser <nie...@users.sourceforge.net>
Depends: <<
        feedparser-py%type_pkg[python],
        gnome-python2-py%type_pkg[python]-vfsmodule,
        gst-plugins-good-0.10-shlibs,
        gst-plugins-ugly-0.10-shlibs,
        gst-python-0.10-py%type_pkg[python],
        mutagen-py%type_pkg[python],
        pydbus-py%type_pkg[python],
        pygtk2-gtk-py%type_pkg[python],
        python%type_pkg[python],
        sensible-utils
<<
BuildDepends: <<
        gettext-tools,
        intltool40,
        pkgconfig,
        pydbus-py%type_pkg[python]-dev,
        pygtk2-gtk-py%type_pkg[python]-dev
<<
CustomMirror: <<
        Primary: 
https://bitbucket.org/lazka/quodlibet-files/raw/default/releases/
        Secondary: http://quodlibet.googlecode.com/files/
<<
Source: mirror:custom:quodlibet-%v.tar.gz
Source-MD5: d5fc80740c7b14663c4387016b9630b3
Source-Checksum: SHA1(a196e04d121f7dd85af43efe97e11f49d965b88a)
Source2: mirror:custom:quodlibet-plugins-%v.tar.gz
Source2-MD5: 30139936cb7ace53ae7ebe48e786da81
Source2-Checksum: SHA1(823b519215603467925fbbcc99c5cff8aba395b1)
PatchFile: %{Ni}.patch
PatchFile-MD5: 731bc4d86861c2369b88acc6a3a68905
PatchScript: <<
        sed -e 's|@FINK_PREFIX@|%p|g' \
                -e 's|@FINK_PYTHON_V@|%type_raw[python]|g' < %{PatchFile} | 
patch -p1
        perl -pi -e 's|/usr/bin/sensible|%p/bin/sensible|g' po/*.po
<<
CompileScript: <<
        %p/bin/python%type_raw[python] setup.py build
<<
InfoTest: <<
        TestDepends: <<
                pyflakes-py%type_pkg[python]
        <<
        TestScript: <<
                # Tconst is only for hg checkout
                # http://code.google.com/p/quodlibet/issues/detail?id=1235
                # fixed in 8ea9381314f9 post 2.6.2
                #rm tests/test_const.py
                # TSession doesn't work as fink-bld
                rm tests/test_qltk_session.py
                # fails
                perl -pi -e 's|    def test_symlink|#$&|g' tests/test_util.py
                # issues connecting to dbus listener
                rm tests/test_qltk_mmkeys.py
                # run the tests
                #xvfb-run %p/bin/python%type_raw[python] setup.py test || exit 2
        <<
<<
InstallScript: <<
        #!/bin/sh -ev
        %p/bin/python%type_raw[python] setup.py install --root %d --prefix %p
        mkdir -p %i/lib/python%type_raw[python]/site-packages/quodlibet/plugins
        cp -Rp %b/../quodlibet-plugins-%v/* 
%i/lib/python%type_raw[python]/site-packages/quodlibet/plugins/
        for i in exfalso operon quodlibet; do
                mv %i/bin/$i %i/bin/$i-py%type_pkg[python]
        done
<<
PostInstScript: <<
update-alternatives --install %p/bin/quodlibet quodlibet 
%p/bin/quodlibet-py%type_pkg[python] %type_pkg[python] \
        --slave %p/bin/exfalso exfalso %p/bin/exfalso-py%type_pkg[python] \
        --slave %p/bin/operon operon %p/bin/operon-py%type_pkg[python]
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
        update-alternatives --remove quodlibet 
%p/bin/quodlibet-py%type_pkg[python]
fi
<<
DocFiles: COPYING NEWS PKG-INFO README 
HomePage: http://code.google.com/p/quodlibet/
DescDetail: <<
Quod Libet is a GTK+-based audio player written in Python. It's 
designed around the idea that you know how to organize your music 
better than we do. It lets you make playlists based on regular 
expressions (don't worry, regular searches work too). It lets you 
display and edit any tags you want in the file. And it lets you do 
this for all the file formats it supports -- Ogg Vorbis, FLAC, MP3, 
Musepack, and MOD.

Quod Libet easily scales to libraries of thousands of songs. It also 
supports most of the features you expect from a modern media player, 
like Unicode support, multimedia keys, and tag editing.

Ex Falso is a program that uses the same tag editing backend as Quod 
Libet, but isn't connected to an audio player. If you're perfectly 
happy with your favorite player and just want something that can handle 
tagging, Ex Falso is for you.
<<
DescPort: <<
util/__init__.py patch removes -psn command line argument that quodlibet 
doesn't understand when it's run as an executable (from MacPorts).

TODO:
- quodlibet needs gstbe (gstreamer backend?) to actually work
<<
DescPackaging: <<
Only build a py27 variant.  This is an app, not a pymod.
<<
# info2
<<

--- NEW FILE: quodlibet.patch ---
diff -ruN quodlibet-2.6.3-orig/exfalso.py quodlibet-2.6.3/exfalso.py
--- quodlibet-2.6.3-orig/exfalso.py     2013-09-12 18:49:22.000000000 -0400
+++ quodlibet-2.6.3/exfalso.py  2013-10-01 15:18:26.000000000 -0400
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!@FINK_PREFIX@/bin/python@FINK_PYTHON_V@
 # Copyright 2004-2005 Joe Wreschnig, Niklas Janlert
 #           2012 Christoph Reiter
 # <quod-libet-developm...@googlegroups.com>
diff -ruN quodlibet-2.6.3-orig/operon.py quodlibet-2.6.3/operon.py
--- quodlibet-2.6.3-orig/operon.py      2013-09-12 18:49:22.000000000 -0400
+++ quodlibet-2.6.3/operon.py   2013-10-01 15:18:26.000000000 -0400
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!@FINK_PREFIX@/bin/python@FINK_PYTHON_V@
 # Copyright 2012,2013 Christoph Reiter
 #
 # This program is free software; you can redistribute it and/or modify
diff -ruN quodlibet-2.6.3-orig/quodlibet/util/__init__.py 
quodlibet-2.6.3/quodlibet/util/__init__.py
--- quodlibet-2.6.3-orig/quodlibet/util/__init__.py     2013-09-25 
06:31:19.000000000 -0400
+++ quodlibet-2.6.3/quodlibet/util/__init__.py  2013-10-01 15:18:26.000000000 
-0400
@@ -175,6 +175,8 @@
     def parse(self, args=None):
         if args is None:
             args = sys.argv[1:]
+        print "CmdLine is " + " ".join(args)
+        args = [a for a in args if not a.startswith("-psn_")]
         from getopt import getopt, GetoptError
         try:
             opts, args = getopt(args, self.__shorts(), self.__longs())
diff -ruN quodlibet-2.6.3-orig/quodlibet.py quodlibet-2.6.3/quodlibet.py
--- quodlibet-2.6.3-orig/quodlibet.py   2013-09-25 06:31:19.000000000 -0400
+++ quodlibet-2.6.3/quodlibet.py        2013-10-01 15:18:26.000000000 -0400
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!@FINK_PREFIX@/bin/python@FINK_PYTHON_V@
 # -*- coding: utf-8 -*-
 
 # Copyright 2004-2005 Joe Wreschnig, Michael Urman, Iñigo Serna
diff -ruN quodlibet-2.6.3-orig/setup.py quodlibet-2.6.3/setup.py
--- quodlibet-2.6.3-orig/setup.py       2013-09-25 06:31:19.000000000 -0400
+++ quodlibet-2.6.3/setup.py    2013-10-01 15:19:06.000000000 -0400
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!@FINK_PREFIX@/bin/python@FINK_PYTHON_V@
 
 0<>0 # Python 3.x not supported. Use 2.6+ instead.
 


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to