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
|
2020-05-17 13:33:49 +00:00
|
|
|
pkgrel=8
|
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"
|
2018-10-21 10:26:09 +00:00
|
|
|
depends="postmarketos-base linux-samsung-jflte mkbootimg mesa-dri-swrast
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2020-05-17 13:33:49 +00:00
|
|
|
sha512sums="d510061741a26ae526f4f30edd19707b535ab813dadcc507d86286c47b2ac172b43745edad9fb5bc2c480e67e0514226c7f38adb60c806bb6602a71eefe68636 deviceinfo
|
2018-10-21 10:26:09 +00:00
|
|
|
515cd3be1816bea9a1859a37f6568e3e82a9f8f16cbbc71ba13d60723f98eafbda9046ebb1ee7f4ae23dd2b2b2b18506f64516ca45ff71af18e7c163f12248bd fb.modes"
|