2021-02-01 02:53:03 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname=device-tablet-x86uefi
|
|
|
|
pkgdesc="Various tablets with atom CPU"
|
2022-05-05 14:50:55 +00:00
|
|
|
pkgver=3
|
2022-10-10 19:33:44 +00:00
|
|
|
pkgrel=3
|
2021-02-01 02:53:03 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="x86_64"
|
|
|
|
options="!check !archcheck"
|
2022-10-10 19:33:44 +00:00
|
|
|
depends="postmarketos-base linux-lts libva-intel-driver grub-x86 alsa-ucm-conf"
|
2021-02-01 02:53:03 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2022-04-03 09:04:48 +00:00
|
|
|
source="deviceinfo grub.cfg phoc.ini"
|
2021-02-01 02:53:03 +00:00
|
|
|
subpackages="$pkgname-phosh $pkgname-x11"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -D "$srcdir"/grub.cfg \
|
|
|
|
"$pkgdir"/boot/grub/grub.cfg
|
|
|
|
}
|
|
|
|
|
|
|
|
# most tablets don't need scaling, at least x2
|
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname postmarketos-ui-phosh"
|
2022-04-03 09:04:48 +00:00
|
|
|
install -Dm644 "$srcdir"/phoc.ini \
|
|
|
|
"$subpkgdir"/etc/phosh/phoc.ini
|
2021-02-01 02:53:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
x11() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel xorg-server"
|
|
|
|
depends="xf86-video-modesetting"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-07-07 05:06:17 +00:00
|
|
|
sha512sums="
|
2022-05-27 15:48:37 +00:00
|
|
|
c9c81c6b57211c260a7a834c880068e5dec2a70a4502d0b4df7962c45d2f6019e7082bccbcc1eb7cee23adb7f05bc38f638010802e41279107cc7740d80e3fbe deviceinfo
|
2021-09-15 01:52:05 +00:00
|
|
|
2d951d71102181db85a2468fd770ee3a7958c06b14e27e52e0d4ff0e9b88f3ab3c5c9b15c8a938d1cd2ae0c94ad2aad7001f1b6fe943f96a38602085f481a4cf grub.cfg
|
2022-05-05 14:50:55 +00:00
|
|
|
e8f734a2f8d154813dbb493f0d58af50a7f624ffed41967a81493b975a6211efc6d30743b23825562cfd126791cbdd3348bfbed32eeece9b8acec0a37c3c51b6 phoc.ini
|
2021-07-07 05:06:17 +00:00
|
|
|
"
|