2018-06-12 18:58:29 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-asus-z00t
|
2018-06-12 18:58:29 +00:00
|
|
|
pkgdesc="Zenfone 2 Laser/Selfie (1080p)"
|
|
|
|
pkgver=0.1
|
2020-05-17 13:33:49 +00:00
|
|
|
pkgrel=7
|
2018-06-12 18:58:29 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2019-10-05 12:27:11 +00:00
|
|
|
depends="postmarketos-base linux-asus-z00t mkbootimg mesa-dri-swrast msm-fb-refresher"
|
2018-06-12 18:58:29 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
90-touchscreen.rules
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -Dm644 "$srcdir"/90-touchscreen.rules "$pkgdir"/etc/udev/rules.d/90-touchscreen.rules
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
2019-04-24 22:42:20 +00:00
|
|
|
pkgdesc="All non-free firmwares from a device image. Includes firmware for wifi, modem and camera among others."
|
|
|
|
depends="firmware-asus-z00t"
|
|
|
|
mkdir "$subpkgdir"
|
2018-06-12 18:58:29 +00:00
|
|
|
}
|
|
|
|
|
2020-05-17 13:33:49 +00:00
|
|
|
sha512sums="d67eb77d3f7b394e1bf7b071f6e49ec107c62602c231f29d946bf760c2680c53e66a10e4c30bf5f3a67a74d6f7822c7224ff5c87013bd2b515cdcc2d0d8b66b0 deviceinfo
|
2018-06-12 18:58:29 +00:00
|
|
|
5bcf314aa8e77db9d9673a93886906bd15e8c3c57f8d0c4343977d2ce8d017af5608a3d13cd2cbacf155e3ecf632ccab6ff6f3b0c95eb4a2a3b35686a3c842db 90-touchscreen.rules"
|