2023-03-05 14:42:46 +00:00
|
|
|
# Maintainer: Petr Hodina <phodina@protonmail.com>
|
|
|
|
pkgname=device-pine64-pinenote
|
|
|
|
pkgdesc="Pine64 PineNote"
|
2023-07-04 19:39:02 +00:00
|
|
|
pkgver=2
|
2023-08-02 17:06:01 +00:00
|
|
|
pkgrel=1
|
2023-03-05 14:42:46 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
|
|
|
depends="
|
2023-07-04 19:39:02 +00:00
|
|
|
u-boot-pine64-pinenote
|
2023-03-05 14:42:46 +00:00
|
|
|
linux-pine64-pinenote
|
|
|
|
postmarketos-base
|
|
|
|
"
|
|
|
|
makedepends="devicepkg-dev"
|
2023-08-02 17:06:01 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
modules-initfs
|
2023-03-05 14:42:46 +00:00
|
|
|
phoc.ini
|
2023-06-07 14:21:01 +00:00
|
|
|
local-overrides.quirks
|
|
|
|
50-touchscreen.conf
|
|
|
|
81-libinput-pinenote.rules
|
|
|
|
82-ebc-rockchip.rules
|
2023-03-05 14:42:46 +00:00
|
|
|
"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
2023-06-07 14:21:01 +00:00
|
|
|
$pkgname-gnome
|
2023-03-05 14:42:46 +00:00
|
|
|
$pkgname-phosh
|
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
2023-06-07 14:21:01 +00:00
|
|
|
|
|
|
|
install -Dm644 "$srcdir"/local-overrides.quirks \
|
|
|
|
-t "$pkgdir"/etc/libinput/
|
|
|
|
install -Dm644 "$srcdir"/50-touchscreen.conf \
|
|
|
|
-t "$pkgdir"/etc/X11/xorg.conf.d
|
|
|
|
install -Dm644 "$srcdir"/81-libinput-pinenote.rules \
|
|
|
|
-t "$pkgdir"/lib/udev/rules.d
|
|
|
|
install -Dm644 "$srcdir"/82-ebc-rockchip.rules \
|
|
|
|
"$pkgdir"/lib/udev/rules.d
|
2023-03-05 14:42:46 +00:00
|
|
|
}
|
|
|
|
|
2023-06-07 14:21:01 +00:00
|
|
|
gnome() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel gnome"
|
|
|
|
depends="gnome-shell gnome-shell-extension-pinenote"
|
|
|
|
mkdir -p "$subpkgdir"
|
2023-03-05 14:42:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
phosh() {
|
|
|
|
install_if="$pkgname=$pkgver-r$pkgrel phosh"
|
|
|
|
depends="postmarketos-theme"
|
|
|
|
|
|
|
|
install -Dm644 "$srcdir"/phoc.ini \
|
|
|
|
-t "$subpkgdir"/etc/phosh
|
|
|
|
}
|
|
|
|
|
2023-06-07 14:21:01 +00:00
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="WiFi, Bluetooth and display firmware"
|
2023-07-03 18:27:46 +00:00
|
|
|
depends="firmware-pine64-pinenote linux-firmware"
|
2023-06-07 14:21:01 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2023-03-05 14:42:46 +00:00
|
|
|
sha512sums="
|
2023-08-02 17:06:01 +00:00
|
|
|
202d46adb21d4d4f338fd018ce73c287723424da8dc5beb1768aa229f9887e3ed3489db6e712d69f64de8012aae8b599fdde88479073fb39d3b70de66bf58710 deviceinfo
|
|
|
|
473accb3497244742dd9fd15f8a02957a13e08fa4d4393fec185ecbb27f1f17726e4b5ece22da861151f9d358d3266206c647def8aa75adb672b6f1f1904c66f modules-initfs
|
2023-03-05 14:42:46 +00:00
|
|
|
4bf5158fbd53274a7429e825bb66225001f2403a4851e2d6803323b77d9095738ee3e5340ac85baf3e86bb4f47d38af8cbd78d8a5055c59a62f5b06e722e19cb phoc.ini
|
2023-06-07 14:21:01 +00:00
|
|
|
1123720962c9c8fec3c50302ca6a3dd56e2907dc9eea361a7b8eb4201b042476633d41a0ee4f6ab61d9c60eeccc894f83491ba9fa309a9bce2f1db0b0341d79d local-overrides.quirks
|
|
|
|
ac433eebbc35a48561837495997aee4e55510b979bc0d8e3bafb761bc1be5b4bdeed2f456369dcbc582688aefd07c63966b0d72b6ffa99e84cfd868e677f02c8 50-touchscreen.conf
|
|
|
|
2bc51f200baefc37abfaaad368a911244999e906bdca4b728ac233f49a8fb3ae7206ee3c95cdb20d7dceae2a31d25a57f4e1da4fd67057fd64724b8232e42aed 81-libinput-pinenote.rules
|
|
|
|
7c418cebf336df96cd484d7f0243cf27e859b11a7f2e7fb54dd2b4afedc4f570588bee08a5de8075db7c7d6d56b7971d19dc09909ebe68247505a3e37427e312 82-ebc-rockchip.rules
|
2023-03-05 14:42:46 +00:00
|
|
|
"
|