2020-01-10 16:27:24 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
# Contributor: Oliver Smith <ollieparanoid@postmarketos.org>
|
2017-05-26 20:26:25 +00:00
|
|
|
pkgname=device-lg-mako
|
|
|
|
pkgver=2
|
2020-03-07 18:58:32 +00:00
|
|
|
pkgrel=27
|
2017-05-26 20:26:25 +00:00
|
|
|
pkgdesc="Google Nexus 4"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="armhf"
|
2017-05-31 17:10:29 +00:00
|
|
|
license="MIT"
|
2018-02-25 18:40:54 +00:00
|
|
|
depends="postmarketos-base linux-lg-mako mkbootimg mesa-dri-swrast"
|
2020-01-10 16:27:24 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2017-10-20 00:07:00 +00:00
|
|
|
subpackages="$pkgname-weston"
|
2019-11-19 18:47:08 +00:00
|
|
|
source="deviceinfo 90-android-touch-dev.rules profile.sh pointercal fb.modes weston.ini wcnss-wlan"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2017-05-26 20:26:25 +00:00
|
|
|
|
2020-01-10 16:27:24 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2017-05-26 20:26:25 +00:00
|
|
|
package() {
|
2020-01-10 16:27:24 +00:00
|
|
|
devicepkg_package $startdir $pkgname
|
2017-10-20 00:07:00 +00:00
|
|
|
install -Dm644 "$srcdir"/90-android-touch-dev.rules \
|
2017-05-26 20:26:25 +00:00
|
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
2017-10-20 00:07:00 +00:00
|
|
|
install -Dm644 "$srcdir"/profile.sh \
|
2017-05-26 20:26:25 +00:00
|
|
|
"$pkgdir"/etc/profile.d/00-$pkgname.sh
|
2017-10-20 00:07:00 +00:00
|
|
|
install -Dm644 "$srcdir"/pointercal \
|
2017-09-23 01:05:54 +00:00
|
|
|
"$pkgdir"/etc/pointercal
|
2017-10-20 00:07:00 +00:00
|
|
|
install -Dm644 "$srcdir"/fb.modes \
|
2017-09-23 01:05:54 +00:00
|
|
|
"$pkgdir"/etc/fb.modes
|
2019-11-19 18:47:08 +00:00
|
|
|
install -Dm644 "$srcdir"/wcnss-wlan \
|
|
|
|
"$pkgdir"/etc/conf.d/wcnss-wlan
|
|
|
|
|
2018-01-04 16:41:27 +00:00
|
|
|
|
|
|
|
# Disable v4l (video4linux), because without the camera firmware
|
|
|
|
# blobs this makes dev hang with the kernel this device uses (#1033)
|
|
|
|
ln -s /dev/null "$pkgdir"/etc/udev/rules.d/60-persistent-v4l.rules
|
2017-05-26 20:26:25 +00:00
|
|
|
}
|
|
|
|
|
2017-10-20 00:07:00 +00:00
|
|
|
weston() {
|
|
|
|
install_if="$pkgname weston"
|
|
|
|
install -Dm644 "$srcdir"/weston.ini \
|
|
|
|
"$subpkgdir"/etc/xdg/weston/weston.ini
|
|
|
|
}
|
|
|
|
|
2020-03-07 16:10:22 +00:00
|
|
|
sha512sums="1fefbf14ac1e328c2d1d1ca77e1fb1267365353fc7bbeafdaa3f4e2c63ee2a2d3adcd449d5a70259ac047b88b535f4fb699a20ce091d206921ca5851d9dc92d5 deviceinfo
|
2017-05-26 20:26:25 +00:00
|
|
|
ee25f3d0377f027d108593eb7953b8db49d7f05a5c36a0c8ca7e7849d15e3c217bc1ac97d77a66e28d2db4b81c0f50b905639911276da40321d2b6cca7f797df 90-android-touch-dev.rules
|
2017-09-11 15:29:22 +00:00
|
|
|
d04013c17caf77a87ebea167dbe48f7efa9c9d3123c5743d359f3ea8ccc6b268fa021535a4bf8291eb4a352f0c92f6eb527da0db340421f53bc1cc439a453306 profile.sh
|
2017-09-23 01:05:54 +00:00
|
|
|
52b1465c75c51e2dc2e351a0609220af04b939b9edf7fca844cc00bb9eeb4e71f53e34817ba094e477fc43bf15101fcfd07963c791a36be5c52f199bba6a6d9d pointercal
|
2017-10-20 00:07:00 +00:00
|
|
|
217bdf692ade75d57968299e29e9379ffcfc97addf735663b3e1e7dfce049f9d13b26347b4405ac724ae5fac2946012dcc58014b23b8df357e225b6718dbc0a6 fb.modes
|
2019-11-19 18:47:08 +00:00
|
|
|
86a0c08720225e4532f797ad69307dfff66867e4a35de1aacceefc48f19721caf93f9a17a268e58f1f5a7e947f157d6984676837c2b5b835b0caf6ee9821bb5a weston.ini
|
|
|
|
a8cfde9dd3bc96d990038443e8d10a551f13536f017992ae23545d2f1e09b0f729e5cfd1f94f52a2a335335172f082925b91c980695a27f76f636343de795898 wcnss-wlan"
|