pmaports/device/testing/device-samsung-a7/APKBUILD
Nikita Travkin fe54a7be49
device/msm8916*: Generate extlinux.conf (MR 4826)
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]
2024-02-15 11:34:55 -08:00

53 lines
1.3 KiB
Text

# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-samsung-a7
pkgdesc="Samsung Galaxy A7 (2015)"
pkgver=6
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-postmarketos-qcom-msm8916
mkbootimg
postmarketos-base
soc-qcom-msm8939
soc-qcom-msm8916-rproc
"
makedepends="devicepkg-dev"
source="
deviceinfo
modules-initfs
phoc.ini
"
subpackages="
$pkgname-nonfree-firmware:nonfree_firmware
$pkgname-phosh
"
_pmb_select="soc-qcom-msm8916-rproc"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
nonfree_firmware() {
pkgdesc="GPU/WiFi/BT/Modem/Video firmware"
depends="firmware-qcom-adreno-a420 msm-firmware-loader firmware-samsung-a7-wcnss-nv"
mkdir "$subpkgdir"
}
phosh() {
install_if="$pkgname postmarketos-ui-phosh"
install -Dm644 "$srcdir"/phoc.ini \
"$subpkgdir"/etc/phosh/phoc.ini
}
sha512sums="
11c59729570f97b4933fb8710727de67b080b41d9976591afa454902a3e3a4c271e0765356dc3cccc52c7ad9ead472ce95d4d138a821e7e63746f451929449c0 deviceinfo
0bccefc8adb58a3e2d2553da486ed8adb0cfdbc9771ee91a76465b66581d4d024ac86e377b3cb5086e9f37590889541cdf6ac5037199353e399e08aeccb2698c modules-initfs
25d2518d66e612df1f218e00544a282fa730dfe801bb0f8a7c928eb1a54aa9e5a167bd76fb00358c87dd8fd86564303c956c8a7460ab27e7eb96e44e80beb919 phoc.ini
"