From 23f20f688f3515373cb9694eff7edec60f075a54 Mon Sep 17 00:00:00 2001 From: Julian Braha Date: Wed, 5 May 2021 09:09:53 -0400 Subject: [PATCH] device-oneplus-guacamole: new aports (MR 2151) --- .../testing/device-oneplus-guacamole/APKBUILD | 32 ++++++++++++++++++ .../device-oneplus-guacamole/deviceinfo | 33 +++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 device/testing/device-oneplus-guacamole/APKBUILD create mode 100644 device/testing/device-oneplus-guacamole/deviceinfo diff --git a/device/testing/device-oneplus-guacamole/APKBUILD b/device/testing/device-oneplus-guacamole/APKBUILD new file mode 100644 index 000000000..1eadbcafc --- /dev/null +++ b/device/testing/device-oneplus-guacamole/APKBUILD @@ -0,0 +1,32 @@ +# Maintainer: Caleb Connolly +# Co-Maintainer: Uclydde +# Reference: + +pkgname=device-oneplus-guacamole +pkgdesc="OnePlus 7 Pro" +pkgver=0.1 +pkgrel=0 +url="https://postmarketos.org" +license="MIT" +arch="aarch64" +options="!check !archcheck" +depends=" + linux-oneplus-guacamole + mesa-dri-gallium + mkbootimg + postmarketos-base +" +makedepends="devicepkg-dev" +source="deviceinfo" + +build() { + devicepkg_build $startdir $pkgname +} + +package() { + devicepkg_package $startdir $pkgname +} + +sha512sums=" +ce279a122b34f193c754d5885e579fe13529fcf26f0df8e167d794db08acbcb72aa5e43c2e712a188950259307fbd4106ac8e41fd19bf6614e3afebb19a219e8 deviceinfo +" diff --git a/device/testing/device-oneplus-guacamole/deviceinfo b/device/testing/device-oneplus-guacamole/deviceinfo new file mode 100644 index 000000000..62b7256c8 --- /dev/null +++ b/device/testing/device-oneplus-guacamole/deviceinfo @@ -0,0 +1,33 @@ +# Reference: +# Please use double quotes only. You can source this file in shell +# scripts. + +deviceinfo_format_version="0" +deviceinfo_name="OnePlus 7 Pro" +deviceinfo_manufacturer="OnePlus" +deviceinfo_codename="oneplus-guacamole" +deviceinfo_year="2019" +deviceinfo_dtb="" +deviceinfo_modules_initfs="" +deviceinfo_arch="aarch64" + +# Device related +deviceinfo_chassis="handset" +deviceinfo_keyboard="false" +deviceinfo_external_storage="false" +deviceinfo_screen_width="3120" +deviceinfo_screen_height="1440" + +# Bootloader related +deviceinfo_flash_method="fastboot" +deviceinfo_kernel_cmdline="PMOS_NO_OUTPUT_REDIRECT" +deviceinfo_generate_bootimg="true" +deviceinfo_bootimg_qcdt="false" +deviceinfo_bootimg_mtk_mkimage="false" +deviceinfo_bootimg_dtb_second="false" +deviceinfo_flash_offset_base="0x00000000" +deviceinfo_flash_offset_kernel="0x00008000" +deviceinfo_flash_offset_ramdisk="0x01000000" +deviceinfo_flash_offset_second="0x00f00000" +deviceinfo_flash_offset_tags="0x00000100" +deviceinfo_flash_pagesize="4096"