File: INSTALLATION.rst

package info (click to toggle)
a2jmidid 9-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 436 kB
  • sloc: ansic: 4,010; python: 178; sh: 10; makefile: 4
file content (48 lines) | stat: -rw-r--r-- 1,140 bytes parent folder | download | duplicates (4)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
============
Installation
============

*a2jmidid* uses the |meson| build system.


Configure and build
-------------------

To configure the project, |meson|'s |meson_universal_options| (e.g. *prefix*)
can be used to prepare a build directory::

  meson --prefix=/usr build

One additional - project specific - option enables for building without |dbus|
support::

  meson --prefix=/usr -Ddisable-dbus=true build

To build the application |ninja| is required::

  ninja -C build

Install
-------

|meson| is able to install the project components to the system directories
(when run as root), while honoring the *DESTDIR* environment variable::

  DESTDIR="/some/other/location" meson install -C build

.. |meson| raw:: html

  <a href="https://mesonbuild.com/" target="_blank">Meson</a>

.. |meson_universal_options| raw:: html

  <a href="https://mesonbuild.com/Builtin-options.html#universal-options" target="_blank">universal options</a>

.. |dbus| raw:: html

  <a href="https://www.freedesktop.org/wiki/Software/dbus/" target="_blank">D-Bus</a>

.. |ninja| raw:: html

  <a href="https://ninja-build.org/" target="_blank">Ninja</a>