pmaports/device/testing/device-valve-jupiter/APKBUILD
Clayton Craft 2b02900d5b
device-valve-jupiter: fix install, rootfs resize, etc (MR 4885)
A number of fixes:

- oem-amd-nonfree-fw no longer exists from c6306cb9b, and the fw here is
  pretty much required for the device to be useful so it's added to
  "depends=".

- drops the -vulkan subpackage since oem-amd-vulkan is doing the same
  thing.

- force rootfs partition resize on boot, else the rootfs is too small

- disable unudhcpd, usb networking isn't working, and we don't need to
  run it on any dedicated eth device

- use kernel with Valve's out of tree patches, to improve stability /
  usefulness of device

fixes #2630

[ci:skip-build] already built successfully in CI
2024-03-11 11:48:28 -07:00

47 lines
1.3 KiB
Text

# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=device-valve-jupiter
pkgdesc="Valve Steam Deck"
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="x86_64"
options="!check !archcheck"
depends="
linux-firmware-cirrus
linux-firmware-rtl_bt
linux-firmware-rtw88
linux-valve-jupiter
oem-amd
postmarketos-base
systemd-boot
"
makedepends="devicepkg-dev"
subpackages="
$pkgname-gnome-mobile:gnome_mobile
"
source="
00-scaling-factor.gschema.override
deviceinfo
modules-initfs
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
gnome_mobile() {
install_if="$pkgname=$pkgver-r$pkgrel postmarketos-ui-gnome-mobile"
install -Dm644 "$srcdir"/00-scaling-factor.gschema.override \
-t "$subpkgdir"/usr/share/glib-2.0/schemas/
}
sha512sums="
f2b0e3bf013b87e13828f95d3db7327c7afee33a0703d764ea5b96f0f791a01af2f2685ab5b17db1729fe68e78fd0e39f3a9b2f53530aa493897066d87b43248 00-scaling-factor.gschema.override
4c1d05d76139b1c9c1e0cd5c99a9770963a33ccf248c0402fccf051694493af1b1da9761ca7d9f83c35e82a69d77e518bbdb5934ae1a6013d726d97eec0d57a3 deviceinfo
69873bebeff960f7ec00f2004cee97f7edd9a9df25e78b3b90e1a01592fec03c75d3a77be291e45a1902c57fd6e23bdff327935ace5c282e8f7c7dfa22798c3f modules-initfs
"