Lines 18-24
Link Here
|
18 |
LICENSE="GPL-2" |
18 |
LICENSE="GPL-2" |
19 |
SLOT="0" |
19 |
SLOT="0" |
20 |
KEYWORDS="~amd64 ~x86" |
20 |
KEYWORDS="~amd64 ~x86" |
21 |
IUSE="bundled-libs examples gps grass gsl postgres python spatialite test" |
21 |
IUSE="bundled-libs examples gps grass gsl postgres python test" |
22 |
|
22 |
|
23 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
23 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
24 |
|
24 |
|
Lines 45-54
Link Here
|
45 |
dev-python/sip[${PYTHON_USEDEP}] |
45 |
dev-python/sip[${PYTHON_USEDEP}] |
46 |
${PYTHON_DEPS} |
46 |
${PYTHON_DEPS} |
47 |
) |
47 |
) |
48 |
spatialite? ( |
48 |
dev-db/sqlite:3 |
49 |
dev-db/sqlite:3 |
49 |
dev-db/spatialite |
50 |
dev-db/spatialite |
50 |
" |
51 |
)" |
|
|
52 |
DEPEND="${RDEPEND} |
51 |
DEPEND="${RDEPEND} |
53 |
sys-devel/bison |
52 |
sys-devel/bison |
54 |
sys-devel/flex" |
53 |
sys-devel/flex" |
Lines 58-64
Link Here
|
58 |
} |
57 |
} |
59 |
|
58 |
|
60 |
src_prepare() { |
59 |
src_prepare() { |
61 |
epatch "${FILESDIR}"/${P}-no-python-pyc.patch |
60 |
epatch "${FILESDIR}"/${P}-FindPyQt.patch |
62 |
} |
61 |
} |
63 |
|
62 |
|
64 |
src_configure() { |
63 |
src_configure() { |
Lines 75-81
Link Here
|
75 |
$(cmake-utils_use_with grass GRASS) |
74 |
$(cmake-utils_use_with grass GRASS) |
76 |
$(cmake-utils_use_with python BINDINGS) |
75 |
$(cmake-utils_use_with python BINDINGS) |
77 |
$(cmake-utils_use python BINDINGS_GLOBAL_INSTALL) |
76 |
$(cmake-utils_use python BINDINGS_GLOBAL_INSTALL) |
78 |
$(cmake-utils_use_with spatialite SPATIALITE) |
|
|
79 |
$(cmake-utils_use_enable test TESTS) |
77 |
$(cmake-utils_use_enable test TESTS) |
80 |
$(usex grass "-DGRASS_PREFIX=/usr/" "") |
78 |
$(usex grass "-DGRASS_PREFIX=/usr/" "") |
81 |
) |
79 |
) |