33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
pkgname=device-ouya-ouya
|
|
pkgver=1
|
|
pkgdesc="Ouya"
|
|
pkgrel=7
|
|
url="https://postmarketos.org"
|
|
arch="armv7"
|
|
license="MIT"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base linux-ouya-ouya mkbootimg"
|
|
makedepends=""
|
|
install=""
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="deviceinfo initfs-hook.sh fb.modes"
|
|
|
|
package() {
|
|
install -Dm644 "$srcdir"/initfs-hook.sh \
|
|
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
|
|
install -D -m644 "$srcdir/deviceinfo" \
|
|
"$pkgdir/etc/deviceinfo"
|
|
install -D -m644 "$srcdir"/fb.modes \
|
|
"$pkgdir/etc/fb.modes"
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="bcm4330 wifi firmware"
|
|
depends="firmware-ouya-ouya"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="f1c6befb6867ae6e2f9e42312bdd03c4c242da33a6d2e6bc6fb2df5b6437acab50fb2c51a4663a1e1799e77614a959cac40bcc59336e92d2d6ac15cfacce6e67 deviceinfo
|
|
c7253d5d6f53b7acbb1c2358e95ecba86ccbaa2bb5e99ad8db9f59e453209ddad55b13d8c1dc67f634cc4f997283b4079fa1b5b60f6d1440b13f39e5b1646d81 initfs-hook.sh
|
|
bf442fac4dc0594e055ed7a7d8232b5c884e2e77543273e8c4f32b5fe3c199561c86d8a5f665e17406057ca7863fabb93e789fe5e168fcd89d2982e0046232ad fb.modes"
|