summaryrefslogtreecommitdiffstats
path: root/utils/hal/DEPENDS
blob: b81ae84855ce41b1feb6b02039dc537250da7a12 (plain) (blame)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
depends  dbus-glib          &&
depends  AWK               &&
depends  glib2              &&
depends  intltool           &&
depends  libtool            &&
depends  UDEV '--with-udev-prefix=/etc' &&
depends  xml-parser-expat   &&
depends  pkgconfig          &&
depends  util-linux         &&

if [[ $HAL_VER == devel ]]; then
  depends git
fi &&
# needs checking, maybe optional_depends, but definately not depends
# depends  dbus-python  &&

depends glibc &&

optional_depends  consolekit               \
                  "--enable-console-kit"   \
                  "--disable-console-kit"  \
                  "ConsoleKit support"     &&

optional_depends  gtk-doc                   \
                  "--enable-gtk-doc"        \
                  "--disable-gtk-doc"       \
                  "build documentation"     &&

optional_depends  parted                    \
                  "--enable-parted"         \
                  "--disable-parted"        \
                 "to check partition table" &&

optional_depends  docbook-utils             \
                  "--enable-docbook-docs"   \
                  "--disable-docbook-docs"  \
                  "Build Docbook Docs"      &&

optional_depends  LIBUSB                    \
                  "--enable-usb"            \
                  "--disable-usb"           \
                  "for libusb support"      &&

optional_depends  hwdata                             \
                  "--enable-pnp-ids" \
                  "--disable-pnp-ids" \
                  "for PNP hardware data" &&

optional_depends  PCIIDS              \
                  "--enable-pci-ids"  \
                  "--disable-pci-ids" \
                  "for PCI hardware data"  &&

optional_depends  USBIDS              \
                  "--enable-usb-ids"  \
                  "--disable-usb-ids" \
                  "for USB hardware data" &&

if (is_depends_enabled $SPELL hwdata) || \
     [[ "$(get_spell_provider ${SPELL} PCIIDS)" = 'hwdata' ]] || \
     [[ "$(get_spell_provider ${SPELL} USBIDS)" = 'hwdata' ]]; then
         OPTS="${OPTS} --with-hwdata=/usr/share/hwdata"
elif [[ "$(get_spell_provider ${SPELL} PCIIDS)" = 'pciutils' ]] || \
     [[ "$(get_spell_provider ${SPELL} USBIDS)" = 'usbutils' ]]; then
         OPTS="${OPTS} --with-hwdata=/usr/share"
fi &&

optional_depends  pciutils                           \
                  "--with-macbookpro"                \
                  "--without-macbookpro"             \
                  "for MacBook Pro utils"           &&

optional_depends  dmidecode                          \
                  ""                                 \
                  ""                                 \
                  "for dmidecode support"           &&

optional_depends  ACPI                               \
                  "--enable-acpi-acpid"              \
                  "--disable-acpi-acpid"             \
                  "for an acpid event source"       &&

optional_depends  cryptsetup-luks                    \
                  ""                                 \
                  ""                                 \
                  "for cryptsetup-luks support"     &&

optional_depends  libsmbios                          \
                  "--enable-smbios"                  \
                  "--disable-smbios"                 \
                  "for smbios support"