Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 7dfd434a13
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (32 sloc) 1.178 kB
#!/usr/bin/env python
VERSION = "11.7"
VERSION_MAJOR_MINOR = ".".join(VERSION.split(".")[0:1])
APPNAME = "sshconf"
srcdir = '.'
blddir = 'build'
def set_options(opt):
opt.tool_options('compiler_cc')
opt.tool_options('gnu_dirs')
def configure(conf):
conf.check_tool('compiler_cc vala gnu_dirs')
conf.check_cfg(package='glib-2.0', uselib_store='GLIB',
atleast_version='2.28.0', mandatory=True, args='--cflags --libs')
conf.check_cfg(package='gtk+-3.0', uselib_store='GTK+',
atleast_version='3.0.0', mandatory=True, args='--cflags --libs')
conf.check_cfg(package='gee-1.0', uselib_store='GEE',
atleast_version='0.6.0', mandatory=True, args='--cflags --libs')
def build(bld):
prog = bld(features='cc cprogram')
# name of the resulting program
prog.target = APPNAME
# Sources to use
prog.source = ['sshconf.vala',
'sshconf-entry.vala',
'sshconf-entry-model.vala',
'sshconf-editor.vala',
'sshconf-properties.vala']
# libraries to link against
prog.uselib = ['GTK+', 'GLIB', 'GEE']
# Vala packages to use
prog.vapi_dirs = ['./']
prog.packages = ['gtk+-3.0', 'gee-1.0', 'glue']
Jump to Line
Something went wrong with that request. Please try again.