Files
pmaports-rtwo/device/testing/device-samsung-p4note/APKBUILD
T
Caleb Connolly affa4134ca device/*/*: enable deviceinfo_create_initfs_extra instead of depending on initramfs-minimal (MR 5636)
Make use of the new multi-stage initramfs rather than the minimal
variant, and inform mkinitfs that the initramfs-extra archive should be
created to save space.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>

[ci:ignore-count]
2024-10-31 11:54:24 -07:00

51 lines
1.3 KiB
Bash

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-p4note
pkgdesc="Samsung Galaxy Note 10.1"
pkgver=3
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
linux-postmarketos-exynos4
mkbootimg
alsa-ucm-conf
postmarketos-base
"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="
deviceinfo
audio/HiFi.conf
audio/p4note.conf"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/HiFi.conf \
-t "$pkgdir"/usr/share/alsa/ucm2/conf.d/p4note
install -Dm644 "$srcdir"/p4note.conf \
-t "$pkgdir"/usr/share/alsa/ucm2/conf.d/p4note
}
nonfree_firmware() {
pkgdesc="WiFi, Bluetooth, MFC firmware"
depends="
firmware-samsung-midas-bluetooth
firmware-samsung-midas-wifi
linux-firmware-s5p-mfc
"
mkdir "$subpkgdir"
}
sha512sums="
766e31f3c5dea5852db78aef74e3dc9190eaea31756bee0b3d44c2a41cd36e3f95fcd3d196d82710dfdd7a00e082c790dd74672b3604f80c167029bb8f38c8d6 deviceinfo
40c2d13a8e59749a646e4070a444098609f62679f19a975da3f53b1a0fc4ac4c417dd86ec271a339e6a19c1737b384b759661d8f9a167c7eedc4a3ffbaffd77f HiFi.conf
2c5011f7d5f25362e6249624796a6d9d36d858169538ab9c4ab1a79f37ece95f425a92b14849a65fd9281c5567753158871c6bf20a772f8dca6b2d6813ea2f03 p4note.conf
"