2022-02-04 14:10:15 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-samsung-p4note
|
|
|
|
pkgdesc="Samsung Galaxy Note 10.1"
|
2024-04-02 12:52:52 +00:00
|
|
|
pkgver=2
|
2024-06-18 20:37:37 +00:00
|
|
|
pkgrel=1
|
2022-02-04 14:10:15 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="armv7"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
|
|
|
linux-postmarketos-exynos4
|
|
|
|
mkbootimg
|
2024-02-27 23:58:03 +00:00
|
|
|
alsa-ucm-conf
|
2022-02-04 14:10:15 +00:00
|
|
|
postmarketos-base
|
2024-06-18 20:37:37 +00:00
|
|
|
postmarketos-initramfs-minimal
|
2022-02-04 14:10:15 +00:00
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2024-02-27 23:58:03 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
audio/HiFi.conf
|
|
|
|
audio/p4note.conf"
|
2022-02-04 14:10:15 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2024-02-27 23:58:03 +00:00
|
|
|
|
|
|
|
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
|
2022-02-04 14:10:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
2023-07-29 19:50:09 +00:00
|
|
|
pkgdesc="WiFi, Bluetooth, MFC firmware"
|
2022-02-04 14:10:15 +00:00
|
|
|
depends="
|
|
|
|
firmware-samsung-midas-bluetooth
|
|
|
|
firmware-samsung-midas-wifi
|
2023-07-29 19:50:09 +00:00
|
|
|
linux-firmware-s5p-mfc
|
2022-02-04 14:10:15 +00:00
|
|
|
"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2023-05-21 15:47:09 +00:00
|
|
|
b473bd6e9bf1ba3d75f4cfd55bf4acff2edba338a87f4367bfb3aa7be2a0b31ee07012ba506d00faf811ba71f6859f1c771e77ec034fc9e7f3811c739b2068cc deviceinfo
|
2024-02-27 23:58:03 +00:00
|
|
|
40c2d13a8e59749a646e4070a444098609f62679f19a975da3f53b1a0fc4ac4c417dd86ec271a339e6a19c1737b384b759661d8f9a167c7eedc4a3ffbaffd77f HiFi.conf
|
|
|
|
2c5011f7d5f25362e6249624796a6d9d36d858169538ab9c4ab1a79f37ece95f425a92b14849a65fd9281c5567753158871c6bf20a772f8dca6b2d6813ea2f03 p4note.conf
|
2022-02-04 14:10:15 +00:00
|
|
|
"
|