64035ac463
Prepare for better device categorization by moving everything to testing subdir first. [skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR depends on this MR Related: postmarketos#16
39 lines
1.3 KiB
Text
39 lines
1.3 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Contributor: red-black-bonsai <red-black-bonsai@gmx.net>
|
|
pkgname="device-medion-kai"
|
|
pkgdesc="Lenovo Medion Lifetab S9714"
|
|
pkgver=0.2
|
|
pkgrel=2
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="armv7"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-medion-kai mkbootimg mesa-dri-swrast"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="deviceinfo
|
|
nvram_4330.txt
|
|
modules-load.conf"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -Dm644 "$srcdir"/modules-load.conf \
|
|
"$pkgdir"/etc/modules-load.d/00-$pkgname.conf
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="Wifi firmware"
|
|
depends="firmware-aosp-broadcom-wlan"
|
|
mkdir "$subpkgdir"
|
|
install -D -m644 "$srcdir"/nvram_4330.txt \
|
|
"$subpkgdir"/lib/firmware/postmarketos/bcmdhd/bcm4330/nvram_4330.txt
|
|
}
|
|
|
|
sha512sums="613ca1f0f00ada17843529efac53bece6d853a9b244ea2cb60bf93a5182c8ab4bcfef1f8c130b7894efe4e1f761a21d65cd33f941a2237513045f5438384dfd4 deviceinfo
|
|
0024476dd9309982bcb90ceed8a6600f6ae3b13a2c7b4b5e8b0063e1d817ac76f65c8e6ca43ae0a176b9dd9a5f48d9ffc07f76d71bba34c51f352c8d1ae9eff6 nvram_4330.txt
|
|
0ccd4cdc19fefb4c91fe5e11344e72a57c88e4f361240df7dcb26e2ee810c83e3ae84e70baf80bbcfa03e47151bd4729503ad8833b50ecd9a84de5a4c4c008dc modules-load.conf"
|