device-nothing-tetris: new package

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6985>
This commit is contained in:
BotchedRPR
2025-09-04 20:30:07 +00:00
committed by The Friendly Merge Bot
parent 6f63a440ab
commit d130e6990d
2 changed files with 49 additions and 0 deletions
@@ -0,0 +1,30 @@
# Maintainer: BotchedRPR <igor.belwon@mentallysanemainliners.org>
pkgname=device-nothing-tetris
pkgdesc="Nothing CMF Phone 1"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-mediatek-mt6878
mkbootimg
postmarketos-base
"
makedepends="devicepkg-dev"
source="
deviceinfo
"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="
61d092102f75ec0b8983971d4292b044c02426159c692e516b16c62db77efabab21fc4fcf2ae5acc713a37f740bdfff8d3810c8174453a03c03e2ad4376015a7 deviceinfo
"
@@ -0,0 +1,19 @@
deviceinfo_format_version="0"
deviceinfo_name="Nothing CMF Phone 1"
deviceinfo_manufacturer="Nothing"
deviceinfo_codename="nothing-tetris"
deviceinfo_year="2024"
deviceinfo_dtb="mt6878-nothing-tetris"
deviceinfo_arch="aarch64"
# Device related
deviceinfo_chassis="handset"
deviceinfo_external_storage="false"
deviceinfo_rootfs_image_sector_size="4096"
# Bootloader related
# Note: MT6878 devices CANNOT boot with stock lk to mainline. The stock
# lk messes up the mainline device tree and will not boot. As such,
# creating the mainline boot.img is done manually for now.
# Packaging with uniLoader is not supported right now in postmarketOS.
deviceinfo_flash_method="none"