2023-02-16 20:43:19 +00:00
|
|
|
# Maintainer: Clayton Craft <clayton@craftyguy.net>
|
|
|
|
pkgname=device-valve-jupiter
|
|
|
|
pkgdesc="Valve Steam Deck"
|
2023-10-28 17:20:33 +00:00
|
|
|
pkgver=0.3
|
2024-01-21 22:56:08 +00:00
|
|
|
pkgrel=1
|
2023-02-16 20:43:19 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="x86_64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
linux-edge
|
|
|
|
linux-firmware-none
|
|
|
|
postmarketos-base
|
2023-10-28 17:20:33 +00:00
|
|
|
systemd-boot
|
2023-02-16 20:43:19 +00:00
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-gnome-mobile:gnome_mobile
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-vulkan
|
|
|
|
"
|
|
|
|
source="
|
|
|
|
00-scaling-factor.gschema.override
|
|
|
|
deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
2023-02-16 20:43:19 +00:00
|
|
|
initramfs.modules
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
|
|
|
|
install -Dm644 "$srcdir"/initramfs.modules \
|
|
|
|
"$pkgdir"/usr/share/mkinitfs/modules/jupiter.modules
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Firmware for the Steam Deck"
|
|
|
|
depends="
|
|
|
|
linux-firmware-amdgpu
|
|
|
|
linux-firmware-cirrus
|
|
|
|
linux-firmware-rtl_bt
|
|
|
|
linux-firmware-rtw88
|
|
|
|
"
|
|
|
|
|
|
|
|
mkdir -p "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
vulkan() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel vulkan-loader"
|
|
|
|
depends="mesa-vulkan-ati"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
2023-10-16 07:38:32 +00:00
|
|
|
48835f168b84dc0e5afeb335075cde91b5e95111821f14e928c8235e91769cb94882dbee69f978f645898cd1d69556d671b74ace60275a79a3c0f704a8c1a0d8 deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
766e375e6ef5c3660785eff015bd19c56ecef43eb26825a829c014ba9bea6dfa341f27828f1f1631d231738765d17b0e739c493a2043bdacc7917b6e9513cf40 modules-initfs
|
2023-02-16 20:43:19 +00:00
|
|
|
43e5218da859222d54a6a32b618ada8ce14c5f7f1f8e7f0efffadd2df6a05051221ee612fd04d067f956935e4b9eb3321863a2ccd32abcf5fc878e6b0ee84aef initramfs.modules
|
|
|
|
"
|