2018-10-21 10:26:09 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-samsung-jflte
|
2018-08-22 22:34:11 +00:00
|
|
|
pkgdesc="Samsung Galaxy S4"
|
|
|
|
pkgver=0.5
|
2022-04-05 16:34:43 +00:00
|
|
|
pkgrel=11
|
2017-12-06 23:02:08 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2018-12-12 17:04:55 +00:00
|
|
|
arch="armv7"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2022-04-05 16:34:43 +00:00
|
|
|
depends="postmarketos-base linux-samsung-jflte mkbootimg mesa-dri-gallium
|
2018-10-21 10:26:09 +00:00
|
|
|
msm-fb-refresher"
|
|
|
|
makedepends="devicepkg-dev"
|
2018-02-26 22:11:44 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2018-10-21 10:26:09 +00:00
|
|
|
source="deviceinfo fb.modes"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
2017-12-06 23:02:08 +00:00
|
|
|
|
|
|
|
package() {
|
2018-10-21 10:26:09 +00:00
|
|
|
install -D -m644 "$srcdir"/fb.modes \
|
|
|
|
"$pkgdir"/etc/fb.modes
|
|
|
|
devicepkg_package $startdir $pkgname
|
2018-02-26 22:11:44 +00:00
|
|
|
}
|
2017-12-07 23:11:26 +00:00
|
|
|
|
2018-02-26 22:11:44 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
2018-08-22 22:34:11 +00:00
|
|
|
depends="firmware-samsung-jflte"
|
2018-02-26 22:11:44 +00:00
|
|
|
mkdir "$subpkgdir"
|
2017-12-06 23:02:08 +00:00
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
|
|
|
c404d7771005a716e876561c67411f151e05ca783c321c8a7a22906d2fcd79b6d263b32854373b1af202d9f9875ef3cb826fe37435bc2663d323e08d909c33c5 deviceinfo
|
|
|
|
515cd3be1816bea9a1859a37f6568e3e82a9f8f16cbbc71ba13d60723f98eafbda9046ebb1ee7f4ae23dd2b2b2b18506f64516ca45ff71af18e7c163f12248bd fb.modes
|
|
|
|
"
|