diff --git a/device/device-semc-smultron/APKBUILD b/device/device-semc-smultron/APKBUILD index a86a0fd78..1cc28f203 100644 --- a/device/device-semc-smultron/APKBUILD +++ b/device/device-semc-smultron/APKBUILD @@ -2,21 +2,27 @@ pkgname="device-semc-smultron" pkgdesc="Xperia mini" pkgver=0.1 -pkgrel=0 +pkgrel=1 url="https://postmarketos.org" license="MIT" arch="noarch" options="!check" depends="postmarketos-base linux-semc-smultron mkbootimg mesa-dri-swrast msm-fb-refresher" makedepends="devicepkg-dev" -source="deviceinfo" +source="deviceinfo fb.modes directfbrc" build() { devicepkg_build $startdir $pkgname } package() { + install -Dm644 "$srcdir"/fb.modes \ + "$pkgdir"/etc/fb.modes + install -Dm644 "$srcdir"/directfbrc \ + "$pkgdir"/etc/directfbrc devicepkg_package $startdir $pkgname } -sha512sums="a65054f9ba26f2455daf36d9bc499185c867bb32cabc0d64ce30ff93f37a0539ceb997369292a2774a8f934cd43ffad1c8ac3ef38770584381b922852838ce2f deviceinfo" +sha512sums="a65054f9ba26f2455daf36d9bc499185c867bb32cabc0d64ce30ff93f37a0539ceb997369292a2774a8f934cd43ffad1c8ac3ef38770584381b922852838ce2f deviceinfo +246889c74e09d2aeeaea62313f101727f07f9972fb15252cbf1d2e3c07aa850a85a25cc291407d8e560edb49e8bfbdb04eb09c412ed4c366f0b4bbcfbdcbcbb9 fb.modes +80c247fa375fe88b354d299fc3802e9717d3a0c93d6c768ee2a39f4bea8deb573bcdf64a4d22bc6e1c2eef0acf26ac36f41a5cc73dd748908d26de11bb26cf6f directfbrc" diff --git a/device/device-semc-smultron/directfbrc b/device/device-semc-smultron/directfbrc new file mode 100644 index 000000000..dc4bd20e5 --- /dev/null +++ b/device/device-semc-smultron/directfbrc @@ -0,0 +1 @@ +pixelformat=ARGB \ No newline at end of file diff --git a/device/device-semc-smultron/fb.modes b/device/device-semc-smultron/fb.modes new file mode 100644 index 000000000..e6d58218b --- /dev/null +++ b/device/device-semc-smultron/fb.modes @@ -0,0 +1,7 @@ +mode "320x480-0" + # D: 0.005 MHz, H: 0.016 kHz, V: 0.034 Hz + geometry 320 480 320 480 16 + timings 190000000 0 0 0 0 0 0 + accel false + rgba 8/24,8/16,8/8,8/0 +endmode