64035ac463
Prepare for better device categorization by moving everything to testing subdir first. [skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR depends on this MR Related: postmarketos#16
36 lines
1.2 KiB
Text
36 lines
1.2 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Contributor: Matthias Berndt <matthias_berndt@gmx.de>
|
|
pkgname=device-htc-vision
|
|
pkgver=0.1
|
|
pkgrel=6
|
|
pkgdesc="HTC Desire Z"
|
|
url="https://github.com/postmarketOS"
|
|
arch="armhf"
|
|
license="MIT"
|
|
depends="linux-htc-vision mkbootimg postmarketos-base msm-fb-refresher"
|
|
makedepends="devicepkg-dev"
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
source="deviceinfo
|
|
90-android.rules
|
|
initfs-hook.sh"
|
|
options="!check !archcheck"
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
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"
|
|
}
|
|
|
|
sha512sums="3d3cd6ec397d32640a39f9fe4820acb9c2209ca5d044734b28c48da0a5d1b3745e17c2e8a8a1f76223ed1e2772b3f5e2499edceaf0bbb47d1b11b7ebbf2378c6 deviceinfo
|
|
d1e1da53c641aba2c0a8c5daf1438aabfe88024c940d3062a6a5e123e3c99af67e9917c60159297840aae06e6b9eaec8e050e412fc5570a525a32027665df064 90-android.rules
|
|
3ce2d134aa59677e25a160b5985c552fbf048b237169bbeb85e2b8824f734627064b51c097036db10eee0254064d45d804d17372dffcd1ba246938968fe1e225 initfs-hook.sh"
|