From 93f6b3dab94c99ca1b92f4cc383a078f38172808 Mon Sep 17 00:00:00 2001 From: timbz Date: Sun, 27 Sep 2020 11:16:53 +0200 Subject: [PATCH] samsung-i9100: enable drm backend for weston (MR 1598) --- device/testing/device-samsung-i9100/APKBUILD | 11 ++++++++++- device/testing/device-samsung-i9100/weston.ini | 5 +++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 device/testing/device-samsung-i9100/weston.ini diff --git a/device/testing/device-samsung-i9100/APKBUILD b/device/testing/device-samsung-i9100/APKBUILD index 86d131883..454354ff5 100644 --- a/device/testing/device-samsung-i9100/APKBUILD +++ b/device/testing/device-samsung-i9100/APKBUILD @@ -14,10 +14,12 @@ subpackages=" $pkgname-kernel-downstream:kernel_downstream $pkgname-kernel-mainline:kernel_mainline $pkgname-nonfree-firmware:nonfree_firmware + $pkgname-weston:weston " source=" deviceinfo 90-android-touch-dev.rules + weston.ini " build() { @@ -48,5 +50,12 @@ nonfree_firmware() { mkdir "$subpkgdir" } +weston() { + install_if="$pkgname-kernel-mainline weston" + install -Dm644 "$srcdir"/weston.ini \ + "$subpkgdir"/etc/xdg/weston/weston.ini +} + sha512sums="2ae133ce0126b38ee05e62f3cf560d1b336816928c2fd896686bd8b64fcab1920a1b0270df1a844dc7b977948308a02110f88b82225ee0f0cbcab17b9fa10a3d deviceinfo -089635daddd88eec35451bfe98dc3713035e3623c896dd21305b990ecf422e8fbb54e010cf347919bbb3a7385f639ab119280477fe0783df3228168d97d96fc6 90-android-touch-dev.rules" +089635daddd88eec35451bfe98dc3713035e3623c896dd21305b990ecf422e8fbb54e010cf347919bbb3a7385f639ab119280477fe0783df3228168d97d96fc6 90-android-touch-dev.rules +de794566118f1744d068a94e6a75b61d43f6749a4b0871a5270fa7a2048164d609c71fcffa61845c2a7dd4cb5fbeb72c0e4f8b73b382f36d6ff0bcc9b8a5ae25 weston.ini" diff --git a/device/testing/device-samsung-i9100/weston.ini b/device/testing/device-samsung-i9100/weston.ini new file mode 100644 index 000000000..72039ae30 --- /dev/null +++ b/device/testing/device-samsung-i9100/weston.ini @@ -0,0 +1,5 @@ +[core] +xwayland=true +backend=drm-backend.so +[shell] +background-image=/usr/share/wallpapers/postmarketos.jpg