2020-01-10 10:32:51 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Contributor: Matthias Berndt <matthias_berndt@gmx.de>
|
2018-01-18 22:23:36 +00:00
|
|
|
pkgname=device-htc-vision
|
|
|
|
pkgver=0.1
|
2020-01-10 10:32:51 +00:00
|
|
|
pkgrel=2
|
2018-01-18 22:23:36 +00:00
|
|
|
pkgdesc="HTC Desire Z"
|
|
|
|
url="https://github.com/postmarketOS"
|
|
|
|
arch="armhf"
|
|
|
|
license="MIT"
|
|
|
|
depends="linux-htc-vision mkbootimg postmarketos-base msm-fb-refresher"
|
2020-01-10 10:32:51 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2018-01-18 22:23:36 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2020-01-10 10:32:51 +00:00
|
|
|
source="deviceinfo
|
|
|
|
90-android.rules
|
|
|
|
initfs-hook.sh"
|
2018-01-18 22:23:36 +00:00
|
|
|
options="!check !archcheck"
|
|
|
|
|
2020-01-10 10:32:51 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2018-01-18 22:23:36 +00:00
|
|
|
package() {
|
2020-01-10 10:32:51 +00:00
|
|
|
devicepkg_package $startdir $pkgname
|
2018-01-18 22:23:36 +00:00
|
|
|
install -D -m644 "$srcdir"/90-android.rules \
|
|
|
|
"$pkgdir"/etc/udev/rules.d/90-android.rules
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="firmware-aosp-broadcom-wlan"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2019-03-06 19:14:20 +00:00
|
|
|
sha512sums="5117875ea59b0527badfb34806ee0e500decd81d661e676f6ccabc7dbfdcaaa3106c9bd125d0c13a7f30d52066f23f372432c40fb19714ee07b02d349636b6c6 deviceinfo
|
2018-01-18 22:23:36 +00:00
|
|
|
d1e1da53c641aba2c0a8c5daf1438aabfe88024c940d3062a6a5e123e3c99af67e9917c60159297840aae06e6b9eaec8e050e412fc5570a525a32027665df064 90-android.rules
|
|
|
|
3ce2d134aa59677e25a160b5985c552fbf048b237169bbeb85e2b8824f734627064b51c097036db10eee0254064d45d804d17372dffcd1ba246938968fe1e225 initfs-hook.sh"
|