Line
Link Here
|
0 |
-- gcompris-9.2.2.ebuild |
0 |
++ gcompris-9.2.2.ebuild |
Lines 47-53
Link Here
|
47 |
S=${WORKDIR}/${PN}-$(get_version_component_range 1-2) |
47 |
S=${WORKDIR}/${PN}-$(get_version_component_range 1-2) |
48 |
|
48 |
|
49 |
pkg_setup() { |
49 |
pkg_setup() { |
50 |
python_set_active_version 2 |
50 |
if use python; then |
|
|
51 |
python_set_active_version 2 |
52 |
python_pkg_setup |
53 |
fi |
51 |
games_pkg_setup |
54 |
games_pkg_setup |
52 |
} |
55 |
} |
53 |
|
56 |
|
Lines 58-65
Link Here
|
58 |
} |
61 |
} |
59 |
|
62 |
|
60 |
src_configure() { |
63 |
src_configure() { |
61 |
local python_version="$(PYTHON -a)" |
|
|
62 |
|
63 |
GNUCHESS="${GAMES_BINDIR}"/gnuchess \ |
64 |
GNUCHESS="${GAMES_BINDIR}"/gnuchess \ |
64 |
egamesconf \ |
65 |
egamesconf \ |
65 |
--disable-dependency-tracking \ |
66 |
--disable-dependency-tracking \ |
Lines 67-73
Link Here
|
67 |
--datadir="${GAMES_DATADIR}" \ |
68 |
--datadir="${GAMES_DATADIR}" \ |
68 |
--localedir=/usr/share/locale \ |
69 |
--localedir=/usr/share/locale \ |
69 |
--infodir=/usr/share/info \ |
70 |
--infodir=/usr/share/info \ |
70 |
$(use_with python python "${python_version}") \ |
71 |
$(use_with python python "$(PYTHON -a)") \ |
71 |
$(use_enable debug) \ |
72 |
$(use_enable debug) \ |
72 |
$(use_enable gnet) \ |
73 |
$(use_enable gnet) \ |
73 |
--enable-sqlite \ |
74 |
--enable-sqlite \ |