2018-06-28 22:03:50 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-01-10 10:32:51 +00:00
|
|
|
# Contributor: Daniele Debernardi <drebrez@gmail.com>
|
2018-06-28 22:03:50 +00:00
|
|
|
pkgname="device-huawei-y530"
|
2017-08-25 15:47:32 +00:00
|
|
|
pkgdesc="Huawei Ascend Y530"
|
2018-06-28 22:03:50 +00:00
|
|
|
pkgver=1
|
2020-01-28 14:40:18 +00:00
|
|
|
pkgrel=15
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2017-08-25 15:47:32 +00:00
|
|
|
license="MIT"
|
2020-01-01 16:30:03 +00:00
|
|
|
arch="armv7"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2018-02-26 22:11:44 +00:00
|
|
|
depends="postmarketos-base linux-huawei-y530 mkbootimg mesa-dri-swrast"
|
2018-06-28 22:03:50 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="deviceinfo"
|
2018-02-26 22:11:44 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2018-06-28 22:03:50 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
2017-08-25 15:47:32 +00:00
|
|
|
|
|
|
|
package() {
|
2018-06-28 22:03:50 +00:00
|
|
|
devicepkg_package $startdir $pkgname
|
2017-08-25 15:47:32 +00:00
|
|
|
}
|
|
|
|
|
2018-02-26 22:11:44 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="firmware-huawei-y530"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2020-01-01 16:30:03 +00:00
|
|
|
sha512sums="aa93ec6a5b01c577d608e732477cf597827febb616a694fae0cd867ff779d396d57e5031e2b5e6db6e01ba1bc804c856d75e5e07cd6faadd7b30e7d765e838a2 deviceinfo"
|