2017-05-30 15:40:44 +00:00
|
|
|
pkgname=device-lg-hammerhead
|
2018-05-12 13:12:40 +00:00
|
|
|
pkgver=2
|
2018-12-25 19:25:32 +00:00
|
|
|
pkgrel=2
|
2017-05-30 15:40:44 +00:00
|
|
|
pkgdesc="Google Nexus 5"
|
2018-06-30 07:00:48 +00:00
|
|
|
url="https://postmarketos.org"
|
2018-11-07 06:45:58 +00:00
|
|
|
arch="armhf"
|
2017-06-03 22:31:48 +00:00
|
|
|
license="MIT"
|
2018-05-13 12:58:11 +00:00
|
|
|
depends="postmarketos-base linux-postmarketos-qcom mkbootimg mesa-dri-freedreno ofono"
|
2017-05-30 15:40:44 +00:00
|
|
|
makedepends=""
|
2018-05-13 12:58:11 +00:00
|
|
|
install="$pkgname.post-install"
|
2018-02-26 22:11:44 +00:00
|
|
|
subpackages="$pkgname-weston $pkgname-x11 $pkgname-nonfree-firmware:nonfree_firmware"
|
2017-06-28 22:16:22 +00:00
|
|
|
source="
|
|
|
|
deviceinfo
|
2017-10-20 00:07:00 +00:00
|
|
|
weston.ini
|
2017-12-05 20:00:59 +00:00
|
|
|
xorg.conf
|
2018-04-20 15:21:22 +00:00
|
|
|
modules-load.conf
|
|
|
|
brcmfmac4339-sdio.txt
|
2017-06-28 22:16:22 +00:00
|
|
|
"
|
2018-11-07 06:45:58 +00:00
|
|
|
options="!check !archcheck"
|
2017-05-30 15:40:44 +00:00
|
|
|
|
|
|
|
package() {
|
2017-10-20 00:07:00 +00:00
|
|
|
install -Dm644 "$srcdir"/deviceinfo \
|
2017-05-30 15:40:44 +00:00
|
|
|
"$pkgdir"/etc/deviceinfo
|
2018-04-20 15:21:22 +00:00
|
|
|
install -D -m644 "$srcdir"/modules-load.conf \
|
|
|
|
"$pkgdir"/etc/modules-load.d/00-${pkgname}.conf
|
|
|
|
install -D -m644 "$srcdir"/brcmfmac4339-sdio.txt \
|
|
|
|
"$pkgdir"/lib/firmware/brcm/brcmfmac4339-sdio.txt
|
2017-05-30 15:40:44 +00:00
|
|
|
}
|
|
|
|
|
2017-12-05 20:00:59 +00:00
|
|
|
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-hammerhead.conf
|
|
|
|
}
|
|
|
|
|
2017-10-20 00:07:00 +00:00
|
|
|
weston() {
|
|
|
|
install_if="$pkgname weston"
|
|
|
|
install -Dm644 "$srcdir"/weston.ini \
|
|
|
|
"$subpkgdir"/etc/xdg/weston/weston.ini
|
|
|
|
}
|
|
|
|
|
2018-02-26 22:11:44 +00:00
|
|
|
nonfree_firmware() {
|
2018-05-12 13:12:40 +00:00
|
|
|
pkgdesc="Wifi, GPU, Modem and ADSP firmware"
|
|
|
|
depends="linux-firmware-qcom linux-firmware-brcm firmware-adreno firmware-lg-hammerhead-adsp firmware-lg-hammerhead-modem modem-qcom-msm-mainline-common"
|
2018-02-26 22:11:44 +00:00
|
|
|
mkdir "$subpkgdir"
|
|
|
|
}
|
|
|
|
|
2018-12-25 19:25:32 +00:00
|
|
|
sha512sums="6001408c4a95eecbef6f8e2fa20592c55be2994885d954349edfe474b467c6f67fbfbab30fbf5d2d69db99e8dd4f0c20edafd6b50aaa0bcd82c6a028a2071cfa deviceinfo
|
2018-05-05 14:27:13 +00:00
|
|
|
4c22070223f39c419260a6817e5cc2b7881c095deeba031363a5634842dd175dd67eecace980849f0553de79110ef4e43a66143d71433805cd916c37fe7248e9 weston.ini
|
2018-04-20 15:21:22 +00:00
|
|
|
f86ef35730b89bcc8160c08db7a7fcd0970adf60c0b77af68bac397de49c0d1783e6b8db1762380c9bf874aff2d030c6f44ecb75c803d69e79ede11376409369 xorg.conf
|
|
|
|
d8ce60ea7acaabf627ddca2f0887a4cda46f313b7aaf7934bef2fef8a6e0798ccefab849e4571e4e3fcd06ae34c1a6efe3b58b401e2e443416f6200e6d4ea769 modules-load.conf
|
|
|
|
59baf815a45c632f3413dc8d9f48978f91d8f8ee165003689dcd54cc3b3d1af65bfc0c88f76579f840b83b303a28a1de2c2994a651d62cc6f6d8988c8716e345 brcmfmac4339-sdio.txt"
|