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.
29 lines
771 B
Text
29 lines
771 B
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname="device-motorola-peregrine"
|
|
pkgdesc="Moto G 4G (2013)"
|
|
pkgver=0.1
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="noarch"
|
|
options="!check"
|
|
depends="postmarketos-base linux-motorola-peregrine mkbootimg mesa-dri-swrast msm-fb-refresher"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="deviceinfo"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Wifi firmware"
|
|
depends="firmware-motorola-titan"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="6dfabb68f4ccf1249ba90becfbdd17bc59ed2656df389f7fcf211ec40b4962597396c45d07112399563b0cd9bad5fba760ee5f8d94bf8cbe432438a938f862d2 deviceinfo"
|