pmaports/device/testing/device-xiaomi-rolex/APKBUILD

52 lines
2.1 KiB
Text
Raw Normal View History

xiaomi-rolex: new device (MR 1911) Based on !1158 by @nrdnandan (5 files) new file: device/testing/device-xiaomi-rolex/APKBUILD new file: device/testing/device-xiaomi-rolex/deviceinfo new file: device/testing/linux-xiaomi-rolex/APKBUILD new file: device/testing/linux-xiaomi-rolex/config-xiaomi-rolex.aarch64 new file: firmware/firmware-xiaomi-rolex/APKBUILD Changed deviceinfo : Width x Height was 800x600 to correct dimension -> 720x1280 modified: device/testing/device-xiaomi-rolex/APKBUILD modified: device/testing/device-xiaomi-rolex/deviceinfo Added directfbrc and fb.modes file. Also added SWAP file support swap_size=1024 Added Audio files and rules removed uneccessary lines in deviceinfo. device/xiaomi-rolex: Fix linting issues xiaomi-rolex: Linting fixes; is a handset xiaomi-rolex: Moved firmware/ to device/testing/ xiaomi-rolex: Enable pmb:cross-native for kernel compilation because it is the default for recent apkbuilds xiaomi-rolex: Apply YYLOC patch to build 3.18.140 with gcc-10 (-fno-common) xiaomi-rolex: update patch checksums in kernel APKBUILD xiaomi-rolex: update deviceinfo checksum; replace common patch with a symlink xiaomi-rolex: use mdss patch xiaomi-rolex: use BGRA mdss framebuffer patch xiaomi-rolex: mark myself as maintainer, drop contributor from apkbuilds Refer to git commit history instead to determine contributors xiaomi-rolex: update kernel config for multiple devpts xiaomi-rolex: allow firmware cross-native builds, disable tracedeps per linter [ci:skip-build]: already built successfully in CI
2021-12-08 19:13:59 +00:00
# Maintainer: Denis Tolstov <tolstov_den@mail.ru>
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-xiaomi-rolex
pkgdesc="Xiaomi Redmi 4A"
pkgver=0.1
pkgrel=2
xiaomi-rolex: new device (MR 1911) Based on !1158 by @nrdnandan (5 files) new file: device/testing/device-xiaomi-rolex/APKBUILD new file: device/testing/device-xiaomi-rolex/deviceinfo new file: device/testing/linux-xiaomi-rolex/APKBUILD new file: device/testing/linux-xiaomi-rolex/config-xiaomi-rolex.aarch64 new file: firmware/firmware-xiaomi-rolex/APKBUILD Changed deviceinfo : Width x Height was 800x600 to correct dimension -> 720x1280 modified: device/testing/device-xiaomi-rolex/APKBUILD modified: device/testing/device-xiaomi-rolex/deviceinfo Added directfbrc and fb.modes file. Also added SWAP file support swap_size=1024 Added Audio files and rules removed uneccessary lines in deviceinfo. device/xiaomi-rolex: Fix linting issues xiaomi-rolex: Linting fixes; is a handset xiaomi-rolex: Moved firmware/ to device/testing/ xiaomi-rolex: Enable pmb:cross-native for kernel compilation because it is the default for recent apkbuilds xiaomi-rolex: Apply YYLOC patch to build 3.18.140 with gcc-10 (-fno-common) xiaomi-rolex: update patch checksums in kernel APKBUILD xiaomi-rolex: update deviceinfo checksum; replace common patch with a symlink xiaomi-rolex: use mdss patch xiaomi-rolex: use BGRA mdss framebuffer patch xiaomi-rolex: mark myself as maintainer, drop contributor from apkbuilds Refer to git commit history instead to determine contributors xiaomi-rolex: update kernel config for multiple devpts xiaomi-rolex: allow firmware cross-native builds, disable tracedeps per linter [ci:skip-build]: already built successfully in CI
2021-12-08 19:13:59 +00:00
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base linux-xiaomi-rolex mkbootimg mesa-dri-swrast mdss-fb-init-hack msm-fb-refresher"
makedepends="devicepkg-dev"
source="
deviceinfo
directfbrc
fb.modes
ucm/90-device-xiaomi-rolex-audio.rules
ucm/HiFi
ucm/msm8917-sku7-snd-card.conf
"
xiaomi-rolex: new device (MR 1911) Based on !1158 by @nrdnandan (5 files) new file: device/testing/device-xiaomi-rolex/APKBUILD new file: device/testing/device-xiaomi-rolex/deviceinfo new file: device/testing/linux-xiaomi-rolex/APKBUILD new file: device/testing/linux-xiaomi-rolex/config-xiaomi-rolex.aarch64 new file: firmware/firmware-xiaomi-rolex/APKBUILD Changed deviceinfo : Width x Height was 800x600 to correct dimension -> 720x1280 modified: device/testing/device-xiaomi-rolex/APKBUILD modified: device/testing/device-xiaomi-rolex/deviceinfo Added directfbrc and fb.modes file. Also added SWAP file support swap_size=1024 Added Audio files and rules removed uneccessary lines in deviceinfo. device/xiaomi-rolex: Fix linting issues xiaomi-rolex: Linting fixes; is a handset xiaomi-rolex: Moved firmware/ to device/testing/ xiaomi-rolex: Enable pmb:cross-native for kernel compilation because it is the default for recent apkbuilds xiaomi-rolex: Apply YYLOC patch to build 3.18.140 with gcc-10 (-fno-common) xiaomi-rolex: update patch checksums in kernel APKBUILD xiaomi-rolex: update deviceinfo checksum; replace common patch with a symlink xiaomi-rolex: use mdss patch xiaomi-rolex: use BGRA mdss framebuffer patch xiaomi-rolex: mark myself as maintainer, drop contributor from apkbuilds Refer to git commit history instead to determine contributors xiaomi-rolex: update kernel config for multiple devpts xiaomi-rolex: allow firmware cross-native builds, disable tracedeps per linter [ci:skip-build]: already built successfully in CI
2021-12-08 19:13:59 +00:00
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/fb.modes "$pkgdir"/etc/fb.modes
install -Dm644 "$srcdir"/directfbrc "$pkgdir"/etc/directfbrc
}
nonfree_firmware() {
pkgdesc="Wifi firmware,Audio DSP Firmware"
depends="firmware-xiaomi-rolex wcnss-wlan adsp-audio pulseaudio pulseaudio-alsa alsa-plugins-pulse alsa-utils"
mkdir "$subpkgdir"
# Install UCM files for rolex
install -Dm644 -t "$subpkgdir"/usr/share/alsa/ucm2/conf.d/msm8917-sku7-snd-card \
"$srcdir"/HiFi \
"$srcdir"/msm8917-sku7-snd-card.conf \
"$srcdir"/90-device-xiaomi-rolex-audio.rules
xiaomi-rolex: new device (MR 1911) Based on !1158 by @nrdnandan (5 files) new file: device/testing/device-xiaomi-rolex/APKBUILD new file: device/testing/device-xiaomi-rolex/deviceinfo new file: device/testing/linux-xiaomi-rolex/APKBUILD new file: device/testing/linux-xiaomi-rolex/config-xiaomi-rolex.aarch64 new file: firmware/firmware-xiaomi-rolex/APKBUILD Changed deviceinfo : Width x Height was 800x600 to correct dimension -> 720x1280 modified: device/testing/device-xiaomi-rolex/APKBUILD modified: device/testing/device-xiaomi-rolex/deviceinfo Added directfbrc and fb.modes file. Also added SWAP file support swap_size=1024 Added Audio files and rules removed uneccessary lines in deviceinfo. device/xiaomi-rolex: Fix linting issues xiaomi-rolex: Linting fixes; is a handset xiaomi-rolex: Moved firmware/ to device/testing/ xiaomi-rolex: Enable pmb:cross-native for kernel compilation because it is the default for recent apkbuilds xiaomi-rolex: Apply YYLOC patch to build 3.18.140 with gcc-10 (-fno-common) xiaomi-rolex: update patch checksums in kernel APKBUILD xiaomi-rolex: update deviceinfo checksum; replace common patch with a symlink xiaomi-rolex: use mdss patch xiaomi-rolex: use BGRA mdss framebuffer patch xiaomi-rolex: mark myself as maintainer, drop contributor from apkbuilds Refer to git commit history instead to determine contributors xiaomi-rolex: update kernel config for multiple devpts xiaomi-rolex: allow firmware cross-native builds, disable tracedeps per linter [ci:skip-build]: already built successfully in CI
2021-12-08 19:13:59 +00:00
}
sha512sums="05cca120734c3b61d68498f21b7849644c662c66008634670044251bdf7a596b686a8df67ab0d8f228e23882d455a8397a2d709b879bee620a876c6abee9253c deviceinfo
3db3ec596e159be926ea2b5b2496c18e9bc7be24a64a232a56c89a0c9ee710aa2efb2b6fa9fc08efa34759e8242e6c629d08a4ce688ec8aa125830717c191515 directfbrc
024d11176fbd19f98746317b098d0b54236166aa66155cc68ad75a7ce8335999a1a14ed2efc93f9ac4e05fbc787d8bad793efccf813db81aa48fffd1850ec24e fb.modes
89be68680649f7a60b7fb7e5b5f593f60b9be4ca8fa76e90e2be02466add9af7d944f6c1fabed15876bdd7348b15bd1c63d754131ffffea4f0f4641d2d9a847c 90-device-xiaomi-rolex-audio.rules
749e4e1429b457b494157a7c370d9e03af7c8e979fed55863dc22d4ac3602c4cfc3740f2b4b320bcbbe1c078d6df6a456cbf0f5cbc281003f9283b3d9df353c8 HiFi
e31645c0f2c04da28f4f1a81ca7563c70e971080a1a54b22413d420a8110636433aeb0ad5d265fde57b7bc87dd6b7cf3158c7aa1d8b36d2d1238299877b98b49 msm8917-sku7-snd-card.conf"