|
Lines 19-25
Link Here
|
| 19 |
|
19 |
|
| 20 |
LICENSE="GPL-3" |
20 |
LICENSE="GPL-3" |
| 21 |
SLOT="0" |
21 |
SLOT="0" |
| 22 |
IUSE="ftdi serial static-libs test usb" |
22 |
IUSE="ftdi serial static-libs test usb java python" |
| 23 |
|
23 |
|
| 24 |
# We also support librevisa, but that isn't in the tree ... |
24 |
# We also support librevisa, but that isn't in the tree ... |
| 25 |
LIB_DEPEND=">=dev-libs/glib-2.32.0[static-libs(+)] |
25 |
LIB_DEPEND=">=dev-libs/glib-2.32.0[static-libs(+)] |
|
Lines 31-37
Link Here
|
| 31 |
static-libs? ( ${LIB_DEPEND} )" |
31 |
static-libs? ( ${LIB_DEPEND} )" |
| 32 |
DEPEND="${LIB_DEPEND//\[static-libs(+)]} |
32 |
DEPEND="${LIB_DEPEND//\[static-libs(+)]} |
| 33 |
test? ( >=dev-libs/check-0.9.4 ) |
33 |
test? ( >=dev-libs/check-0.9.4 ) |
| 34 |
virtual/pkgconfig" |
34 |
virtual/pkgconfig |
|
|
35 |
sys-devel/autoconf-archive" |
| 35 |
|
36 |
|
| 36 |
src_prepare() { |
37 |
src_prepare() { |
| 37 |
[[ ${PV} == "9999" ]] && eautoreconf |
38 |
[[ ${PV} == "9999" ]] && eautoreconf |
|
Lines 39-44
Link Here
|
| 39 |
|
40 |
|
| 40 |
src_configure() { |
41 |
src_configure() { |
| 41 |
econf \ |
42 |
econf \ |
|
|
43 |
$(use_enable java java) \ |
| 44 |
$(use_enable python python) \ |
| 42 |
$(use_enable ftdi libftdi) \ |
45 |
$(use_enable ftdi libftdi) \ |
| 43 |
$(use_enable serial libserialport) \ |
46 |
$(use_enable serial libserialport) \ |
| 44 |
$(use_enable usb libusb) \ |
47 |
$(use_enable usb libusb) \ |