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.
27 lines
947 B
Text
27 lines
947 B
Text
pkgname="device-sony-honami"
|
|
pkgdesc="Sony Xperia Z1"
|
|
pkgver=1.0
|
|
pkgrel=4
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="noarch"
|
|
options="!check"
|
|
depends="postmarketos-base linux-sony-honami msm-fb-refresher mkbootimg mesa-dri-swrast"
|
|
source="deviceinfo 90-android-touch-dev.rules"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
package() {
|
|
install -Dm644 "$srcdir"/deviceinfo \
|
|
"$pkgdir"/etc/deviceinfo
|
|
install -Dm644 "$srcdir"/90-android-touch-dev.rules \
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
depends="firmware-sony-amami"
|
|
pkgdesc="Wifi firmware"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="21e41e8f92ad3b3c996d3c01d2aea2abab4fa88951ef6e3a4e8c3c5e1f05b8cbb91f64336486a11958944dd652f53d71c9b5c45ce0c566b51386f4927dd002c7 deviceinfo
|
|
1651ac9eda3c97fafe55abe0f0ae429e04f73edcbf2c56aa3259f81837f7adde348bcb385daed05c30cfc61415455a459a917ed3acccbfd9b7a1caa32a851d40 90-android-touch-dev.rules"
|