2018-09-14 19:43:14 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-ouya-ouya
|
|
|
|
pkgver=1
|
|
|
|
pkgdesc="Ouya"
|
2022-01-20 22:01:52 +00:00
|
|
|
pkgrel=21
|
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="
|
|
|
|
libvdpau-tegra
|
2019-09-25 18:45:07 +00:00
|
|
|
mesa-dri-swrast
|
2019-03-07 20:53:27 +00:00
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
"
|
2020-01-10 16:39:09 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2019-03-07 20:53:27 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-kernel-downstream:kernel_downstream
|
|
|
|
$pkgname-kernel-mainline:kernel_mainline
|
2020-01-28 21:47:04 +00:00
|
|
|
$pkgname-x11
|
2019-03-07 20:53:27 +00:00
|
|
|
"
|
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
|
|
|
|
2020-01-10 16:39:09 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2018-09-14 19:43:14 +00:00
|
|
|
package() {
|
2020-01-10 16:39:09 +00:00
|
|
|
devicepkg_package $startdir $pkgname
|
2018-09-14 19:43:14 +00:00
|
|
|
install -D -m644 "$srcdir"/fb.modes \
|
2020-01-10 16:39:09 +00:00
|
|
|
"$pkgdir"/etc/fb.modes
|
2019-03-09 20:48:31 +00:00
|
|
|
install -D -m644 "$srcdir"/networkmanager.conf \
|
2020-01-10 16:39:09 +00:00
|
|
|
"$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"
|
2020-01-10 16:39:09 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
2019-03-07 20:53:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
kernel_mainline() {
|
2020-07-11 09:16:39 +00:00
|
|
|
pkgdesc="Close to mainline; work in progress"
|
2019-03-07 20:53:27 +00:00
|
|
|
depends="linux-ouya-ouya-mainline"
|
2020-01-10 16:39:09 +00:00
|
|
|
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
|
2019-03-07 20:53:27 +00:00
|
|
|
}
|
|
|
|
|
2020-01-28 21:47:04 +00:00
|
|
|
x11() {
|
|
|
|
install_if="$pkgname xorg-server"
|
|
|
|
depends="xf86-video-opentegra"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
|
|
|
2512e313f46e5a2d4adaca74580dfc7ac572a2b5674d9bd166ed6f90494eef16673b28c0ac248de07e32ad9f4b13ee2707b2b885e099cb38703ab74dda6aa932 deviceinfo
|
2019-03-09 20:48:31 +00:00
|
|
|
bf442fac4dc0594e055ed7a7d8232b5c884e2e77543273e8c4f32b5fe3c199561c86d8a5f665e17406057ca7863fabb93e789fe5e168fcd89d2982e0046232ad fb.modes
|
2019-03-09 20:01:47 +00:00
|
|
|
d01ac1f451275b1a269aab3c8f7fe20b482c952d00c4457ea496b45780c052f8ef98a5ba22a4af009ca128858374c1d3fb97e458102b09f7c40f3d7a718326c1 initfs-hook.sh
|
2021-09-18 17:06:03 +00:00
|
|
|
b0737a8fb7a60b2d24e4e124dbeb7044832a683a78887454d13d4078039338fb04579ce9066140733222409e7f53255bfde2c6725bd3848752a27e112717c28c networkmanager.conf
|
|
|
|
"
|