#
# Copyright (c) 2006 Paul Scott-Wilson <pscott>
# This file is distributed under the terms of the MIT License.
# A copy is available at http://www.rpath.com/permanent/mit-license.html
#
class QuodLibet(CPackageRecipe):
name = 'quodlibet'
version = '0.23.1'
buildRequires = [ 'atk:devel', 'cairo:devel', 'dbus-python:python',
'desktop-file-utils:runtime', 'expat:devel', 'feedparser:python',
'fontconfig:devel', 'freetype:devel', 'glib:devel',
'gnome-python:python', 'gst-python:python', 'gtk:devel',
'libX11:devel', 'libXrender:devel', 'libpng:devel', 'mutagen:python',
'pango:devel', 'pygobject:python', 'pygtk:python', 'zlib:devel' ]
def setup(r):
r.addArchive('http://www.sacredchao.net/~piman/software/')
#Remove a deprecated function call
r.addPatch('patch-gdk-threads.diff')
r.Replace('/usr/local','%(prefix)s', 'Makefile', lines=6)
r.Make('extensions')
r.MakeInstall()