3bdeaf0793
This PR automatically creates the weston.ini in the postmarketos-base post-install script based on options set in the deviceinfo file for a particular device. This replaces #191. If weston.ini exists, then no modifications are made. (Optional) options supported in this PR for deviceinfo are: deviceinfo_weston_core_modules - defaults to NONE if none specified deviceinfo_weston_core_backend - defaults to 'fbdev-backend.so' if none specified deviceinfo_weston_keymap_rules - keymap rule, found under /usr/share/X11/xkb/rules/ deviceinfo_weston_keymap_model - keymap model
33 lines
1.3 KiB
Text
33 lines
1.3 KiB
Text
pkgname=device-motorola-titan
|
|
pkgver=1
|
|
pkgrel=8
|
|
pkgdesc="Motorola Moto G 2014"
|
|
url="https://github.com/postmarketOS"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="linux-motorola-titan mkbootimg"
|
|
makedepends=""
|
|
install=""
|
|
subpackages=""
|
|
source="deviceinfo 90-android-touch-dev.rules initfs-hook.sh profile.sh"
|
|
options="!check"
|
|
|
|
build() {
|
|
return 0
|
|
}
|
|
|
|
package() {
|
|
install -D -m644 "$srcdir/deviceinfo" \
|
|
"$pkgdir/etc/deviceinfo"
|
|
install -D -m644 "$srcdir"/90-android-touch-dev.rules \
|
|
"$pkgdir"/etc/udev/rules.d/90-android-touch-dev.rules
|
|
install -D -m644 "$srcdir"/initfs-hook.sh \
|
|
"$pkgdir"/etc/postmarketos-mkinitfs/hooks/00-${pkgname}.sh
|
|
install -D -m644 "$srcdir"/profile.sh \
|
|
"$pkgdir"/etc/profile.d/00-$pkgname.sh
|
|
}
|
|
|
|
sha512sums="308a1aeca905a338bc20d46977a9cb9ab512dbb2fa5394bcdad598cfd6d9f02d6701a60c45ac61ef197635478893f40342ba153fb24fd7e4120a1d301eb98af7 deviceinfo
|
|
f37e6324abf0b0fc8a3d360d6d11bb0648090a438a55ca7f04a9d494719e687ce445ae107ace642edf293afb6ca82615bcb5d0ddb6c46c1a7f8ee3c213b7c5c4 90-android-touch-dev.rules
|
|
8590967fa10388a890fdfafdb1070b9ab22dc89e06a3a8834806c772191e3b67de7b914b0d68e5ddf581cee715cb90f3f24abcb8762c415ff328c6da23e55d52 initfs-hook.sh
|
|
2f7cdf558a6bff56fd343d29a1ca6c27e75715bedfad661700dfcfb01acd1bdfcfecdfccf619f1e56c1e6331be146f8882a14d3a2cd33830e9d00bb6118971a3 profile.sh"
|