2020-01-10 16:56:19 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2017-09-01 21:30:38 +00:00
|
|
|
pkgname=device-t2m-flame
|
2017-08-09 20:57:52 +00:00
|
|
|
pkgver=1
|
2021-04-11 15:59:52 +00:00
|
|
|
pkgrel=20
|
2017-08-09 20:57:52 +00:00
|
|
|
pkgdesc="Mozilla Flame"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="armhf"
|
2017-08-09 20:57:52 +00:00
|
|
|
license="MIT"
|
2018-02-26 22:11:44 +00:00
|
|
|
depends="postmarketos-base linux-t2m-flame mkbootimg mesa-dri-swrast"
|
2020-01-10 16:56:19 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2017-08-21 19:38:11 +00:00
|
|
|
install="$pkgname.post-install"
|
2019-04-11 08:05:15 +00:00
|
|
|
source="deviceinfo 90-android-touch-dev.rules"
|
2018-02-26 22:11:44 +00:00
|
|
|
subpackages="$pkgname-nonfree-firmware:nonfree_firmware"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2017-08-09 20:57:52 +00:00
|
|
|
|
2020-01-10 16:56:19 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2017-08-09 20:57:52 +00:00
|
|
|
package() {
|
2020-01-10 16:56:19 +00:00
|
|
|
devicepkg_package $startdir $pkgname
|
2017-10-20 00:07:00 +00:00
|
|
|
install -Dm644 "$srcdir"/90-android-touch-dev.rules \
|
2017-08-09 20:57:52 +00:00
|
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
|
|
|
}
|
|
|
|
|
2018-02-26 22:11:44 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi firmware"
|
|
|
|
depends="firmware-t2m-flame"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-09-18 17:06:03 +00:00
|
|
|
sha512sums="
|
|
|
|
a3e90fafe17559ed9c59eb205f092dbad33d52f564f32e678f828e2f60f822b72845a60e6e0f8813fb6031441ee038d6e769f0aa0ffe1ef4451cd24c918cdb7c deviceinfo
|
|
|
|
25256120a19cba6b6f9ae0cda7b2c8c84d168a6457e82afee438d50d2c28b9598bfe690301c15156d866b77cd87652d9b7cc3d9b0637f69414aae09fec159c91 90-android-touch-dev.rules
|
|
|
|
"
|