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.
30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
pkgname=device-t2m-flame
|
|
pkgver=1
|
|
pkgrel=11
|
|
pkgdesc="Mozilla Flame"
|
|
url="https://github.com/postmarketOS"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="postmarketos-base linux-t2m-flame mkbootimg mesa-dri-swrast"
|
|
makedepends=""
|
|
install="$pkgname.post-install"
|
|
source="deviceinfo 90-android-touch-dev.rules $install"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
options="!check"
|
|
|
|
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() {
|
|
pkgdesc="Wifi firmware"
|
|
depends="firmware-t2m-flame"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="2a674961778b4f9fc5d7fb5186d2fa958ba3659743279f887cbe3008ad7889ff9d9485583637e652b86f94f469bcd0927814c21bc9373228cde97a4f8ffc15e6 deviceinfo
|
|
25256120a19cba6b6f9ae0cda7b2c8c84d168a6457e82afee438d50d2c28b9598bfe690301c15156d866b77cd87652d9b7cc3d9b0637f69414aae09fec159c91 90-android-touch-dev.rules
|
|
0a301a723f2a6ad8285fa8c016a73b0d05ae9811a8c96cd73f6db274e85676f7b3d427ede46484665fd613b67ef42330f0b69413328c04c3f489db86c5aa9038 device-t2m-flame.post-install"
|