Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (19 sloc) 885 Bytes
# -*- python -*-
# encoding: utf-8
def configure(conf):
conf.env.append_value('MODULES_AVAILABLE', 'gnomeapplet')
if 'gnomeapplet' in conf.env['ENABLE_MODULES'] or 'all' in conf.env['ENABLE_MODULES']:
if conf.pkg_check_modules('GNOMEAPPLET',
'libpanelapplet-2.0 >= 2.13.4 pygobject-2.0 libgnome-2.0 libgnomeui-2.0',
conf.env.append_value('MODULES_TO_BUILD', 'gnomeapplet')
def build(bld):
env = bld.env
if 'gnomeapplet' in env['MODULES_TO_BUILD']:
pyext = bld.create_pyext()
pyext.source = 'appletmodule.c applet.c' = 'gnomeapplet'
pyext.uselib = 'GNOMEAPPLET'
pyext.install_path = '${PYTHONDIR}/gtk-2.0'
bld.install_files('${DATADIR}/pygtk/2.0/defs', 'applet.defs')
Something went wrong with that request. Please try again.