2019-05-05 13:10:12 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=device-chuwi-hi10plus
|
2019-05-05 13:10:12 +00:00
|
|
|
pkgdesc="CHUWI Hi10 Plus"
|
2019-06-05 07:56:14 +00:00
|
|
|
pkgver=0.2
|
2021-07-07 05:06:17 +00:00
|
|
|
pkgrel=7
|
2019-05-05 13:10:12 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="x86_64"
|
|
|
|
options="!check !archcheck"
|
2019-10-05 12:27:11 +00:00
|
|
|
depends="postmarketos-base linux-chuwi-hi10plus mkbootimg mesa-dri-intel libva-intel-driver wireless-regdb pulseaudio pulseaudio-alsa alsa-plugins-pulse"
|
2019-05-05 13:10:12 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
subpackages="
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-x11
|
|
|
|
$pkgname-weston
|
|
|
|
"
|
|
|
|
source="deviceinfo
|
|
|
|
initfs-hook.sh
|
|
|
|
weston.ini"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
}
|
|
|
|
|
|
|
|
x11() {
|
|
|
|
install_if="$pkgname xorg-server"
|
|
|
|
depends="xf86-video-intel gstreamer-vaapi"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
weston() {
|
|
|
|
install_if="$pkgname weston"
|
|
|
|
install -Dm644 "$srcdir"/weston.ini \
|
|
|
|
"$subpkgdir"/etc/xdg/weston/weston.ini
|
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Touch, Wi-Fi, Bluetooth, Sound Firmware"
|
|
|
|
depends="firmware-chuwi-hi10plus linux-firmware-intel linux-firmware-rtlwifi linux-firmware-rtl_bt"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2021-07-07 05:06:17 +00:00
|
|
|
sha512sums="
|
2021-09-18 17:06:03 +00:00
|
|
|
151b60e4e5192aa5f747c550d7114fe9b0e49d7f9c2b151e36e18be73e3c5ed8ca52f642c955b0f8e43e5c3a98914f97c3bea9885d95266536ddbf370384b016 deviceinfo
|
2019-05-05 13:10:12 +00:00
|
|
|
8191c479588ccd0c44d23a06cee975635ad9353a7469489c3436ca22051410ff5153dccfb38284dd3976fd6bb8ea6979d32224b652ce68b51f4448c2aa8fc9dd initfs-hook.sh
|
2021-07-07 05:06:17 +00:00
|
|
|
15497cf556750d2b91ef81dab7c4071dc5d1d62bab6f98db0b240e74d8b26ebcda5af2f80fe998518c3b53e72e0daa762d063c87dff46d73d70a8d879cb9aaa8 weston.ini
|
|
|
|
"
|