2018-09-14 19:43:14 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-ouya-ouya
|
|
|
|
pkgver=1
|
|
|
|
pkgdesc="Ouya"
|
2019-03-14 10:07:00 +00:00
|
|
|
pkgrel=9
|
2018-09-14 19:43:14 +00:00
|
|
|
url="https://postmarketos.org"
|
2019-03-07 21:26:57 +00:00
|
|
|
arch="armv7"
|
2018-09-14 19:43:14 +00:00
|
|
|
license="MIT"
|
|
|
|
options="!check !archcheck"
|
2019-03-07 20:53:27 +00:00
|
|
|
depends="
|
|
|
|
libdrm-grate
|
|
|
|
libvdpau-tegra
|
|
|
|
mesa-grate
|
|
|
|
mesa-grate-dri-swrast
|
|
|
|
mesa-grate-dri-tegra
|
|
|
|
mesa-grate-egl
|
|
|
|
mesa-grate-gbm
|
|
|
|
mesa-grate-gl
|
|
|
|
mesa-grate-glapi
|
|
|
|
mesa-grate-gles
|
|
|
|
mesa-grate-osmesa
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
xf86-video-opentegra
|
|
|
|
"
|
2018-09-14 19:43:14 +00:00
|
|
|
makedepends=""
|
|
|
|
install=""
|
2019-03-07 20:53:27 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
|
|
|
"
|
2019-03-09 20:48:31 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
fb.modes
|
|
|
|
initfs-hook.sh
|
|
|
|
networkmanager.conf
|
|
|
|
"
|
2018-09-14 19:43:14 +00:00
|
|
|
|
|
|
|
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"
|
2019-03-09 20:48:31 +00:00
|
|
|
install -D -m644 "$srcdir"/networkmanager.conf \
|
|
|
|
"$pkgdir/etc/NetworkManager/conf.d/10-ouya.conf"
|
2018-09-14 19:43:14 +00:00
|
|
|
}
|
|
|
|
|
2019-03-07 18:23:14 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="bcm4330 wifi firmware"
|
|
|
|
depends="firmware-ouya-ouya"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2019-03-07 20:53:27 +00:00
|
|
|
kernel_downstream() {
|
|
|
|
pkgdesc="Downstream kernel"
|
|
|
|
depends="linux-ouya-ouya"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_mainline() {
|
|
|
|
pkgdesc="Work in progress mainline kernel"
|
|
|
|
depends="linux-ouya-ouya-mainline"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="846d2c0d769deeff31891dcf61498c553781c04d0cd5377f76d3ebf788ec5526740138656f1875e7c571e22a747c256d519930ecea8dbf7e186aeabb1773a90b deviceinfo
|
2019-03-09 20:48:31 +00:00
|
|
|
bf442fac4dc0594e055ed7a7d8232b5c884e2e77543273e8c4f32b5fe3c199561c86d8a5f665e17406057ca7863fabb93e789fe5e168fcd89d2982e0046232ad fb.modes
|
2019-03-09 20:01:47 +00:00
|
|
|
d01ac1f451275b1a269aab3c8f7fe20b482c952d00c4457ea496b45780c052f8ef98a5ba22a4af009ca128858374c1d3fb97e458102b09f7c40f3d7a718326c1 initfs-hook.sh
|
2019-03-14 10:07:00 +00:00
|
|
|
b0737a8fb7a60b2d24e4e124dbeb7044832a683a78887454d13d4078039338fb04579ce9066140733222409e7f53255bfde2c6725bd3848752a27e112717c28c networkmanager.conf"
|