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.
41 lines
1.2 KiB
Text
41 lines
1.2 KiB
Text
pkgname=device-nokia-n9
|
|
pkgver=1
|
|
pkgrel=2
|
|
pkgdesc="Nokia N9"
|
|
url="https://github.com/postmarketOS"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="postmarketos-base linux-nokia-n9 ofono watchdog-kick"
|
|
makedepends=""
|
|
install=""
|
|
subpackages="$pkgname-weston:weston"
|
|
source="
|
|
deviceinfo
|
|
initfs-hook.sh
|
|
weston.ini
|
|
$install
|
|
"
|
|
options="!check"
|
|
|
|
package() {
|
|
install -D -m644 "$srcdir"/deviceinfo \
|
|
"$pkgdir"/etc/deviceinfo
|
|
install -D -m644 "$srcdir"/initfs-hook.sh \
|
|
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
|
|
}
|
|
|
|
weston() {
|
|
install_if="$pkgname weston"
|
|
install -Dm644 "$srcdir"/weston.ini \
|
|
"$subpkgdir"/etc/xdg/weston/weston.ini
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Wifi firmware"
|
|
depends="linux-firmware"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="3298afa3312a032836e271d4c6808d304436470545472beb4a4ac1a4b8f93ec25d5b895f5bebf351ffb6e910a155f97a4d96b1d74f1d8ab278c246cb3815bf79 deviceinfo
|
|
61d9e6bf94f3b9cab0ccb2e18c18e5886a08aae5e70fe5e7b7d7cc2a8d655dc11cdec603731c4328dd288f13ba3aa9328f2fc46e7a473be3da31767786978b05 initfs-hook.sh
|
|
df0fe900693e5f176076c59f5379e56aaa96c3df16a4120448f15b71f530170730b43e5fe32733c40c118a00ca3581043231a062a8a1eb0a930bfbfbb6c52a47 weston.ini"
|