2022-06-01 15:20:06 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-samsung-xcover3lte
|
|
|
|
pkgdesc="Samsung Galaxy Xcover 3"
|
2024-04-02 12:52:52 +00:00
|
|
|
pkgver=1
|
2024-06-29 12:54:05 +00:00
|
|
|
pkgrel=1
|
2022-06-01 15:20:06 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base linux-samsung-xcover3lte mkbootimg u-boot-tools pxa-mkbootimg alsa-ucm-conf"
|
2022-06-01 15:20:06 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
initfs-hook.sh
|
|
|
|
ucm/HiFi.conf
|
|
|
|
ucm/map_asoc.conf
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
|
|
|
|
install -Dm644 -t "$pkgdir"/usr/share/alsa/ucm2/conf.d/map_asoc \
|
|
|
|
"$srcdir"/HiFi.conf \
|
|
|
|
"$srcdir"/map_asoc.conf
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
2022-10-14 15:59:58 +00:00
|
|
|
pkgdesc="Non-free firmware for the Samsung Galaxy Xcover 3"
|
2024-06-29 12:54:05 +00:00
|
|
|
depends="firmware-samsung-pxa1908-downstream"
|
2022-06-01 15:20:06 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2022-10-14 15:59:58 +00:00
|
|
|
38d26c01fc152d54f995982a2c814864f428a39908c69fdc2ae165f9c1431f90b6e381e3caff187261d2fc3186c6deb3c1e6b9f075a9a8cf987f29280016cd9b deviceinfo
|
2022-06-01 15:20:06 +00:00
|
|
|
0961c07638cf86c3e03c82c7b885cccd74700f0e3670508232b7aea09aa02e65bfa150a5ae95d4917ccf207c4cb5df021d1172452cdd1f82fafc59de0eac7355 initfs-hook.sh
|
|
|
|
f8863a569454bdefb2e3813add3ee394b0684f34ac85f629d334e391988937f2b92277cb51abcfb43f36c53837103b63f65ef6ea158962bdde02ff285153991c HiFi.conf
|
|
|
|
2b5927d455dc84eaf2b2b3da27b87a71cc1e3f31cb03c3114f53578d5fcec05cd26a3340801e67b57a7276c5d07a555a38d266d965a273673ec413f5e6f93a0c map_asoc.conf
|
|
|
|
"
|