2019-04-08 14:12:45 +00:00
|
|
|
# Reference: <https://postmarketos.org/devicepkg>
|
|
|
|
pkgname="device-pine-dontbeevil"
|
|
|
|
pkgdesc="PINE64 PinePhone Don't be evil devkit"
|
|
|
|
pkgver=0.1
|
2019-08-28 21:21:47 +00:00
|
|
|
pkgrel=10
|
2019-04-08 14:12:45 +00:00
|
|
|
url="https://postmarketos.org"
|
|
|
|
license="MIT"
|
|
|
|
arch="aarch64"
|
|
|
|
options="!check !archcheck"
|
2019-06-01 15:18:59 +00:00
|
|
|
subpackages="
|
|
|
|
$pkgname-weston
|
|
|
|
$pkgname-x11
|
|
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
|
|
$pkgname-kernel-shortts:kernel_shortts
|
|
|
|
$pkgname-kernel-longts:kernel_longts
|
|
|
|
"
|
2019-07-25 20:35:58 +00:00
|
|
|
depends="postmarketos-base u-boot-pine64 uboot-tools mesa-git mesa-git-glapi mesa-git-gl mesa-git-gles mesa-git-egl mesa-git-gbm mesa-git-dri-lima mesa-git-dri-kmsro"
|
2019-04-08 14:12:45 +00:00
|
|
|
makedepends="devicepkg-dev"
|
|
|
|
source="
|
|
|
|
deviceinfo
|
|
|
|
uboot-script.cmd
|
|
|
|
weston.ini
|
|
|
|
xorg.conf
|
2019-04-24 13:50:00 +00:00
|
|
|
start_weston.sh
|
2019-04-08 14:12:45 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
devicepkg_build $startdir $pkgname
|
|
|
|
mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n postmarketos -d "$srcdir/uboot-script.cmd" "$srcdir/boot.scr"
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
devicepkg_package $startdir $pkgname
|
|
|
|
install -D -m644 "$srcdir"/boot.scr \
|
|
|
|
"$pkgdir"/boot/boot.scr
|
|
|
|
}
|
|
|
|
|
|
|
|
x11() {
|
|
|
|
install_if="$pkgname xorg-server"
|
|
|
|
depends="
|
|
|
|
libinput
|
|
|
|
xf86-input-libinput
|
|
|
|
xf86-video-fbdev"
|
|
|
|
install -Dm644 "$srcdir"/xorg.conf \
|
|
|
|
"$subpkgdir"/etc/X11/xorg.conf.d/10-framebuffer.conf
|
|
|
|
}
|
|
|
|
|
|
|
|
weston() {
|
|
|
|
install_if="$pkgname weston"
|
|
|
|
install -Dm644 "$srcdir"/weston.ini \
|
|
|
|
"$subpkgdir"/etc/xdg/weston/weston.ini
|
2019-04-24 13:50:00 +00:00
|
|
|
install -Dm755 "$srcdir"/start_weston.sh \
|
|
|
|
"$subpkgdir"/etc/profile.d/000_start_weston.sh
|
2019-04-08 14:12:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nonfree_firmware() {
|
|
|
|
pkgdesc="Wifi and Bluetooth firmware"
|
|
|
|
depends="linux-firmware-rtlwifi linux-firmware-rtl_bt firmware-rtl8723bt"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2019-06-01 15:18:59 +00:00
|
|
|
kernel_shortts() {
|
|
|
|
pkgdesc="Short touch cable version"
|
|
|
|
depends="linux-postmarketos-allwinner"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_longts() {
|
|
|
|
pkgdesc="Long touch cable version"
|
|
|
|
depends="linux-postmarketos-allwinner"
|
|
|
|
install="$subpkgname.post-install"
|
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2019-05-14 15:08:35 +00:00
|
|
|
sha512sums="3e903f578a5112ec171e09e13e331345f0bd8fee935d6658a48cd2d369085c909106329fc103678961189486956aed97da9ff0b3be59f587f773f57d51f2d1bd deviceinfo
|
2019-08-28 21:21:47 +00:00
|
|
|
cf190dbdc74e92cc150984e5e6419ef2ac45377eac882bf857e000ef8ab534955bb904c5dd3b423f7d50cedd90824e353df08e77336099dcf557e852940e0470 uboot-script.cmd
|
2019-04-08 14:12:45 +00:00
|
|
|
c4c57d1627dd451213e1ef20d89de9266cd4edcc2d33a69aa9a1f13e16d9f9742036b69dc149fd910d7213f7525c41eb79576d4457bc85cc96eba0d986382d27 weston.ini
|
2019-04-24 13:50:00 +00:00
|
|
|
f86ef35730b89bcc8160c08db7a7fcd0970adf60c0b77af68bac397de49c0d1783e6b8db1762380c9bf874aff2d030c6f44ecb75c803d69e79ede11376409369 xorg.conf
|
2019-05-14 15:08:35 +00:00
|
|
|
aa11864b9960e94e13b1467e09d8eb528e3d3652bf1fb251c7a040f4d44270403072db8aa906405d4c81fa9d6043fafa8d9ccd1f97031fd96d0dcacc38da8f84 start_weston.sh"
|