2018-01-08 20:39:04 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-01-10 16:51:43 +00:00
|
|
|
# Contributor: rrooij
|
2018-01-08 20:39:04 +00:00
|
|
|
pkgname="device-samsung-i9195"
|
|
|
|
pkgdesc="Samsung Galaxy S4 Mini"
|
2018-03-11 15:59:09 +00:00
|
|
|
pkgver=0.3
|
2020-01-28 14:40:18 +00:00
|
|
|
pkgrel=6
|
2018-01-08 20:39:04 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="armhf"
|
|
|
|
options="!check !archcheck"
|
2018-02-25 18:40:54 +00:00
|
|
|
depends="postmarketos-base linux-samsung-i9195 mkbootimg"
|
2018-05-10 21:28:51 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2018-01-08 20:39:04 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2018-03-11 15:59:09 +00:00
|
|
|
nonfree_firmware() {
|
2018-04-23 20:43:46 +00:00
|
|
|
pkgdesc="Firmware for Modem and Wifi"
|
2018-03-11 15:59:09 +00:00
|
|
|
# Non-firmware packages placed here, because they aren't useful without firmware
|
2018-05-10 21:28:51 +00:00
|
|
|
depends="firmware-samsung-i9195-modem firmware-samsung-i9195-wlan modem-qcom-msm-downstream-common"
|
2018-03-11 15:59:09 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2020-03-07 18:48:29 +00:00
|
|
|
sha512sums="d406b27661a279f7a087a69837d3f91ac52af478d536b0893fe0224787f80277656b2c78a8c1bfff37b246bb29c36ea1dd1e3d1cd80ee204e48918829564a2e2 deviceinfo"
|