pmaports/device/testing/device-samsung-j8y18lte/APKBUILD
lucasredelive 8982682ea6
samsung-j8y18lte: new device (Samsung Galaxy J8 (2018)) (MR 3426)
[ci:skip-build]: already built successfully in CI
2022-09-21 20:55:53 +02:00

47 lines
1.7 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-j8y18lte
pkgdesc="Samsung Galaxy J8 (2018)"
pkgver=1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-samsung-j8y18lte
mdss-fb-init-hack
mesa-dri-gallium
mkbootimg
msm-fb-refresher
postmarketos-base
"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo initfs-hook.sh directfbrc fb.modes 30-gpu-firmware.files"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
install -Dm644 "$srcdir"/fb.modes -t "$pkgdir"/etc
install -Dm644 "$srcdir"/directfbrc -t "$pkgdir"/etc
}
nonfree_firmware() {
pkgdesc="WiFi, Bluetooth, ADSP, Venus and GPU Firmware"
depends="firmware-samsung-j8y18lte wcnss-wlan linux-firmware-qcom"
mkdir "$subpkgdir"
install -Dm644 "$srcdir/30-gpu-firmware.files" -t \
"$subpkgdir/etc/postmarketos-mkinitfs/files"
}
sha512sums="
01058aec404bf98a10949c99ba0da4586ec2224d0bd82419dd005e1fc0c9b8aa6b6fbeb80f443d24eb90e70b477c6c97f09b4b143926d86a7446d5eb8f395104 deviceinfo
a6d2541ae1a1bf1c74ddbe40d821e450ab1c02b3dd8c5228491616a92a73c181207460e4657473e0e5272472513a2cd92382147355c9ce150b223cdb1f21d396 initfs-hook.sh
3db3ec596e159be926ea2b5b2496c18e9bc7be24a64a232a56c89a0c9ee710aa2efb2b6fa9fc08efa34759e8242e6c629d08a4ce688ec8aa125830717c191515 directfbrc
070eb0e3716d1a13517667d6cc6db720cc865f56f7619b1d4d864157567656128523cfa935236fff30a211a011b5c53b66d0cc28c256ba115a86aac82f4dffe9 fb.modes
302c0bec754bb79ef561c1a8d4ff34ba52b904c853bce6a15a79ba7b5b7a3d02c1c75bbe86d59be7b608a6dc744dd3e3c638eaa4539c53d20fa55fa5ea397d74 30-gpu-firmware.files
"