File: wscript_build

package info (click to toggle)
diodon 1.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,332 kB
  • ctags: 2,064
  • sloc: python: 17,705; makefile: 6
file content (25 lines) | stat: -rw-r--r-- 642 bytes parent folder | download | duplicates (3)
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
#! /usr/bin/env python
# encoding: utf-8
# Oliver Sauder, 2010

import os

lib = bld.shlib (
  features = 'c cshlib',
  target = 'indicator',
  vapi_dirs = '../../vapi ../../libdiodon',
  uselib = 'APPINDICATOR PEAS',
  use = 'libdiodon',
  install_binding = False,
  cflags = ['-include', 'config.h'],
  packages = 'appindicator3-0.1 libpeas-1.0',
  source = bld.path.ant_glob (incl='**/*.vala'))

lib.install_path = os.path.join(bld.env['PLUGINS_DIR'], lib.target)

bld.new_task_gen (
  features = 'intltool_in',
  podir = '../../po',
  source = 'indicator.plugin.in',
  flags = ["-d", "-q", "-u", "-c"],
  install_path = lib.install_path)