b8129fe127
* Add nonfree_firmware subpackage to all devices, that depend on nonfree firmware. * Some packages were depending on `linux-firmware`, but without having Wifi working. Removed that dependency as it was probably added by accident. If it was really necessary, chosing the appropriate split linux-firmware package (e.g. linux-firmware-brcm) is better anyway (that has been changed recently in Alpine and is possible now). * Add a test case that makes sure we don't have firmware depends without subpackages in device aports anymore.
32 lines
964 B
Text
32 lines
964 B
Text
pkgname=device-huawei-y530
|
|
pkgver=1
|
|
pkgrel=9
|
|
pkgdesc="Huawei Ascend Y530"
|
|
url="https://github.com/postmarketOS"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="postmarketos-base linux-huawei-y530 mkbootimg mesa-dri-swrast"
|
|
makedepends=""
|
|
install=""
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="
|
|
deviceinfo
|
|
90-touchscreen-dev.rules
|
|
"
|
|
options="!check"
|
|
|
|
package() {
|
|
install -D -m644 "$srcdir"/deviceinfo \
|
|
"$pkgdir"/etc/deviceinfo
|
|
install -D -m644 "$srcdir"/90-touchscreen-dev.rules \
|
|
"$pkgdir"/etc/udev/rules.d/90-touchscreen-dev.rules
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Wifi firmware"
|
|
depends="firmware-huawei-y530"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="0837c8a4387affc488f3d233c08d3a0602806e81fb6ec77fde1dcd46d7ea25c7f9ebdf6dccbdd0a142f025eaeef44d5a416cddb69926c30a49c13f9d8ef3929b deviceinfo
|
|
b2ebcd94e54b474d5a0d03f25af0d152583cddbb8ae8a70b72d65e96c9114a11fd535ffc964b23a0852fd541198c940fe6e867dafb6e6a8a12cb6fa5d1538d45 90-touchscreen-dev.rules"
|