Lines 82-87
DEPEND="${RDEPEND}
Link Here
|
82 |
)" |
82 |
)" |
83 |
|
83 |
|
84 |
S=${WORKDIR}/${PN}-${MY_PV} |
84 |
S=${WORKDIR}/${PN}-${MY_PV} |
|
|
85 |
PLOCALES="da de es fi fr ga id it ja nl pt_BR ro ru rw sv tr uk vi zh_CN" |
86 |
inherit l10n |
85 |
|
87 |
|
86 |
pkg_setup() { |
88 |
pkg_setup() { |
87 |
use python && python-single-r1_pkg_setup |
89 |
use python && python-single-r1_pkg_setup |
Lines 91-97
src_prepare() {
Link Here
|
91 |
[[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec |
93 |
[[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec |
92 |
! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch |
94 |
! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch |
93 |
epatch_user |
95 |
epatch_user |
94 |
strip-linguas -u bfd/po opcodes/po |
|
|
95 |
} |
96 |
} |
96 |
|
97 |
|
97 |
gdb_branding() { |
98 |
gdb_branding() { |
Lines 205-210
src_install() {
Link Here
|
205 |
|
206 |
|
206 |
# Remove shared info pages |
207 |
# Remove shared info pages |
207 |
rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* |
208 |
rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* |
|
|
209 |
|
210 |
# Remove disabled locales |
211 |
# build fails if we remove all languages in src_prepare |
212 |
rm_loc() { |
213 |
rm -r "${ED}/usr/share/locale/${1}" || die |
214 |
} |
215 |
l10n_for_each_disabled_locale_do rm_loc |
208 |
} |
216 |
} |
209 |
|
217 |
|
210 |
pkg_postinst() { |
218 |
pkg_postinst() { |
211 |
- |
|
|