2020-01-10 13:29:37 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2018-05-01 18:16:51 +00:00
|
|
|
pkgname=device-sony-sirius
|
2023-03-09 17:12:21 +00:00
|
|
|
pkgver=2
|
2023-09-19 16:16:35 +00:00
|
|
|
pkgrel=2
|
2018-05-01 18:16:51 +00:00
|
|
|
pkgdesc="Sony Xperia Z2 device package"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2019-06-30 13:31:14 +00:00
|
|
|
arch="armv7"
|
2018-05-01 18:16:51 +00:00
|
|
|
license="MIT"
|
2021-09-14 09:00:32 +00:00
|
|
|
depends="
|
|
|
|
linux-postmarketos-qcom-msm8974
|
|
|
|
mkbootimg
|
|
|
|
postmarketos-base
|
|
|
|
"
|
2020-01-10 13:29:37 +00:00
|
|
|
makedepends="devicepkg-dev"
|
2018-05-01 18:16:51 +00:00
|
|
|
subpackages="$pkgname-weston $pkgname-x11 $pkgname-nonfree-firmware:nonfree_firmware"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
2023-08-02 17:06:01 +00:00
|
|
|
modules-initfs
|
2018-05-01 18:16:51 +00:00
|
|
|
weston.ini
|
|
|
|
99-touch.rules
|
|
|
|
modules-load.conf
|
|
|
|
brcmfmac4339-sdio.txt
|
|
|
|
"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2018-05-01 18:16:51 +00:00
|
|
|
|
2020-01-10 13:29:37 +00:00
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
2018-05-01 18:16:51 +00:00
|
|
|
package() {
|
2020-01-10 13:29:37 +00:00
|
|
|
devicepkg_package $startdir $pkgname
|
2018-05-01 18:16:51 +00:00
|
|
|
install -Dm644 "$srcdir"/99-touch.rules \
|
|
|
|
"$pkgdir"/etc/udev/rules.d/99-touch.rules
|
|
|
|
install -D -m644 "$srcdir"/brcmfmac4339-sdio.txt \
|
|
|
|
"$pkgdir"/lib/firmware/brcm/brcmfmac4339-sdio.txt
|
|
|
|
}
|
|
|
|
|
|
|
|
x11() {
|
|
|
|
install_if="$pkgname xorg-server"
|
|
|
|
depends="
|
|
|
|
libinput
|
|
|
|
xf86-input-libinput
|
2023-03-09 17:12:21 +00:00
|
|
|
"
|
2018-05-01 18:16:51 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
weston() {
|
|
|
|
install_if="$pkgname weston"
|
|
|
|
install -Dm644 "$srcdir"/weston.ini \
|
|
|
|
"$subpkgdir"/etc/xdg/weston/weston.ini
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi/GPU firmware"
|
2022-05-24 20:54:55 +00:00
|
|
|
depends="linux-firmware-brcm linux-firmware-cypress firmware-qcom-adreno-a330"
|
2018-05-01 18:16:51 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2023-08-02 17:06:01 +00:00
|
|
|
sha512sums="
|
|
|
|
3e856f1832ea0e2836545d3e6c1765134c9117d41e7b12ff5d43282aef6c295f02f812629f78c695483a5dd8c1287bf6bad0b4ee16c19e86ddcaa42e0f449acb deviceinfo
|
|
|
|
a6580d63105978aac1ee13098bdee1d98528dba671889199ba79264c40750807fecd3d526471fb77abd55fa0fec21c8fea1d0fd6d4fb5afd2b306bc98ef1a0d7 modules-initfs
|
2018-05-05 14:27:13 +00:00
|
|
|
de794566118f1744d068a94e6a75b61d43f6749a4b0871a5270fa7a2048164d609c71fcffa61845c2a7dd4cb5fbeb72c0e4f8b73b382f36d6ff0bcc9b8a5ae25 weston.ini
|
2018-05-01 18:16:51 +00:00
|
|
|
ec5e26e60a77e74befabf5cc3f85a2636ce07261e725c0a051999d321ddec056f307001ba659c91e403770ac99d38b3160fd46e235c467fefc03d0901452314d 99-touch.rules
|
|
|
|
35a5dbd90eef6c567822f1a805c6adf620bb9c6c9c2e1755407409c2fab044baa40dda9e526c45108b4a2bbf43e0ad67e3dd90c35f6a6c6e29ec5930f2d1c4a7 modules-load.conf
|
2021-09-18 17:06:03 +00:00
|
|
|
b99a1bc0d430a261b6ab0b5ea12f2e996ab24ece6fe40ff57357697f4db976394c655a7c7a63e7c985f6356126a6b1d920eb0077817cb65ae18250f404282a68 brcmfmac4339-sdio.txt
|
|
|
|
"
|