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
|
2020-05-17 13:33:49 +00:00
|
|
|
pkgrel=19
|
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"
|
|
|
|
}
|
|
|
|
|
2020-05-17 13:33:49 +00:00
|
|
|
sha512sums="050f3c64d351b0b3c53de193ffffde0feb66fe06fe710706f11fbf7ad4123f4e3c3370c2ebb663551001b09b609b67e827d4bb6e5e328db13125e85ea3d188bf deviceinfo
|
2019-04-11 08:05:15 +00:00
|
|
|
25256120a19cba6b6f9ae0cda7b2c8c84d168a6457e82afee438d50d2c28b9598bfe690301c15156d866b77cd87652d9b7cc3d9b0637f69414aae09fec159c91 90-android-touch-dev.rules"
|