
* 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.
27 lines
980 B
Text
27 lines
980 B
Text
pkgname="device-samsung-i9505"
|
|
pkgdesc="Samsung Galaxy S4 International"
|
|
pkgver=0.4
|
|
pkgrel=4
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="noarch"
|
|
options="!check"
|
|
depends="postmarketos-base linux-samsung-i9505 mkbootimg mesa-dri-swrast"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="deviceinfo 90-android-sec_touchscreen.rules"
|
|
|
|
package() {
|
|
install -Dm644 "$srcdir"/deviceinfo \
|
|
"$pkgdir"/etc/deviceinfo
|
|
install -D -m644 "$srcdir"/90-android-sec_touchscreen.rules \
|
|
"$pkgdir"/etc/udev/rules.d/90-android-sec_touchscreen.rules
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Wifi firmware"
|
|
depends="firmware-samsung-i9505"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="3cf9bdd32bbaa9108dde668fa1c279e5166cd329898cc47d23d951d075feff814b319b5b7c373b16fe16285225ac3082ddc64a74b12a7ce8aa3f872c0bf3b9fd deviceinfo
|
|
9dd220de9aa0ee4106686d43a4bac858c7b57ca8537488a54176ef13615195dab7945ca3f6896368186e99c7ed78748a2ad25458efe586dbc337190143d5184f 90-android-sec_touchscreen.rules"
|