2020-11-11 00:51:19 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-samsung-dream
|
|
|
|
pkgdesc="Samsung Galaxy S8/S8+"
|
|
|
|
pkgver=0.1
|
2022-10-10 19:33:44 +00:00
|
|
|
pkgrel=5
|
2020-11-11 00:51:19 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base mkbootimg msm-fb-refresher"
|
2020-11-11 00:51:19 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo initfs-hook.sh"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-kernel-dreamlte:kernel_dreamlte
|
|
|
|
$pkgname-kernel-dream2lte:kernel_dream2lte
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_dreamlte() {
|
|
|
|
pkgdesc="Kernel for the Samsung Galaxy S8"
|
|
|
|
depends="$pkgname linux-samsung-dreamlte"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_dream2lte() {
|
|
|
|
pkgdesc="Kernel for the Samsung Galaxy S8+"
|
|
|
|
depends="$pkgname linux-samsung-dream2lte"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Non-free firmware for the Samsung Galaxy S8/S8+"
|
|
|
|
depends="firmware-samsung-dream"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
2022-09-21 19:38:22 +00:00
|
|
|
04ec398887409ec307a4afb384afcd671fbe9f154f08c6cc65ebaa41bc166d8b948370fe927081abcd50bf5c922cd5df7df2c4c1d8bb8a15b3b8e68a7846a037 deviceinfo
|
2021-09-18 17:06:03 +00:00
|
|
|
73eb760c6e29c7500b3a2090310f467bb906f7bef2556b80e00e57c25a5fdb1089e86438e67744861a5d43096d8733b812efe39e90a83584816a79d9024a2ec4 initfs-hook.sh
|
|
|
|
"
|