2018-02-24 18:46:54 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-jolla-sbj
|
2018-02-24 18:46:54 +00:00
|
|
|
pkgdesc="Jolla phone"
|
2021-05-08 15:18:09 +00:00
|
|
|
pkgver=0.2
|
2021-05-10 21:56:48 +00:00
|
|
|
pkgrel=1
|
2018-02-24 18:46:54 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2021-05-08 15:18:09 +00:00
|
|
|
arch="armv7"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2018-02-25 18:40:54 +00:00
|
|
|
depends="postmarketos-base linux-jolla-sbj mkbootimg mesa-dri-swrast msm-fb-refresher"
|
2018-02-24 18:46:54 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2021-05-10 21:56:48 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2018-02-24 18:46:54 +00:00
|
|
|
source="deviceinfo"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2021-05-10 21:56:48 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Firmware for Modem and WiFi"
|
|
|
|
depends="firmware-jolla-sbj-modem firmware-jolla-sbj-wlan msm-modem-downstream"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-05-08 15:18:09 +00:00
|
|
|
sha512sums="
|
|
|
|
1dcb1fdedb3d2410228f70f0dbbec005a30d644e508d9d809fcef2b16f86760df4a6781d06b3940fe82bf774ed9d96aa4b97b4bad4a2d1ab924f2c3e1affd009 deviceinfo
|
|
|
|
"
|