3 # | \ | | ____ ____ __ | | | __ ____ ____ _ __
4 # | \ | |/ /_\\/ /_\\ / \ | / \ / /_\\/ /_\\| |//
5 # | |\ \| | \___ \___( o | o ) \___ \___| /
6 # |_| \___|\____/\____/ \____/ \____/ \____/\____/|_|
9 # (c) 2010 Thomas Martitz
11 # This program is free software; you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License as published by
13 # the Free Software Foundation; either version 2 of the License, or
14 # (at your option) any later version.
16 # This program is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU General Public License for more details.
21 # You should have received a copy of the GNU General Public License
22 # along with this program; if not, write to the Free Software
23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
39 'src/backends/mpd/mpd_init.c' ]
44 print('→ configuring the project')
45 conf.check_tool('compiler_cc')
46 conf.check_cfg(package='libmpdclient', atleast_version='2.0', uselib_store='MPD',
47 mandatory=True, args='--cflags --libs')
48 conf.check_cfg(package='gtk+-2.0', atleast_version='2.8.0', uselib_store='GTK',
49 mandatory=True, args='--cflags --libs')
50 conf.env.append_value('CCFLAGS', '-g -O2'.split())
51 conf.define('VERSION', VERSION, 1)
55 print('building the software')
57 features = 'cc cprogram',
60 source = beer_sources,
61 includes = 'src/ src/backends/mpd/',
63 dict = { 'VERSION' : VERSION },
66 opt.tool_options('compiler_cc')