pmaports/device/testing/device-htc-ville/APKBUILD
link2xt 7889677cde
htc-ville: change arch to armv7, update the kernel and firmware (MR 2430)
Updated the kernel to the latest version from LineageOS [1] (branch
`cm-14.1`), copied their configuration file and updated it according
to `pmbootstrap kconfig check`. Previous kernel was from `cm-12.1`
branch.

Fixed firmware package. Switched firmware source to
LineageOS/TheMuppets and install only the Wi-Fi firmware, but into the
correct directory. Previously all available firmware was simply copied
into wrong directories.

[1] https://github.com/LineageOS/android_kernel_htc_msm8960

[ci:skip-build] already built successfully in CI
2021-08-13 23:26:43 -07:00

32 lines
806 B
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-htc-ville
pkgdesc="HTC One S"
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="postmarketos-base linux-htc-ville mkbootimg mesa-dri-swrast msm-fb-refresher"
makedepends="devicepkg-dev"
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
source="deviceinfo"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="All non-free firmwares from a device image (wifi, modem, camera etc.)"
depends="firmware-htc-ville"
mkdir "$subpkgdir"
}
sha512sums="
3346de120e5aeea0774e427b0816add5cbc854264409b8f10f47cbc1b8e2afb7cbb703237994109ce733a86a59c167b7a4cc7c995ca9d8d42177edd9b85bd0e4 deviceinfo
"