Skip to content

Commit 34a935b

Browse files
oklopferook37
andauthored
add: fp5-deviceinfo (#9407)
Co-authored-by: ook37 <oren+12345@taumoda.com>
1 parent f71212a commit 34a935b

4 files changed

Lines changed: 71 additions & 0 deletions

File tree

packagelist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ foliate-deb
197197
font-downloader
198198
forticlient-deb
199199
fp5-alsa-git
200+
fp5-deviceinfo
200201
fp5-firmware-git
201202
fpc-laz-deb
202203
fpc-src-deb

packages/fp5-deviceinfo/.SRCINFO

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
pkgbase = fp5-deviceinfo
2+
pkgver = 0.0.1
3+
pkgdesc = DeviceInfo data for Fairphone 5
4+
arch = any
5+
depends = deviceinfo-tools
6+
depends = libdeviceinfo0
7+
maintainer = Oren Klopfer <oren@taumoda.com>
8+
source = https://raw.githubusercontent.com/oklopfer/debs/refs/heads/master/empty
9+
10+
pkgname = fp5-deviceinfo
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
pkgname="fp5-deviceinfo"
2+
arch=("any")
3+
pkgver="0.0.1"
4+
source=("https://raw.githubusercontent.com/oklopfer/debs/refs/heads/master/empty")
5+
pkgdesc="DeviceInfo data for Fairphone 5"
6+
maintainer=("Oren Klopfer <oren@taumoda.com>")
7+
depends=("deviceinfo-tools" "libdeviceinfo0")
8+
9+
package() {
10+
mkdir -p "${pkgdir}/etc/deviceinfo/devices"
11+
echo 'FP5:
12+
Names:
13+
- fp5
14+
- FP5
15+
- Fairphone 5
16+
PrettyName: Fairphone 5
17+
DeviceType: phone
18+
GridUnit: 14
19+
SupportedOrientations:
20+
- Portrait
21+
- Landscape
22+
- InvertedPortrait
23+
- InvertedLandscape
24+
MirAndroidPlatformServerBackpressure:
25+
- false
26+
MirAndroidPlatformServerPartialUpdates:
27+
- true
28+
MirAndroidPlatformServerEglSync:
29+
- false
30+
MirAndroidPlatformClientEglFlush:
31+
- "!/usr/bin/unity8,!/usr/bin/lomiri,all"
32+
33+
FlashlightSysfsPath: "/sys/class/leds/led:torch_0/brightness"
34+
FlashlightSwitchPath: "/sys/class/leds/led:switch_0/brightness"
35+
DoubleTapToWake: "/sys/devices/platform/goodix_ts.0/gesture/double_en|1|0"
36+
OfonoPlugin: binder
37+
OfonoImplementsIms: true
38+
FilesystemEncryption: true
39+
RepowerdQtiPerfBooster: true
40+
CollapsedPanelHeight: 105
41+
DisplayCutoutsCollapsed:
42+
- 0 0 50 105
43+
- 566 0 91 105
44+
- 1174 0 50 105
45+
DisplayCutoutsExpanded:
46+
- 0 0 30 168
47+
- 565 0 91 168
48+
- 1194 0 30 168' | tee "${pkgdir}/etc/deviceinfo/devices/fairphone5.yaml" > /dev/null
49+
}

srclist

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4122,6 +4122,17 @@ pkgbase = fp5-alsa-git
41224122

41234123
pkgname = fp5-alsa-git
41244124
---
4125+
pkgbase = fp5-deviceinfo
4126+
pkgver = 0.0.1
4127+
pkgdesc = DeviceInfo data for Fairphone 5
4128+
arch = any
4129+
depends = deviceinfo-tools
4130+
depends = libdeviceinfo0
4131+
maintainer = Oren Klopfer <oren@taumoda.com>
4132+
source = https://raw.githubusercontent.com/oklopfer/debs/refs/heads/master/empty
4133+
4134+
pkgname = fp5-deviceinfo
4135+
---
41254136
pkgbase = fp5-firmware-git
41264137
gives = fp5-firmware
41274138
pkgver = 0.0.1

0 commit comments

Comments
 (0)