blob: 19f6f8a3e8d315b856f12aac4c95197c5ea7d9bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
configure_flags = [
'--disable-mtp',
'--disable-daap',
'--disable-ipod',
'--disable-boo',
'--disable-gnome',
'--disable-docs'
]
if profile['name'] == 'osx':
configure_flags.append ('--enable-osx')
def change_to_gitdir (*args):
last_pwd = ''
while not os.path.isdir ('.git'):
os.chdir ('..')
if last_pwd == os.getcwd ():
break
last_pwd = os.getcwd ()
package = {
'name': 'banshee-1',
'version': '1.5.2',
'sources': [],
'prep': [
change_to_gitdir
],
'build': [
'./autogen.sh --prefix=%{_prefix} ' + ' '.join (configure_flags),
'%{__make}'
]
}
|