File: meson.build

package info (click to toggle)
hexchat 2.14.2-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 12,060 kB
  • sloc: ansic: 61,559; xml: 3,988; perl: 1,144; cs: 589; cpp: 307; python: 150; sh: 130; makefile: 36
file content (17 lines) | stat: -rw-r--r-- 525 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
python2_opt = get_option('with-python2')
python2_dep = dependency(python2_opt, version: '>= 2.7')
python3_opt = get_option('with-python3')
python3_dep = dependency(python3_opt, version: '>= 3.3')

shared_module('python2', 'python.c',
  dependencies: [libgio_dep, hexchat_plugin_dep, python2_dep],
  install: true,
  install_dir: plugindir,
  name_prefix: '',
)
shared_module('python3', 'python.c',
  dependencies: [libgio_dep, hexchat_plugin_dep, python3_dep],
  install: true,
  install_dir: plugindir,
  name_prefix: '',
)