pmaports/device/testing/device-pine64-dontbeevil/APKBUILD
Stefan Hansson 7f47a0c6ea
device-pine64-dontbeevil: remove Weston configuration (MR 4713)
The fbdev backend was removed with Weston 10 which has been out for a
good while now. This device should be able to use the DRM backend
anyway given that it uses the A64 SoC which also e.g. the PinePhone
uses.

Additionally, the comment about Xwayland being broken contradicts the
actual configuration file where Xwayland actually is being enabled
(xwayland=true), so this shouldn't be causing any regressions even if it
actually is broken.
2024-01-12 13:07:23 +01:00

81 lines
2.4 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-pine64-dontbeevil
pkgver=0.5
pkgrel=0
pkgdesc="PINE64 PinePhone Don't be evil devkit"
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
subpackages="
$pkgname-kernel-longts:kernel_longts
$pkgname-kernel-shortts:kernel_shortts
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-sensorfw
$pkgname-x11
"
depends="postmarketos-base u-boot-sunxi u-boot-tools ofono"
makedepends="devicepkg-dev"
install="$pkgname.post-install"
source="
deviceinfo
modules-initfs
sensorfw/90-dontbeevil.conf
uboot-script.cmd
xorg.conf
"
build() {
devicepkg_build $startdir $pkgname
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n postmarketos -d "$srcdir"/uboot-script.cmd "$srcdir"/boot.scr
}
package() {
devicepkg_package $startdir $pkgname
install -D -m644 "$srcdir"/boot.scr \
"$pkgdir"/boot/boot.scr
}
x11() {
install_if="$pkgname xorg-server"
depends="
libinput
xf86-input-libinput
xf86-video-fbdev"
install -Dm644 "$srcdir"/xorg.conf \
"$subpkgdir"/etc/X11/xorg.conf.d/10-framebuffer.conf
}
nonfree_firmware() {
pkgdesc="Wifi and Bluetooth firmware"
depends="linux-firmware-rtlwifi linux-firmware-rtl_bt firmware-pine64-rtl8723bt"
mkdir "$subpkgdir"
}
kernel_shortts() {
pkgdesc="Short touch cable version"
depends="linux-postmarketos-allwinner"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
kernel_longts() {
pkgdesc="Long touch cable version"
depends="linux-postmarketos-allwinner"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
}
sensorfw() {
install_if="$pkgname=$pkgver-r$pkgrel sensorfw"
install -Dm644 -t "$subpkgdir"/etc/sensorfw/sensord.conf.d \
"$srcdir"/90-dontbeevil.conf
}
sha512sums="
dc24f907b420481fc63c277bb3ddc1bde07c01b5bdb1cd13648357299e2279e6a42310ffbaec2c3d59cd9005c5451a124ed3a6e0f87d24e967e5465ba0fb6a4a deviceinfo
c240c7ff7bd0ec0561eacc1927e678b3955086c951548633e1ee5284283e005f0c7fb4c4472f40529cba552cce076294fdfae97f35a338592b3a6961da4a7a3f modules-initfs
967e3a43c7e91ed37fc932a7c580cd168ca11d8ec7f60ff60ece7f286e5144f27faead95162fa7d571a2317ed0da970fd86f5bc9ed0235a25c0be9182d42d64d 90-dontbeevil.conf
7d46b92a9a831ead6c1919b95ec4930242b35c2d8e2ce05fcb70dcd8c77c61d840d78738c5d82f6f4d56a1e676237243a795a728e76f38c27a74ed6dcb44279a uboot-script.cmd
f86ef35730b89bcc8160c08db7a7fcd0970adf60c0b77af68bac397de49c0d1783e6b8db1762380c9bf874aff2d030c6f44ecb75c803d69e79ede11376409369 xorg.conf
"