Lines 16-22
Link Here
|
16 |
IUSE="doc nls static-libs usb" |
16 |
IUSE="doc nls static-libs usb" |
17 |
|
17 |
|
18 |
RDEPEND="dev-libs/glib:2 |
18 |
RDEPEND="dev-libs/glib:2 |
19 |
usb? ( virtual/libusb:0 ) |
19 |
usb? ( virtual/libusb:1 ) |
20 |
nls? ( virtual/libintl )" |
20 |
nls? ( virtual/libintl )" |
21 |
|
21 |
|
22 |
DEPEND="${RDEPEND} |
22 |
DEPEND="${RDEPEND} |
Lines 26-37
Link Here
|
26 |
DOCS=( AUTHORS LOGO NEWS README ChangeLog docs/api.txt ) |
26 |
DOCS=( AUTHORS LOGO NEWS README ChangeLog docs/api.txt ) |
27 |
|
27 |
|
28 |
src_configure() { |
28 |
src_configure() { |
29 |
# --disable-libusb $(use_enable usb libusb10) would enable virtual/libusb:1 |
|
|
30 |
econf \ |
29 |
econf \ |
|
|
30 |
--disable-libusb \ |
31 |
--disable-rpath \ |
31 |
--disable-rpath \ |
32 |
$(use_enable nls) \ |
32 |
$(use_enable nls) \ |
33 |
$(use_enable static-libs static) \ |
33 |
$(use_enable static-libs static) \ |
34 |
$(use_enable usb libusb) |
34 |
$(use_enable usb libusb10) |
35 |
} |
35 |
} |
36 |
|
36 |
|
37 |
src_install() { |
37 |
src_install() { |