2020-01-10 10:32:52 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2017-09-18 23:15:04 +00:00
|
|
|
pkgname=device-lg-dory
|
|
|
|
pkgver=1
|
2024-01-21 22:56:08 +00:00
|
|
|
pkgrel=21
|
2017-09-18 23:15:04 +00:00
|
|
|
pkgdesc="LG G Watch"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="armhf"
|
2017-09-18 23:15:04 +00:00
|
|
|
license="MIT"
|
2021-05-29 12:03:17 +00:00
|
|
|
depends="
|
|
|
|
linux-lg-dory
|
|
|
|
mkbootimg
|
|
|
|
msm-fb-refresher
|
|
|
|
postmarketos-base
|
|
|
|
"
|
2020-01-10 10:32:52 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2021-05-29 12:03:17 +00:00
|
|
|
subpackages="$pkgname-asteroid"
|
|
|
|
source="
|
|
|
|
90-touchscreen-dev.rules
|
|
|
|
deviceinfo
|
|
|
|
machine.conf
|
|
|
|
"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2017-09-18 23:15:04 +00:00
|
|
|
|
2020-01-10 10:32:52 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2017-09-18 23:15:04 +00:00
|
|
|
package() {
|
2020-01-10 10:32:52 +00:00
|
|
|
devicepkg_package $startdir $pkgname
|
2021-05-29 12:03:17 +00:00
|
|
|
install -Dm644 -t "$pkgdir"/etc/udev/rules.d \
|
|
|
|
"$srcdir"/90-touchscreen-dev.rules
|
2017-09-18 23:15:04 +00:00
|
|
|
}
|
|
|
|
|
2021-05-29 12:03:17 +00:00
|
|
|
asteroid() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel asteroid-launcher"
|
|
|
|
install -Dm644 -t "$subpkgdir"/etc/asteroid \
|
|
|
|
"$srcdir"/machine.conf
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
f52a0bfab7e0067c0837662b5297e6c6d3433a1fc1cbdfaf3000227452d88980b99ac196541fda3bd57fd789580cb4ef96299b24e1bdb277f21f42418fcf17fa 90-touchscreen-dev.rules
|
2021-09-18 17:06:03 +00:00
|
|
|
85faee42f05868d4912294ae1a790793f58e1e80fc8e394b281a5c684b750fc41538e97d91410fccfd3b9e60fee9a9cfb129e651444677805aa657343997992a deviceinfo
|
2021-05-29 12:03:17 +00:00
|
|
|
7ee094469dbced67c42ef3f3cb659af5004dc5140c9d9475ac602480936e2ad43a6e56f5957c5745252f045942daa4667c43246f5be8018ae189dc4586d21e1c machine.conf
|
|
|
|
"
|