mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-containers/waydroid-images: Minor touchups
Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
This commit is contained in:
@@ -24,7 +24,9 @@ S="${WORKDIR}"
|
|||||||
LICENSE="Apache-2.0"
|
LICENSE="Apache-2.0"
|
||||||
|
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="+system-vanilla system-gapps +vendor-mainline vendor-halium android-10 android-11 +android-13"
|
IUSE="+system-vanilla system-gapps"
|
||||||
|
IUSE+=" +vendor-mainline vendor-halium"
|
||||||
|
IUSE+=" android-10 android-11 +android-13"
|
||||||
REQUIRED_USE="
|
REQUIRED_USE="
|
||||||
^^ ( system-vanilla system-gapps )
|
^^ ( system-vanilla system-gapps )
|
||||||
^^ ( vendor-mainline vendor-halium )
|
^^ ( vendor-mainline vendor-halium )
|
||||||
@@ -87,7 +89,7 @@ waydroid_ota_info() {
|
|||||||
|
|
||||||
cat "${ota_file}" | \
|
cat "${ota_file}" | \
|
||||||
python3 -c 'import sys,json;j=json.load(sys.stdin)["response"];\
|
python3 -c 'import sys,json;j=json.load(sys.stdin)["response"];\
|
||||||
j=[x for x in j if x["version"]==sys.argv[1]][0];\
|
j=next(x for x in j if x["version"]==sys.argv[1]);\
|
||||||
print(*(j[x] for x in ["filename","id","url"]),sep="\0",end="")' \
|
print(*(j[x] for x in ["filename","id","url"]),sep="\0",end="")' \
|
||||||
"${version}" || die
|
"${version}" || die
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user