2018-10-21 10:26:09 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2018-08-22 22:34:11 +00:00
|
|
|
pkgname="device-samsung-jflte"
|
|
|
|
pkgdesc="Samsung Galaxy S4"
|
|
|
|
pkgver=0.5
|
2018-12-12 17:04:55 +00:00
|
|
|
pkgrel=4
|
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
|
|
|
}
|
|
|
|
|
2018-12-12 17:04:55 +00:00
|
|
|
sha512sums="286991344db7e8be6cc773d36bd8da1ee9975b1125da6a81fe77a699591a2d6722fe7692b43fe630838302588608ccc39564a78af1519afd18cb16ec68718286 deviceinfo
|
2018-10-21 10:26:09 +00:00
|
|
|
515cd3be1816bea9a1859a37f6568e3e82a9f8f16cbbc71ba13d60723f98eafbda9046ebb1ee7f4ae23dd2b2b2b18506f64516ca45ff71af18e7c163f12248bd fb.modes"
|