2018-01-08 20:39:04 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname="device-samsung-i9195"
|
|
|
|
pkgdesc="Samsung Galaxy S4 Mini"
|
2018-03-11 15:59:09 +00:00
|
|
|
pkgver=0.3
|
2018-05-10 21:28:51 +00:00
|
|
|
pkgrel=2
|
2018-01-08 20:39:04 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="noarch"
|
|
|
|
options="!check"
|
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"
|
|
|
|
}
|
|
|
|
|
2018-03-10 13:59:25 +00:00
|
|
|
sha512sums="8e4ff08c7f2a7e7c55370be0547908b088bdb96e1d51d45e8d2840958bacb31fab0b9774b29332509270b2e18d8b569a159ed96fc9c6c2ed2f360fbb9b5cb26e deviceinfo"
|