pmb.aportgen.device: no depend on mesa-dri-gallium (MR 2210)

Device packages shouldn't depend on it anymore, in order to end up with
a smaller installation for ui=none this package only gets pulled in by
postmarketos-base if mesa is installed.

Related: pmaports MR 3478
This commit is contained in:
Oliver Smith 2022-10-07 08:46:19 +02:00
parent 248fe447bd
commit 35784a5fd7
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
2 changed files with 0 additions and 4 deletions

View File

@ -239,7 +239,6 @@ def generate_apkbuild(args, pkgname, name, arch, flash_method):
depends.append("mkbootimg")
if flash_method == "0xffff":
depends.append("uboot-tools")
depends.append("mesa-dri-gallium")
# Whole APKBUILD
depends.sort()

View File

@ -129,7 +129,6 @@ def test_aportgen_device_wizard(args, monkeypatch):
assert apkbuild["pkgname"] == "device-testsuite-testdevice"
assert apkbuild["pkgdesc"] == "Testsuite Testdevice"
assert apkbuild["depends"] == ["linux-testsuite-testdevice",
"mesa-dri-gallium",
"postmarketos-base"]
assert apkbuild_linux["pkgname"] == "linux-testsuite-testdevice"
@ -166,7 +165,6 @@ def test_aportgen_device_wizard(args, monkeypatch):
answers["Path"] = ""
deviceinfo, apkbuild, apkbuild_linux = generate(args, monkeypatch, answers)
assert apkbuild["depends"] == ["linux-testsuite-testdevice",
"mesa-dri-gallium",
"mkbootimg",
"postmarketos-base"]
@ -177,7 +175,6 @@ def test_aportgen_device_wizard(args, monkeypatch):
answers["Flash method"] = "0xffff"
deviceinfo, apkbuild, apkbuild_linux = generate(args, monkeypatch, answers)
assert apkbuild["depends"] == ["linux-testsuite-testdevice",
"mesa-dri-gallium",
"postmarketos-base",
"uboot-tools"]