app-emulation/bottles: skip network dependant test + add die to sed

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2021-06-29 01:28:07 +03:00
parent 8cb2e13065
commit e30ff8998c
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
2 changed files with 12 additions and 2 deletions

View File

@ -53,7 +53,12 @@ src_prepare() {
fi
sed -i \
"s:^\(conf.set('PYTHON',\).*$:\1 '/usr/bin/${EPYTHON}'):" \
"${S}/src/meson.build"
"${S}/src/meson.build" || die
# Hard skip network dependant test
sed -i \
"s:\(if appstream\_util\.found()\):\1 and false:" \
"${S}/data/meson.build" || die
}
src_install() {

View File

@ -53,7 +53,12 @@ src_prepare() {
fi
sed -i \
"s:^\(conf.set('PYTHON',\).*$:\1 '/usr/bin/${EPYTHON}'):" \
"${S}/src/meson.build"
"${S}/src/meson.build" || die
# Hard skip network dependant test
sed -i \
"s:\(if appstream\_util\.found()\):\1 and false:" \
"${S}/data/meson.build" || die
}
src_install() {