2019-02-13 21:09:48 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-samsung-hero2lte
|
2019-02-13 21:09:48 +00:00
|
|
|
pkgdesc="Samsung Galaxy S7 edge"
|
|
|
|
pkgver=0.1
|
2023-06-05 21:11:15 +00:00
|
|
|
pkgrel=13
|
2019-02-13 21:09:48 +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-hero2lte mkbootimg msm-fb-refresher"
|
2019-02-13 21:09:48 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo initfs-hook.sh"
|
2020-05-24 21:24:51 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2019-02-13 21:09:48 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2020-05-24 21:24:51 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Non-free firmware for Wi-Fi on the Samsung Galaxy S7 (edge)"
|
|
|
|
depends="firmware-samsung-hero"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
2019-02-13 21:09:48 +00:00
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
2023-06-05 21:11:15 +00:00
|
|
|
137b10c3393b7931c6efe7952d0f29e95a6c937eed2125e7b302eea886cd9d9d6120f6f6526d9d2233a8c10f4d5730492a0aeaae173f04abee12c8a05b6633c8 deviceinfo
|
2021-09-18 17:06:03 +00:00
|
|
|
5a7be3cb8835ffb3783fcd4539de04f7f006c726ac9aea35cdca9e90b2877dc36cf4e314851bf9078f4b2dac061b7265866792d92a79f5232c56a0e17f7910b1 initfs-hook.sh
|
|
|
|
"
|