Lines 12-21
Link Here
|
12 |
# |
12 |
# |
13 |
|
13 |
|
14 |
|
14 |
|
15 |
inherit fdo-mime libtool gnome.org gnome2-utils |
15 |
inherit fdo-mime libtool gnome.org gnome2-utils |
16 |
|
16 |
|
|
|
17 |
case "${EAPI:-0}" in |
18 |
0|1) |
19 |
EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst pkg_postrm |
20 |
;; |
21 |
*) |
22 |
EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm |
23 |
;; |
24 |
esac |
17 |
|
25 |
|
18 |
# Extra configure opts passed to econf |
26 |
# Extra configure opts passed to econf |
19 |
G2CONF=${G2CONF:-""} |
27 |
G2CONF=${G2CONF:-""} |
20 |
|
28 |
|
21 |
# Extra options passed to elibtoolize |
29 |
# Extra options passed to elibtoolize |
Lines 36-46
Link Here
|
36 |
|
44 |
|
37 |
|
45 |
|
38 |
gnome2_src_unpack() { |
46 |
gnome2_src_unpack() { |
39 |
unpack ${A} |
47 |
unpack ${A} |
40 |
cd "${S}" |
48 |
cd "${S}" |
|
|
49 |
has ${EAPI:-0} 0 1 && gnome2_src_prepare |
50 |
} |
41 |
|
51 |
|
|
|
52 |
gnome2_src_prepare() { |
42 |
# Prevent scrollkeeper access violations |
53 |
# Prevent scrollkeeper access violations |
43 |
gnome2_omf_fix |
54 |
gnome2_omf_fix |
44 |
|
55 |
|
45 |
# Run libtoolize |
56 |
# Run libtoolize |
46 |
elibtoolize ${ELTCONF} |
57 |
elibtoolize ${ELTCONF} |
Lines 65-75
Link Here
|
65 |
# GST_REGISTRY is to work around gst-inspect trying to read/write /root |
76 |
# GST_REGISTRY is to work around gst-inspect trying to read/write /root |
66 |
GST_REGISTRY="${S}/registry.xml" econf "$@" ${G2CONF} || die "configure failed" |
77 |
GST_REGISTRY="${S}/registry.xml" econf "$@" ${G2CONF} || die "configure failed" |
67 |
} |
78 |
} |
68 |
|
79 |
|
69 |
gnome2_src_compile() { |
80 |
gnome2_src_compile() { |
70 |
gnome2_src_configure "$@" |
81 |
has ${EAPI:-0} 0 1 && gnome2_src_configure "$@" |
71 |
emake || die "compile failure" |
82 |
emake || die "compile failure" |
72 |
} |
83 |
} |
73 |
|
84 |
|
74 |
gnome2_src_install() { |
85 |
gnome2_src_install() { |
75 |
# if this is not present, scrollkeeper-update may segfault and |
86 |
# if this is not present, scrollkeeper-update may segfault and |
Lines 135-140
Link Here
|
135 |
gnome2_scrollkeeper_update |
146 |
gnome2_scrollkeeper_update |
136 |
fi |
147 |
fi |
137 |
} |
148 |
} |
138 |
|
149 |
|
139 |
# pkg_prerm |
150 |
# pkg_prerm |
140 |
EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst pkg_postrm |
|
|