2021-03-21 22:37:31 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-amazon-soho
|
|
|
|
pkgdesc="Amazon Kindle Fire HD (3rd Generation)"
|
2023-02-18 23:14:34 +00:00
|
|
|
pkgver=0.2
|
2023-09-19 16:16:35 +00:00
|
|
|
pkgrel=1
|
2021-03-21 22:37:31 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="armv7"
|
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base linux-amazon-soho mkbootimg"
|
2021-03-21 22:37:31 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2021-04-11 13:31:45 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2021-03-21 22:37:31 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
initfs-hook.sh
|
|
|
|
amazon-omap-boot-hack.sh
|
2021-04-11 13:31:45 +00:00
|
|
|
modules-load.conf
|
2021-03-21 22:37:31 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2023-02-18 23:14:34 +00:00
|
|
|
install -Dm755 "$srcdir/amazon-omap-boot-hack.sh" "$pkgdir/usr/share/mkinitfs/amazon-omap-boot-hack.sh"
|
2021-03-21 22:37:31 +00:00
|
|
|
}
|
|
|
|
|
2021-04-11 13:31:45 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="firmware-amazon-soho"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-10-13 20:15:56 +00:00
|
|
|
sha512sums="
|
2023-02-18 23:14:34 +00:00
|
|
|
8b965e229cef643c03f86f53575176cc38537afcfb5199725a9e085a5ba88e2e0803e7522667d5f7a0085bea363b829779162f326a503e5d1a14718fdfbe8fde deviceinfo
|
2021-03-21 22:37:31 +00:00
|
|
|
1aca985770246b9ca140996a498815b5c9ca3458a6cb84db85825344f01deda8b1de7c88e2e0c610df636ad2179faac7fd90d9992add51186a6449f2d43a3f71 initfs-hook.sh
|
2021-10-13 20:15:56 +00:00
|
|
|
b031a2bd8e0e206196df9bfa5299c7172ce5d185c77a148422269e2c8a556769b5f6e29dcfe3f4e50968f8a860a8f927a6fcab2021d48e8912c3d5e76b50d61b amazon-omap-boot-hack.sh
|
|
|
|
61e8becbf6fa7c1c6c42e481083f5981ae7af33a48cbc53e817d8ac2c6a8e4f67a54b32ae3b8f5f25f7b412165a849dc93a629110dc47b0d16927bf2a12eb7e1 modules-load.conf
|
|
|
|
"
|