2019-09-12 15:43:00 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-samsung-starqltechn
|
|
|
|
pkgdesc="Samsung Galaxy S9 SM-G9600"
|
2022-07-30 18:32:05 +00:00
|
|
|
pkgver=0.2
|
2019-09-12 15:43:00 +00:00
|
|
|
pkgrel=0
|
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="postmarketos-base linux-postmarketos-qcom-sdm845 mesa-dri-gallium mkbootimg u-boot-starqltechn u-boot-tools dtc"
|
|
|
|
makedepends="devicepkg-dev dtc"
|
|
|
|
source="deviceinfo boot_image.its payload_mock.dts bootscript.sh"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
mkdir -p "$pkgdir"/usr/share/u-boot/starqltechn/
|
|
|
|
mkdir "$builddir"
|
|
|
|
payload_mock_dtb="$builddir/payload_mock.dtb"
|
|
|
|
dtc -I dts -O dtb -o "$payload_mock_dtb" "$srcdir/payload_mock.dts"
|
|
|
|
install -D -m644 "$payload_mock_dtb" \
|
|
|
|
"$pkgdir"/usr/share/u-boot/starqltechn/payload_mock.dtb
|
|
|
|
install -D -m644 "$srcdir/"*.its \
|
|
|
|
"$pkgdir"/usr/share/u-boot/starqltechn/
|
|
|
|
install -D -m644 "$srcdir/"bootscript.sh \
|
|
|
|
"$pkgdir"/usr/share/u-boot/starqltechn/
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
1a51b1a75a7ab23b0011d2952e716b6d98a3a395578a99e278d8eda4c921ce015ce1f0e386a88b89e9f657edc867f00fffd11e550a91ec9ede2769d8cbfd1718 deviceinfo
|
2022-07-30 18:32:05 +00:00
|
|
|
8ecd6621738b14fecfb8bb32f06fa86053649f46d6ef7e50cdc6dd44175d459a8b5f185e0b1d6168d23d6b8474ea31ae9aaf306385eb106df6489e6838b4fbe1 boot_image.its
|
2019-09-12 15:43:00 +00:00
|
|
|
ba782c324c14cf0947c752b51a607ae1b08def885b0cf0afe89d1fcade3491ab2f547551eb08bd8074f608dac46bdcdf75c5c633bd7a15e6eb63a10f30994c82 payload_mock.dts
|
|
|
|
d7c5c52cb3b747d814680411cc2381e6158714f89aa7ffbeb639193cb10346f6f5b4b8897d2e1c0ce3889178e845599686e8e525a369be35503c2018f152fdb1 bootscript.sh
|
|
|
|
"
|