2019-02-12 21:45:39 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-htc-ville
|
2019-02-12 21:45:39 +00:00
|
|
|
pkgdesc="HTC One S"
|
2021-08-13 01:09:41 +00:00
|
|
|
pkgver=2
|
|
|
|
pkgrel=0
|
2019-02-12 21:45:39 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2021-08-13 01:09:41 +00:00
|
|
|
arch="armv7"
|
2019-02-12 21:45:39 +00:00
|
|
|
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() {
|
2020-01-10 10:32:51 +00:00
|
|
|
pkgdesc="All non-free firmwares from a device image (wifi, modem, camera etc.)"
|
|
|
|
depends="firmware-htc-ville"
|
|
|
|
mkdir "$subpkgdir"
|
2019-02-12 21:45:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-08-13 01:09:41 +00:00
|
|
|
sha512sums="
|
|
|
|
3346de120e5aeea0774e427b0816add5cbc854264409b8f10f47cbc1b8e2afb7cbb703237994109ce733a86a59c167b7a4cc7c995ca9d8d42177edd9b85bd0e4 deviceinfo
|
|
|
|
"
|