fe54a7be49
Now as boot-deploy allows us to generate both boot.img and extlinux.conf at the same time, enable generating the config for all msm8916 since it will be used in the future lk2nd release. boot.img is still kept to keep compatibility with current lk2nd releases and to allow system recovery with fastboot when required. [ci:skip-build] already built successfully in CI [ci:ignore-count]
53 lines
1.6 KiB
Text
53 lines
1.6 KiB
Text
# Reference: <https://postmarketos.org/devicepkg>
|
|
# Maintainer: Nikita Travkin <nikita@trvn.ru>
|
|
pkgname=device-samsung-gt58
|
|
pkgdesc="Samsung Galaxy Tab A 8.0 (2015)"
|
|
pkgver=6
|
|
pkgrel=0
|
|
url="https://postmarketos.org"
|
|
license="MIT"
|
|
arch="aarch64"
|
|
options="!check !archcheck"
|
|
depends="postmarketos-base mkbootimg linux-postmarketos-qcom-msm8916
|
|
soc-qcom-msm8916 soc-qcom-msm8916-rproc"
|
|
makedepends="devicepkg-dev dtbtool"
|
|
source="
|
|
deviceinfo
|
|
modules-initfs
|
|
phoc.ini
|
|
"
|
|
subpackages="
|
|
$pkgname-nonfree-firmware:nonfree_firmware
|
|
$pkgname-phosh
|
|
"
|
|
_pmb_select="soc-qcom-msm8916-rproc"
|
|
|
|
# Backwards compatibility for old kernel variant subpackages
|
|
replaces="$pkgname-kernel-mainline $pkgname-kernel-mainline-modem-lte"
|
|
for pkg in $replaces; do provides="$provides $pkg=$pkgver-r$pkgrel"; done
|
|
|
|
build() {
|
|
devicepkg_build $startdir $pkgname
|
|
}
|
|
|
|
package() {
|
|
devicepkg_package $startdir $pkgname
|
|
}
|
|
|
|
nonfree_firmware() {
|
|
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
|
|
depends="firmware-qcom-adreno-a300 msm-firmware-loader firmware-samsung-gt58-wcnss-nv"
|
|
mkdir "$subpkgdir"
|
|
}
|
|
|
|
phosh() {
|
|
install_if="$pkgname postmarketos-ui-phosh"
|
|
install -Dm644 "$srcdir"/phoc.ini \
|
|
"$subpkgdir"/etc/phosh/phoc.ini
|
|
}
|
|
|
|
sha512sums="
|
|
eef08e96e77c1620f50a0296e709e9898a3313da2539632c3434c261d3790ab008b59bcb934a7d669ff9d50280692dc4adf9f6d81c88dc3faf3ef0710e4555d2 deviceinfo
|
|
8071b89c832619c74d3bb50d638653aeaab99fee209cde425a7e8425d46d424bad9e8ab76d2d7360bd4c7ff093a712d51c3ca1b6086e1f70812224bbb115b04f modules-initfs
|
|
ed612b090c1ee512fc257368082fe0c88ca6c98a9d673ece68593739c7a41b4f9dca5d9360de6f84d206f297feba480a9f1982301132e08a14a5ff920a2675a6 phoc.ini
|
|
"
|