2020-01-10 16:22:16 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2017-07-28 19:48:58 +00:00
|
|
|
pkgname=device-htc-ace
|
|
|
|
pkgver=1
|
2023-06-17 14:51:32 +00:00
|
|
|
pkgrel=24
|
2017-07-28 19:48:58 +00:00
|
|
|
pkgdesc="HTC Desire HD"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2019-04-06 19:11:17 +00:00
|
|
|
arch="armv7"
|
2017-07-28 19:48:58 +00:00
|
|
|
license="MIT"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base linux-htc-ace mkbootimg"
|
2020-01-10 16:22:16 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2018-02-26 22:11:44 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2017-07-28 19:48:58 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
initfs-hook.sh
|
|
|
|
90-android-touch-dev.rules
|
|
|
|
"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2017-07-28 19:48:58 +00:00
|
|
|
|
2020-01-10 16:22:16 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2017-07-28 19:48:58 +00:00
|
|
|
package() {
|
2020-01-10 16:22:16 +00:00
|
|
|
devicepkg_package $startdir $pkgname
|
2017-07-28 19:48:58 +00:00
|
|
|
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
2017-10-07 16:29:37 +00:00
|
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
2017-07-28 19:48:58 +00:00
|
|
|
}
|
|
|
|
|
2018-02-26 22:11:44 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
2018-06-01 19:26:37 +00:00
|
|
|
depends="firmware-aosp-broadcom-wlan"
|
2018-02-26 22:11:44 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
|
|
|
1659f9c098fc34c3b71806531a17e453f7a3cdd9ab785aeb6efce86049df448a3c7e940daa40ffe96aae54c229ae63e45d5d599b62cb5d03428be0d8f012a4b4 deviceinfo
|
2017-07-28 19:48:58 +00:00
|
|
|
3ce2d134aa59677e25a160b5985c552fbf048b237169bbeb85e2b8824f734627064b51c097036db10eee0254064d45d804d17372dffcd1ba246938968fe1e225 initfs-hook.sh
|
2021-09-18 17:06:03 +00:00
|
|
|
ab8fb357bb45ba44723f1ecb01a10db26f8f74b605499673e1ba90c69a9b11a1555983ce90235e3b636d75461c81c81eea0f8318ded06b72dad17f924d8b9901 90-android-touch-dev.rules
|
|
|
|
"
|