Lines 3-10
Link Here
|
3 |
|
3 |
|
4 |
EAPI="5" |
4 |
EAPI="5" |
5 |
PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
5 |
PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
|
|
6 |
PLOCALES="da de es fi fr ga id it ja nl pt_BR ro ru rw sv tr uk vi zh_CN" |
6 |
|
7 |
|
7 |
inherit flag-o-matic eutils python-single-r1 |
8 |
inherit l10n flag-o-matic eutils python-single-r1 |
8 |
|
9 |
|
9 |
export CTARGET=${CTARGET:-${CHOST}} |
10 |
export CTARGET=${CTARGET:-${CHOST}} |
10 |
if [[ ${CTARGET} == ${CHOST} ]] ; then |
11 |
if [[ ${CTARGET} == ${CHOST} ]] ; then |
Lines 93-99
src_prepare() {
Link Here
|
93 |
[[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec |
94 |
[[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec |
94 |
! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch |
95 |
! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch |
95 |
epatch_user |
96 |
epatch_user |
96 |
strip-linguas -u bfd/po opcodes/po |
|
|
97 |
} |
97 |
} |
98 |
|
98 |
|
99 |
gdb_branding() { |
99 |
gdb_branding() { |
Lines 219-224
src_install() {
Link Here
|
219 |
|
219 |
|
220 |
# Remove shared info pages |
220 |
# Remove shared info pages |
221 |
rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* |
221 |
rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* |
|
|
222 |
|
223 |
# Remove disabled locales |
224 |
# build fails if we remove all languages in src_prepare |
225 |
rm_loc() { |
226 |
rm -r "${ED}/usr/share/locale/${1}" || die |
227 |
} |
228 |
l10n_for_each_disabled_locale_do rm_loc |
222 |
} |
229 |
} |
223 |
|
230 |
|
224 |
pkg_postinst() { |
231 |
pkg_postinst() { |
225 |
- |
|
|